mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-04 19:48:34 +03:00
Merge pull request #124437 from risicle/ris-python-xgboost-darwin-fix
python3Packages.xgboost: fix tests for darwin
This commit is contained in:
commit
975c21b280
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user