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
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
|
, stdenv
|
||||||
, sphinx
|
, sphinx
|
||||||
, numpydoc
|
, numpydoc
|
||||||
, pytest
|
, pytest
|
||||||
@ -38,10 +39,10 @@ buildPythonPackage rec {
|
|||||||
checkInputs = [ sphinx numpydoc pytest ];
|
checkInputs = [ sphinx numpydoc pytest ];
|
||||||
propagatedBuildInputs = [ python-lz4 ];
|
propagatedBuildInputs = [ python-lz4 ];
|
||||||
|
|
||||||
# test_disk_used is broken
|
# test_disk_used is broken: https://github.com/joblib/joblib/issues/57
|
||||||
# https://github.com/joblib/joblib/issues/57
|
# test_dispatch_multiprocessing is broken only on Darwin.
|
||||||
checkPhase = ''
|
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 = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user