From fd00d2ad5d15534ac45c3deaf66c73542e47bf10 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 12 Dec 2025 16:24:35 +0000 Subject: [PATCH] gnu: python-jacobi: Fix tests. * gnu/packages/python-science.scm (python-jacobi)[arguments]: Add 'fix-pytest-config. Change-Id: Ia8b4c30d2d8d6cfe9bae79342614747c90ae6735 Signed-off-by: Rutherther --- gnu/packages/python-science.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 89930b1b1313a64e759db923ec96c07dee487579..97e8ff4f6d239cafc1146f387b9a7a2e312462f8 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