gnu: python-joblib: Update to 1.3.2.

* gnu/packages/python-xyz.scm (python-joblib): Update to 1.3.2.
[build-system]: Update to pyproject-build-system.
[arguments]
  <#:phases>: Remove check phase.
  <#:test-flags>: Keep former test flag.
[propagated-inputs]: Add python-psutil.

Change-Id: Ide110a19431b1d26e1d7dd8d1adc3b3f0f417749
Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Nicolas Graves 2024-03-06 10:38:03 +01:00 committed by Christopher Baines
parent 5d1ba303df
commit a24aa227f7
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 8 additions and 14 deletions

View File

@ -6220,26 +6220,20 @@ bookmarks using a declarative input in the form of a markdown file.")
(define-public python-joblib
(package
(name "python-joblib")
(version "1.1.1")
(version "1.3.2")
(source (origin
(method url-fetch)
(uri (pypi-uri "joblib" version))
(sha256
(base32
"0019p280s2k941mihl67l7y6amwx86639xp3zvpsg1lmyish67rh"))))
(build-system python-build-system)
"1cbjjzsh9hzaqr2cqja95673p7j88b8bd02hjpkq8xz147k6by4j"))))
(build-system pyproject-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(setenv "JOBLIB_MULTIPROCESSING" "0")
(invoke "pytest" "-v" "joblib"
;; We disable this test to avoid having to depend on ipython/jupyter
"-k" "not test_parallel_call_cached_function_defined_in_jupyter")))))))
(native-inputs
(list python-pytest))
(list
#:test-flags ; disabled to avoid having to depend on ipython/jupyter
#~(list "-k" "not test_parallel_call_cached_function_defined_in_jupyter")))
(native-inputs (list python-pytest))
(propagated-inputs (list python-psutil))
(home-page "https://joblib.readthedocs.io/")
(synopsis "Using Python functions as pipeline jobs")
(description