summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-12-08 20:32:50 +0000
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:18:18 +0100
commit94d5cc2406702c535c2125dee4fbf2426fbfeedd (patch)
treee0274407c94517b9b2d4dce457c1d56a25f49770 /gnu/packages
parentf0c14fa2a2432d13f9833642d755d48d7e918bfa (diff)
gnu: python-ndindex: Update to 1.10.1.
* gnu/packages/python-science.scm (python-ndindex): Update to 1.10.1. [arguments] <test-flags>: Provide option to run tests again installed module. <phases>: Add 'remove-local-source. [native-inputs]: Remove python-wheel; add python-sympy. Change-Id: I2c7129b540c5fc4e25dac8945c38359cc6c71eac Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-science.scm17
1 files changed, 12 insertions, 5 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 9e1d8e7513c..4e19c15fff5 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1845,25 +1845,32 @@ between dataframe libraries.
(define-public python-ndindex
(package
(name "python-ndindex")
- (version "1.7") ;newer versions require a newer numpy
+ (version "1.10.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "ndindex" version))
(sha256
- (base32 "1lpgsagmgxzsas7g8yiv6wmyss8q57w92h70fn11rnpadsvx16xz"))))
+ (base32 "048gc4pwvsyxkz7brph1fwmlgjd35alimvnb3248y91iy30i6q8g"))))
(build-system pyproject-build-system)
(arguments
(list
+ ;; tests: 121 passed, 1 deselected, 3 warnings
#:test-flags
- #~(list "-c" "/dev/null" ;avoid coverage
- "-k" "not test_iter_indices_matmul"))) ; flaky
+ #~(list "--pyargs" "ndindex"
+ "-c" "/dev/null" ;avoid coverage
+ "-k" "not test_iter_indices_matmul") ; flaky
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'remove-local-source
+ (lambda _
+ (delete-file-recursively "ndindex"))))))
(native-inputs
(list python-cython
python-numpy
python-pytest
python-setuptools
- python-wheel))
+ python-sympy))
(home-page "https://quansight-labs.github.io/ndindex/")
(synopsis "Python library for manipulating indices of ndarrays")
(description "This package provides a Python library for manipulating