guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 73ec8f84be35effbb6a26bda4c2b9629e465f2b0
Author: Hugo Buddelmeijer <[email protected]>
AuthorDate: Wed Feb 4 12:51:38 2026 +0100
gnu: python-statmorph: Fix install by switching to NumPy2.
* gnu/packages/astronomy.scm (python-statmorph): Use NumPy2.
[arguments]<#:test-flags>: Deselect unstable test.
[propagated-inputs]: Remove python-numpy-1 and python-wheel; add
python-numpy.
Change-Id: I5f330a3344b81e790af9e17fef668b39c99395aa
Reviewed-by: Reza Housseini <[email protected]>
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/astronomy.scm | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index c2ae4db7ff..ca59502473 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -9811,13 +9811,18 @@ over many parameters:
(sha256
(base32 "1c4srrmfzx8iszcc140ylljs0dzqs6d9ya2z7wic96p6y6gixb9h"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; Test fails due to numerical uncertainties.
+ ;; See: <https://github.com/vrodgom/statmorph/issues/17>.
+
#~(list"--deselect=statmorph/tests/test_statmorph.py::test_full_gini_segmap")))
(native-inputs
(list python-pytest
- python-setuptools
- python-wheel))
+ python-setuptools))
(propagated-inputs
(list python-astropy
- python-numpy-1
+ python-numpy
python-photutils
python-scikit-image
python-scipy