guix-commits
[Top][All Lists]
Advanced

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

16/47: gnu: python-pynndescent: Update to 0.5.11.


From: guix-commits
Subject: 16/47: gnu: python-pynndescent: Update to 0.5.11.
Date: Wed, 10 Jan 2024 14:52:56 -0500 (EST)

rekado pushed a commit to branch wip-python-science
in repository guix.

commit 5036719e535951a9f1815ec8bc61ef9f00d45cf2
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Jan 8 15:28:10 2024 +0100

    gnu: python-pynndescent: Update to 0.5.11.
    
    * gnu/packages/machine-learning.scm (python-pynndescent): Update to 0.5.11.
    [build-system]: Use pyproject-build-system.
    [arguments]: Remove.
    [propagated-inputs]: Add python-importlib-metadata.
    
    Change-Id: I14f15ea98157ed15b360971c30fe00c5f00af4a7
---
 gnu/packages/machine-learning.scm | 19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index d8a9f4d13a..f34e6dd5a4 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1891,27 +1891,18 @@ It is compatible with @code{scikit-learn}.")
 (define-public python-pynndescent
   (package
     (name "python-pynndescent")
-    (version "0.5.10")
+    (version "0.5.11")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pynndescent" version))
        (sha256
-        (base32 "1bc8aa6jfw28y6sb0nvfdrfgh66a42bqb4znvpimzx9yq21wcpax"))))
-    (build-system python-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
-             (when tests?
-               (invoke "python" "-m" "pytest" "--pyargs" "pynndescent"
-                       ;; wminkowski no longer exists in scipy 1.8.0 (see:
-                       ;; https://github.com/lmcinnes/pynndescent/issues/177)
-                       "-k" "not test_weighted_minkowski")))))))
+        (base32 "0l5dpdsk5vg7rpay81bncp04119hnl5z7zxjv63jrnm9spcwwi3g"))))
+    (build-system pyproject-build-system)
     (native-inputs (list python-pytest))
     (propagated-inputs
-     (list python-joblib
+     (list python-importlib-metadata
+           python-joblib
            python-llvmlite
            python-numba
            python-scikit-learn



reply via email to

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