diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-15 11:23:23 +0000 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:19:24 +0100 |
| commit | 9748ba26cd207c953aa305cfd982b8b9e27ea341 (patch) | |
| tree | 4cca48510b9339697debf8f0b47a6fbb7e48cc0a | |
| parent | 6ee29be434aa6e3091b32497c5572f287b891406 (diff) | |
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
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
| -rw-r--r-- | gnu/packages/astronomy.scm | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 8b5d17a4996..3758d630e8e 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 |
