Merge pull request #124437 from risicle/ris-python-xgboost-darwin-fix

python3Packages.xgboost: fix tests for darwin
This commit is contained in:
Sandro 2021-05-26 03:12:26 +02:00 committed by GitHub
commit 975c21b280
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
{ buildPythonPackage
{ lib
, buildPythonPackage
, pytestCheckHook
, cmake
, scipy
@ -56,6 +57,11 @@ buildPythonPackage {
disabledTests = [
"test_cli_binary_classification"
"test_model_compatibility"
] ++ lib.optionals stdenv.isDarwin [
# fails to connect to the com.apple.fonts daemon in sandboxed mode
"test_plotting"
"test_sklearn_plotting"
];
__darwinAllowLocalNetworking = true;
}