diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-12 16:24:35 +0000 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:18:49 +0100 |
| commit | fd00d2ad5d15534ac45c3deaf66c73542e47bf10 (patch) | |
| tree | e51670723733ac1f17fb8ce87062df9e22974d91 /gnu/packages | |
| parent | 43bce7f38c13ab3fabab0088d9597090e0751a7d (diff) | |
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>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/python-science.scm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 89930b1b131..97e8ff4f6d2 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -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 |
