Martin Weinelt
2023-07-28 12:15:36 +02:00
parent 7466da3ef2
commit 2a06c513cd
@@ -1,32 +1,53 @@
{ lib
, pythonAtLeast
, pythonOlder
, buildPythonPackage
, pythonOlder
, fetchPypi
, stdenv
, numpydoc
, pytestCheckHook
, lz4
# build-system
, setuptools
, sphinx
# propagates (optional, but unspecified)
# https://github.com/joblib/joblib#dependencies
, lz4
, psutil
# tests
, pytestCheckHook
, threadpoolctl
}:
buildPythonPackage rec {
pname = "joblib";
version = "1.2.0";
version = "1.3.1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-4c7kp55K8iiBFk8hjUMR9gB0GX+3B+CC6AO2H20TcBg=";
hash = "sha256-H5N5Bt9lMpupgBPclpL+IqTF5KZIES3lAFCLGKIbQeM=";
};
nativeCheckInputs = [ sphinx numpydoc pytestCheckHook psutil ];
propagatedBuildInputs = [ lz4 setuptools ];
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
lz4
psutil
];
nativeCheckInputs = [
pytestCheckHook
threadpoolctl
];
pytestFlagsArray = [
"joblib/test"
];
pytestFlagsArray = [ "joblib/test" ];
disabledTests = [
"test_disk_used" # test_disk_used is broken: https://github.com/joblib/joblib/issues/57
"test_parallel_call_cached_function_defined_in_jupyter" # jupyter not available during tests
@@ -36,6 +57,7 @@ buildPythonPackage rec {
];
meta = with lib; {
changelog = "https://github.com/joblib/joblib/releases/tag/${version}";
description = "Lightweight pipelining: using Python functions as pipeline jobs";
homepage = "https://joblib.readthedocs.io/";
license = licenses.bsd3;