~ruther/guix-local

fd00d2ad5d15534ac45c3deaf66c73542e47bf10 — Sharlatan Hellseher 3 months ago 43bce7f
gnu: python-jacobi: Fix tests.

* gnu/packages/python-science.scm (python-jacobi)[arguments]<phases>:
Add 'fix-pytest-config.

Change-Id: Ia8b4c30d2d8d6cfe9bae79342614747c90ae6735
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
1 files changed, 10 insertions(+), 0 deletions(-)

M gnu/packages/python-science.scm
M gnu/packages/python-science.scm => gnu/packages/python-science.scm +10 -0
@@ 1454,6 1454,16 @@ MIGRAD algorithm and Numba accelerated functions.")
       (sha256
        (base32 "0a08680q6rnl6b1azq0lzd8r08pgnjd9ynwivb1g2vi4ccb4h7y1"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-pytest-config
            (lambda _
              (substitute* "pyproject.toml"
                ;; AttributeError: module 'numpy' has no attribute
                ;; 'VisibleDeprecationWarning'
                ((".*error::numpy.VisibleDeprecationWarning.*") "")))))))
    (native-inputs
     (list python-pytest
           python-pytest-benchmark