guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit e0d04e6f648e5776c28a641461bd1562a5ee06b5
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Dec 15 11:23:23 2025 +0000
gnu: python-stcal: Adjust relax-requirments phase.
* gnu/packages/astronomy.scm (python-stcal):
[arguments] <phases>: Remove 'patch-slope-fitter; {relax-requirments}
remove relaxation for SciPy.
[native-inputs]: Remove python-wheel.
Change-Id: Ic886fe9f8d7a809f4f775f0db314b074124696ff
---
gnu/packages/astronomy.scm | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 8b5d17a499..3758d630e8 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -9464,19 +9464,9 @@ and CAS statistics), as well as fitting 2D Sérsic
profiles.")
"tests")
#:phases
#~(modify-phases %standard-phases
- (add-after 'unpack 'patch-slope-fitter
- (lambda _
- (substitute* "src/stcal/ramp_fitting/src/slope_fitter.c"
- ;; It's failing to build, it looks like Guix's NumPy does not
- ;; contain the variable: error: ‘NPY_NTYPES_LEGACY’ undeclared
- ;; (first use in this function)
- ((".*NPY_NTYPES_LEGACY.*") ""))))
(add-before 'build 'relax-requirements
(lambda _
(substitute* "pyproject.toml"
- ;; Relax some requirements as all tests passed successfully.
- ;; scipy>=1.14.1
- (("1.14.1") "1.12.0")
;; XXX: Can't detect opencv-python version. The input opencv
;; might not set the version correctly.
((".*opencv-python-headless.*") "")))))))
@@ -9487,8 +9477,7 @@ and CAS statistics), as well as fitting 2D Sérsic
profiles.")
python-pytest-xdist
python-pytest-doctestplus
python-setuptools
- python-setuptools-scm
- python-wheel))
+ python-setuptools-scm))
(propagated-inputs
(list opencv ;Provides OpenCV-Python
python-asdf