git.iko.soy/typeable/nixpkgs
on master help sign in
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

commit05890dda3db11a77c13d4aa88084bc6a6680e772 authorChris Ostrouchov <chris.ostrouchov@gmail.com> dateWed 8 Aug 2018, 15:30 (8 years ago) parent3a56e31
1 file changed+13−6
pkgs/development/python-modules/joblib/default.nix+13−6
pkgs/development/python-modules/joblib/default.nix+13−6
@@ -1,29 +1,36 @@
11{ lib
22, buildPythonPackage
3−, fetchPypi
3+, fetchFromGitHub
44, sphinx
55, numpydoc
66, pytest
7+, python-lz4
78}:
89
910
1011buildPythonPackage rec {
1112 pname = "joblib";
12− version = "0.12.1";
13− src = fetchPypi {
14− inherit pname version;
15− sha256 = "68e6128e4734196616a39e2d48830ec7d61551c7f5748849e4c91478d2444524";
13+ version = "0.12.4";
14+
15+ # get full repository inorder to run tests
16+ src = fetchFromGitHub {
17+ owner = "joblib";
18+ repo = pname;
19+ rev = version;
20+ sha256 = "06zszgp7wpa4jr554wkk6kkigp4k9n5ad5h08i6w9qih963rlimb";
1621 };
1722
1823 checkInputs = [ sphinx numpydoc pytest ];
24+ propagatedBuildInputs = [ python-lz4 ];
1925
2026 checkPhase = ''
21− py.test -k 'not test_disk_used and not test_nested_parallel_warnings' joblib/test
27+ py.test joblib
2228 '';
2329
2430 meta = {
2531 description = "Lightweight pipelining: using Python functions as pipeline jobs";
2632 homepage = https://pythonhosted.org/joblib/;
2733 license = lib.licenses.bsd3;
34+ maintainers = with lib.maintainers; [ costrouc ];
2835 };
2936}