pythonPackages.joblib: fix the build on Darwin (#65288)
The test test_dispatch_multiprocessing is failing on Darwin; Disabling it fixes the build.
This commit is contained in:
parent
6d25177ca8
commit
4ec8edaa6a
@ -2,6 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, stdenv
|
||||
, sphinx
|
||||
, numpydoc
|
||||
, pytest
|
||||
@ -38,10 +39,10 @@ buildPythonPackage rec {
|
||||
checkInputs = [ sphinx numpydoc pytest ];
|
||||
propagatedBuildInputs = [ python-lz4 ];
|
||||
|
||||
# test_disk_used is broken
|
||||
# https://github.com/joblib/joblib/issues/57
|
||||
# test_disk_used is broken: https://github.com/joblib/joblib/issues/57
|
||||
# test_dispatch_multiprocessing is broken only on Darwin.
|
||||
checkPhase = ''
|
||||
py.test joblib -k "not test_disk_used"
|
||||
py.test -k 'not test_disk_used${lib.optionalString (stdenv.isDarwin) " and not test_dispatch_multiprocessing"}' joblib/test
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user