python3Packages.xgboost: fix tests for darwin
(cherry picked from commit 4ef1d33c7c9c154c1ba60718e8805150380d9f36)
This commit is contained in:
parent
84ad09b57b
commit
8ac5876aac
|
@ -1,4 +1,5 @@
|
||||||
{ buildPythonPackage
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, cmake
|
, cmake
|
||||||
, scipy
|
, scipy
|
||||||
|
@ -56,6 +57,11 @@ buildPythonPackage {
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
"test_cli_binary_classification"
|
"test_cli_binary_classification"
|
||||||
"test_model_compatibility"
|
"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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue