gnu: python-jwst: Update to 1.20.2.

* gnu/packages/astronomy.scm (python-jwst): Update to 1.20.2.
[phases]{relax-requirements}: Remove no longer required relaxation.
[propagated-inputs]: Remove opencv, python-asdf-astropy, and
python-poppy; add python-jplephem, and python-pysiaf.
[native-inputs]: Remove python-pytest-cov and python-wheel.

Change-Id: Iaaca16eb913ea405f0e94643319834277cdfbda4
This commit is contained in:
Sharlatan Hellseher
2025-11-15 15:08:02 +00:00
parent 037e52cc88
commit 67f1d3faac

View File

@@ -5402,13 +5402,13 @@ milliarcsecond).")
(define-public python-jwst (define-public python-jwst
(package (package
(name "python-jwst") (name "python-jwst")
(version "1.20.0") (version "1.20.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "jwst" version)) (uri (pypi-uri "jwst" version))
(sha256 (sha256
(base32 "0p5f1rng1hm3291j6a5bjbkvwzhxb40anjavc38ngz3iiy0rmxq6")) (base32 "1kpv46fl3x3ygq3vzprv0c30x6m95ka4fp5c9cd9p0rhydm6apm3"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
#~(begin #~(begin
@@ -5434,25 +5434,17 @@ milliarcsecond).")
(lambda _ (lambda _
(substitute* "pyproject.toml" (substitute* "pyproject.toml"
;; scipy>=1.14.1 ;; scipy>=1.14.1
(("1.14.1") "1.12.0") (("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.*") "")))))))
(native-inputs (native-inputs
(list python-ci-watson (list python-ci-watson
python-pysiaf python-pysiaf
python-pytest python-pytest
python-pytest-cov
python-pytest-doctestplus python-pytest-doctestplus
python-requests-mock python-requests-mock
python-setuptools python-setuptools
python-setuptools-scm python-setuptools-scm))
python-wheel))
(propagated-inputs (propagated-inputs
;; opencv provides OpenCV-Python which is Listed as install requirement. (list python-asdf
(list opencv
python-asdf
python-asdf-astropy
python-astropy python-astropy
python-bayesicfitting python-bayesicfitting
python-crds-minimal python-crds-minimal
@@ -5463,7 +5455,6 @@ milliarcsecond).")
python-numpy python-numpy
python-packaging python-packaging
python-photutils python-photutils
python-poppy
python-pyparsing python-pyparsing
python-requests python-requests
python-scikit-image python-scikit-image
@@ -5475,7 +5466,10 @@ milliarcsecond).")
python-stsci-imagestats python-stsci-imagestats
python-synphot python-synphot
python-tweakwcs python-tweakwcs
python-wiimatch)) python-wiimatch
;; [optional]
python-jplephem
python-pysiaf))
(home-page "https://jwst-pipeline.readthedocs.io/en/latest/") (home-page "https://jwst-pipeline.readthedocs.io/en/latest/")
(synopsis "Science observations from the James Webb Space Telescope") (synopsis "Science observations from the James Webb Space Telescope")
(description (description