summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Buddelmeijer <hugo@buddelmeijer.nl>2026-02-04 12:51:38 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-02-04 20:44:49 +0000
commit73ec8f84be35effbb6a26bda4c2b9629e465f2b0 (patch)
treeaf9a0c33de36faad9dce0f5ed2c8d0eb007e93f5
parent2dff95674f49d72d692348b5e9167b756b1f0eb0 (diff)
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 <reza@housseini.me> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/astronomy.scm11
1 files changed, 8 insertions, 3 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index c2ae4db7ffb..ca595024731 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