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

commit 8fb1896b6b8516c3c0e913c6011e7811354b99b8
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Dec 31 01:20:10 2025 +0000

    gnu: python-numpoly: Update to 1.3.4.
    
    * gnu/packages/python-science.scm (python-numpoly): Update to 1.3.4.
    [arguments] <test-flags>: Skip one test.
    [native-inputs]: Remove python-wheel; add python-cython.
    
    Change-Id: I62142fd288ccfbc6506ed44d054b25af801a6b16
---
 gnu/packages/python-science.scm | 28 ++++++++++++++++++++++------
 1 file changed, 22 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 101f3080c8..c1512110e2 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -2137,20 +2137,36 @@ backward differences are used.")
 (define-public python-numpoly
   (package
     (name "python-numpoly")
-    (version "1.2.11")
+    (version "1.3.4")
     (source (origin
-              (method git-fetch) ;; PyPI is missing some Pytest fixtures
+              (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
-                "01g21v91f4d66xd0bvap0n6d6485w2fnq1636gx6h2s42550rlbd"))))
+                "19cld52ddvlbza1l8g1irfj603m6f5yifqy4pm397ffrxipfbbq6"))))
     (build-system pyproject-build-system)
-    (propagated-inputs (list python-importlib-metadata python-numpy))
-    (native-inputs (list python-pytest python-setuptools python-sympy
-                         python-wheel))
+    (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")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'remove-local-source
+            (lambda _
+              (delete-file-recursively "numpoly"))))))
+    (native-inputs
+     (list python-cython
+           python-pytest
+           python-setuptools
+           python-sympy))
+    (propagated-inputs
+     (list python-importlib-metadata
+           python-numpy))
     (home-page "https://numpoly.readthedocs.io/en/master/";)
     (synopsis "Polynomials as a numpy datatype")
     (description "Numpoly is a generic library for creating, manipulating and

Reply via email to