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
This commit is contained in:
Sharlatan Hellseher 2025-12-08 20:32:50 +00:00 committed by Andreas Enge
parent 14454fec8c
commit 8fa8eedcdc
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -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