From 118db18b2a0b2354008d42d91a31faeb21941fce Mon Sep 17 00:00:00 2001 From: Ghislain Vaillant Date: Thu, 27 Aug 2026 17:31:46 +0200 Subject: neuroscience: python-tedana: Update to 26.0.3. * guix-science/packages/neuroscience.scm (python-tedana) [source]: Update to 26.0.3. [arguments]<#:phases>: Remove nilearn compatibility patch. Set HOME before check. --- guix-science/packages/neuroscience.scm | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/guix-science/packages/neuroscience.scm b/guix-science/packages/neuroscience.scm index dc96d56..6c3e71c 100644 --- a/guix-science/packages/neuroscience.scm +++ b/guix-science/packages/neuroscience.scm @@ -2407,7 +2407,7 @@ from different packages.") (define-public python-tedana (package (name "python-tedana") - (version "25.1.0") + (version "26.0.3") (source (origin (method git-fetch) @@ -2416,7 +2416,7 @@ from different packages.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1980k3c7ajldwcm82wg9dlz4104r4kii30cdcz1w07l09qpanmn1")))) + (base32 "0wm7fb8a1mlmqfaya3zydbd5kkn0kpjzxv5afsmnjyl21lg8h026")))) (build-system pyproject-build-system) (arguments (list @@ -2435,16 +2435,11 @@ from different packages.") (substitute* "pyproject.toml" ((",\\s*<=.*\"") "\"")))) - (add-after 'unpack 'fix-imports + + (add-before 'check 'set-home (lambda _ - ;; Fix for import errors introduced in nilearn@0.14.1, - ;; see . - (substitute* "tedana/io.py" - (("from nilearn._utils import check_niimg") - "from nilearn._utils.niimg_conversions import check_niimg")) - (substitute* "tedana/utils.py" - (("from nilearn._utils import check_niimg") - "from nilearn._utils.niimg_conversions import check_niimg"))))))) + (setenv "HOME" + (getcwd))))))) (propagated-inputs (list python-bokeh python-mapca python-matplotlib -- cgit v1.2.3