diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-01-24 14:02:32 +0000 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 12:28:40 +0100 |
| commit | ad11e8d08b8d12d84931d30a6d25e11a476b81dd (patch) | |
| tree | 297434bf0b7e9d0cbd8e62a47816fc68172efc31 /gnu | |
| parent | 12b51db37e13acf5a746aca34acf10305e064369 (diff) | |
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
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-science.scm | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 3144efd1ee4..b0de8534ac0 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")))))) |
