guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/04: gnu: python-joblib: Update to 1.3.2.


From: guix-commits
Subject: 02/04: gnu: python-joblib: Update to 1.3.2.
Date: Wed, 20 Mar 2024 10:53:16 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit a24aa227f72544ae4b95510c62f968d219148efc
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Wed Mar 6 10:38:03 2024 +0100

    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>
---
 gnu/packages/python-xyz.scm | 22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8209e21828..0ac9d669d3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]