diff options
| author | Ghislain Vaillant <ghislain.vaillant@inria.fr> | 2026-08-28 10:50:37 +0200 |
|---|---|---|
| committer | Ghislain Vaillant <ghislain.vaillant@inria.fr> | 2026-08-29 10:17:46 +0200 |
| commit | 1e9cb1b9c3d1aa6aa6ffdc15fc6eaa1b5921143a (patch) | |
| tree | 7770832ce7fd8715d83a7073d1498b4251fdd8ab | |
| parent | 3652886d32ac9018b777e007166fe00e3d9d3426 (diff) | |
neuroscience: python-surfa: Fix build.
* guix-science/packages/neuroscience.scm (python-surfa)
[arguments]<#:phases>: Fix compatibility with NumPy 2.
| -rw-r--r-- | guix-science/packages/neuroscience.scm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/guix-science/packages/neuroscience.scm b/guix-science/packages/neuroscience.scm index 6c3e71c..0ab3bb5 100644 --- a/guix-science/packages/neuroscience.scm +++ b/guix-science/packages/neuroscience.scm | |||
| @@ -2212,6 +2212,16 @@ schemes.") | |||
| 2212 | (sha256 | 2212 | (sha256 |
| 2213 | (base32 "1pkv3qs3800fjh2yr503hx3hzxjhpsbh650x4lvgx6i4vnz5px01")))) | 2213 | (base32 "1pkv3qs3800fjh2yr503hx3hzxjhpsbh650x4lvgx6i4vnz5px01")))) |
| 2214 | (build-system pyproject-build-system) | 2214 | (build-system pyproject-build-system) |
| 2215 | (arguments | ||
| 2216 | (list | ||
| 2217 | #:phases | ||
| 2218 | #~(modify-phases %standard-phases | ||
| 2219 | ;; Fixed upstream, see <https://github.com/freesurfer/surfa/commit/42d8510>. | ||
| 2220 | (add-after 'unpack 'fix-numpy-compatibility | ||
| 2221 | (lambda _ | ||
| 2222 | (substitute* "test/test_framed.py" | ||
| 2223 | (("interpolation=method") | ||
| 2224 | "method=method"))))))) | ||
| 2215 | (propagated-inputs (list python-nibabel python-numpy python-pillow | 2225 | (propagated-inputs (list python-nibabel python-numpy python-pillow |
| 2216 | python-scipy python-xxhash)) | 2226 | python-scipy python-xxhash)) |
| 2217 | (native-inputs (list python-cython python-numpy python-pytest | 2227 | (native-inputs (list python-cython python-numpy python-pytest |
