From 95a19cf33299cd59fef1099278ccdf5413231a1f Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Wed, 5 Aug 2026 11:24:11 +0200 Subject: gnu: python-salib: Fix build. * gnu/packages/python-science.scm (python-salib)[arguments] {phases}: Add phase fix-for-pandas-3. Relates-to: guix/guix!10394 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-science.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gnu/packages/python-science.scm') diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 43cc52ca0e0..caa1ec7afd3 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -3230,6 +3230,16 @@ automated with the minimum of fuss and the least effort.") (base32 "0v7l6qbxgclz644fq1vmakfasxcdhg1g019b5w47hlxqw8fx0ipl")))) (build-system pyproject-build-system) ;; tests: 190 passed, 1 xfailed, 28 warnings + (arguments + (list + #:phases + #~(modify-phases %standard-phases + ;; Remove this phase on the next update, it is already in master. + (add-before 'build 'fix-for-pandas-3 + (lambda _ + (substitute* "src/SALib/analyze/sobol.py" + (("np\\.array\\(\\[0\\.0\\]\\)") + "np.float64(0.0)"))))))) (native-inputs (list python-hatch-vcs python-hatchling -- cgit v1.2.3