guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit c18846e819a20eb4b28c19eb1850901a22124b0d
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Jan 24 14:02:32 2026 +0000

    gnu: python-numpoly: Update to 1.3.9.
    
    * gnu/packages/python-science.scm (python-numpoly): Update to 1.3.9.
    [source] <commit>: Upstream tagging style by removing "v" from the tag.
    [phases]{set-version}: New phase.
    [arguments] <test-flags>: Run all tests.
    
    Change-Id: I601ed70b8f4e65782b6bbe98ea7ddc7f91a0b60b
---
 gnu/packages/python-science.scm | 31 +++++++++++++++++--------------
 1 file changed, 17 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 3144efd1ee..b0de8534ac 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -2140,25 +2140,28 @@ backward differences are used.")
 (define-public python-numpoly
   (package
     (name "python-numpoly")
-    (version "1.3.4")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/jonathf/numpoly";)
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "19cld52ddvlbza1l8g1irfj603m6f5yifqy4pm397ffrxipfbbq6"))))
+    (version "1.3.9")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/jonathf/numpoly";)
+              (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1abz6ch2bzghbzwkvrr2yrg6zkkaz4wn7qqc5810szryrv0is3ih"))))
     (build-system pyproject-build-system)
     (arguments
      (list
-      ;; tests: 219 passed, 2 deselected, 4 warnings
-      #:test-flags
-      ;; AssertionError: invalid results type: 3 != <class 'int'>
-      #~(list "--deselect=test/test_array_function.py::test_count_nonzero")
+      ;; tests: 221 passed, 4 warnings
       #:phases
       #~(modify-phases %standard-phases
+          (add-after 'unpack 'set-version
+            ;; Version is hardcoded.
+            (lambda _ 
+              (substitute* "pyproject.toml"
+                (("0.1.0")
+                 #$version))))
           (add-before 'check 'remove-local-source
             (lambda _
               (delete-file-recursively "numpoly"))))))

Reply via email to