guix_mirror_bot pushed a commit to branch master
in repository guix.
commit b5159db2ce22a4e6e3c96a0bce8f3a34cc05d799
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Dec 24 16:49:02 2025 +0100
gnu: python-pims: Fix build.
* gnu/packages/image-processing.scm (python-pims)
[arguments]<#:phases>: Add phase 'relax-requirements.
[native-inputs]: Remove python-wheel.
Change-Id: Icec0ee0744cd326f1bbd2f320b63fa067cea7e8b
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/image-processing.scm | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/image-processing.scm
b/gnu/packages/image-processing.scm
index fc1ef17a07..03ae68a85b 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -1990,11 +1990,16 @@ segmentation.")
;; these tests.
'(list "--ignore=pims/tests/test_common.py"
"--ignore=pims/tests/test_imseq.py"
- "--ignore=pims/tests/test_norpix.py")))
+ "--ignore=pims/tests/test_norpix.py")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "setup.py"
+ (("'slicerator>=.*',")
+ "'slicerator',")))))))
(native-inputs
- (list python-pytest
- python-setuptools
- python-wheel))
+ (list python-pytest python-setuptools))
(propagated-inputs
(list python-imageio python-numpy python-slicerator))
(home-page "https://github.com/soft-matter/pims")