From c8d5ee01f29e78c28ee0b24c4d0a2eb7037aeb03 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 31 Dec 2025 01:20:10 +0000 Subject: [PATCH] gnu: python-numpoly: Update to 1.3.4. * gnu/packages/python-science.scm (python-numpoly): Update to 1.3.4. [arguments] : Skip one test. [native-inputs]: Remove python-wheel; add python-cython. Change-Id: I62142fd288ccfbc6506ed44d054b25af801a6b16 Signed-off-by: Rutherther --- 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 101f3080c80f6c9a259efcc6303b835507c2ff92..c1512110e2b563f18f020259e2749ad49af5dfdf 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 != + #~(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