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

commit 33d2a450b2b1e5ccca43c46089c69b192c875e7a
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Dec 8 20:32:50 2025 +0000

    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
---
 gnu/packages/python-science.scm | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 9e1d8e7513..4e19c15fff 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

Reply via email to