pythonPackages.joblib: 0.12.1 -> 0.12.2
In order to get all the tests passing the Github repository was downloaded instead of from pypi so that the `conftest.py` is available. In addition to updating the version: - compatible with 2.7, 3+ now - all tests are running and passing
This commit is contained in:
parent
3a56e314b8
commit
05890dda3d
@ -1,29 +1,36 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, sphinx
|
, sphinx
|
||||||
, numpydoc
|
, numpydoc
|
||||||
, pytest
|
, pytest
|
||||||
|
, python-lz4
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "joblib";
|
pname = "joblib";
|
||||||
version = "0.12.1";
|
version = "0.12.4";
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
# get full repository inorder to run tests
|
||||||
sha256 = "68e6128e4734196616a39e2d48830ec7d61551c7f5748849e4c91478d2444524";
|
src = fetchFromGitHub {
|
||||||
|
owner = "joblib";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "06zszgp7wpa4jr554wkk6kkigp4k9n5ad5h08i6w9qih963rlimb";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ sphinx numpydoc pytest ];
|
checkInputs = [ sphinx numpydoc pytest ];
|
||||||
|
propagatedBuildInputs = [ python-lz4 ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test -k 'not test_disk_used and not test_nested_parallel_warnings' joblib/test
|
py.test joblib
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Lightweight pipelining: using Python functions as pipeline jobs";
|
description = "Lightweight pipelining: using Python functions as pipeline jobs";
|
||||||
homepage = https://pythonhosted.org/joblib/;
|
homepage = https://pythonhosted.org/joblib/;
|
||||||
license = lib.licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
|
maintainers = with lib.maintainers; [ costrouc ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user