~ruther/guix-local

94d5cc2406702c535c2125dee4fbf2426fbfeedd — Sharlatan Hellseher 3 months ago f0c14fa
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>
1 files changed, 12 insertions(+), 5 deletions(-)

M gnu/packages/python-science.scm
M gnu/packages/python-science.scm => gnu/packages/python-science.scm +12 -5
@@ 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