linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / joblib / default.nix
blob9c54418bafefa500ca8446751d60c2006d0c88b9
1 { lib
2 , pythonOlder
3 , buildPythonPackage
4 , fetchPypi
5 , stdenv
6 , numpydoc
7 , pytestCheckHook
8 , python-lz4
9 , setuptools
10 , sphinx
14 buildPythonPackage rec {
15   pname = "joblib";
16   version = "1.0.0";
17   disabled = pythonOlder "3.7";
19   src = fetchPypi {
20     inherit pname version;
21     sha256 = "092bnvr724cfvka8267z687bf086fvm7i1hwslkyrzf1g836dn3s";
22   };
24   checkInputs = [ sphinx numpydoc pytestCheckHook ];
25   propagatedBuildInputs = [ python-lz4 setuptools ];
27   pytestFlagsArray = [ "joblib/test" ];
28   disabledTests = [
29     "test_disk_used" # test_disk_used is broken: https://github.com/joblib/joblib/issues/57
30     "test_parallel_call_cached_function_defined_in_jupyter" # jupyter not available during tests
31   ] ++ lib.optionals stdenv.isDarwin [
32     "test_dispatch_multiprocessing" # test_dispatch_multiprocessing is broken only on Darwin.
33   ];
35   meta = with lib; {
36     description = "Lightweight pipelining: using Python functions as pipeline jobs";
37     homepage = "https://joblib.readthedocs.io/";
38     license = licenses.bsd3;
39     maintainers = with maintainers; [ costrouc ];
40   };