diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-08-05 11:24:11 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-08 23:02:33 +0100 |
| commit | 95a19cf33299cd59fef1099278ccdf5413231a1f (patch) | |
| tree | 51937be01acfa6a61c149a367cacd159ff05f309 /gnu/packages | |
| parent | f9b47b79917a84db2518cd6868e89d12377a2b7a (diff) | |
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 <sharlatanus@gmail.com>
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 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.") | |||
| 3230 | (base32 "0v7l6qbxgclz644fq1vmakfasxcdhg1g019b5w47hlxqw8fx0ipl")))) | 3230 | (base32 "0v7l6qbxgclz644fq1vmakfasxcdhg1g019b5w47hlxqw8fx0ipl")))) |
| 3231 | (build-system pyproject-build-system) | 3231 | (build-system pyproject-build-system) |
| 3232 | ;; tests: 190 passed, 1 xfailed, 28 warnings | 3232 | ;; tests: 190 passed, 1 xfailed, 28 warnings |
| 3233 | (arguments | ||
| 3234 | (list | ||
| 3235 | #:phases | ||
| 3236 | #~(modify-phases %standard-phases | ||
| 3237 | ;; Remove this phase on the next update, it is already in master. | ||
| 3238 | (add-before 'build 'fix-for-pandas-3 | ||
| 3239 | (lambda _ | ||
| 3240 | (substitute* "src/SALib/analyze/sobol.py" | ||
| 3241 | (("np\\.array\\(\\[0\\.0\\]\\)") | ||
| 3242 | "np.float64(0.0)"))))))) | ||
| 3233 | (native-inputs | 3243 | (native-inputs |
| 3234 | (list python-hatch-vcs | 3244 | (list python-hatch-vcs |
| 3235 | python-hatchling | 3245 | python-hatchling |
