From 73ec8f84be35effbb6a26bda4c2b9629e465f2b0 Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Wed, 4 Feb 2026 12:51:38 +0100 Subject: 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 Signed-off-by: Sharlatan Hellseher --- 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 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: . + #~(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 -- cgit v1.3