python3Packages.xgboost: fix tests for darwin

launchpad/nixpkgs/master
Robert Scott 3 years ago
parent acb51e6ca3
commit 4ef1d33c7c
  1. 8
      pkgs/development/python-modules/xgboost/default.nix

@ -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…
Cancel
Save