12 # propagates (optional, but unspecified)
13 # https://github.com/joblib/joblib#dependencies
23 buildPythonPackage rec {
28 disabled = pythonOlder "3.7";
31 inherit pname version;
32 hash = "sha256-kvhl5iHhd4TnlVCAttBCSJ47jilJScxExurDBPWXcrE=";
37 name = "suppress-deprecation-warnings-with-python312.patch";
38 url = "https://github.com/joblib/joblib/commit/05caf0772d605799e5d2337018fd32ac829b37aa.patch";
39 hash = "sha256-bfqxCLFkCnuWMIkIbcjh+nCTv38A8jxvyCHeJPxoZwg=";
47 propagatedBuildInputs = [
62 "test_disk_used" # test_disk_used is broken: https://github.com/joblib/joblib/issues/57
63 "test_parallel_call_cached_function_defined_in_jupyter" # jupyter not available during tests
64 "test_nested_parallel_warnings" # tests is flaky under load
65 ] ++ lib.optionals stdenv.isDarwin [
66 "test_dispatch_multiprocessing" # test_dispatch_multiprocessing is broken only on Darwin.
67 ] ++ lib.optionals (pythonAtLeast "3.12") [
68 # deprecation warnings with python3.12 https://github.com/joblib/joblib/issues/1478
69 "test_main_thread_renamed_no_warning"
70 "test_background_thread_parallelism"
74 changelog = "https://github.com/joblib/joblib/releases/tag/${version}";
75 description = "Lightweight pipelining: using Python functions as pipeline jobs";
76 homepage = "https://joblib.readthedocs.io/";
77 license = licenses.bsd3;
78 maintainers = with maintainers; [ ];