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:
Wael Nasreddine 2019-07-24 10:50:00 -07:00 committed by GitHub
parent 6d25177ca8
commit 4ec8edaa6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = {