From 67f1d3faacd275f8904e64f04f051aaafaf01f9b Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 15 Nov 2025 15:08:02 +0000 Subject: [PATCH] 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 --- gnu/packages/astronomy.scm | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index a917af6ac27ba47bb39b5422adee1e1e4a907929..a99bd76f236248d2d0fd0508e8fbb47ad56477a6 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -5402,13 +5402,13 @@ milliarcsecond).") (define-public python-jwst (package (name "python-jwst") - (version "1.20.0") + (version "1.20.2") (source (origin (method url-fetch) (uri (pypi-uri "jwst" version)) (sha256 - (base32 "0p5f1rng1hm3291j6a5bjbkvwzhxb40anjavc38ngz3iiy0rmxq6")) + (base32 "1kpv46fl3x3ygq3vzprv0c30x6m95ka4fp5c9cd9p0rhydm6apm3")) (modules '((guix build utils))) (snippet #~(begin @@ -5434,25 +5434,17 @@ milliarcsecond).") (lambda _ (substitute* "pyproject.toml" ;; 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.*") ""))))))) + (("1.14.1") "1.12.0"))))))) (native-inputs (list python-ci-watson python-pysiaf python-pytest - python-pytest-cov python-pytest-doctestplus python-requests-mock python-setuptools - python-setuptools-scm - python-wheel)) + python-setuptools-scm)) (propagated-inputs - ;; opencv provides OpenCV-Python which is Listed as install requirement. - (list opencv - python-asdf - python-asdf-astropy + (list python-asdf python-astropy python-bayesicfitting python-crds-minimal @@ -5463,7 +5455,6 @@ milliarcsecond).") python-numpy python-packaging python-photutils - python-poppy python-pyparsing python-requests python-scikit-image @@ -5475,7 +5466,10 @@ milliarcsecond).") python-stsci-imagestats python-synphot python-tweakwcs - python-wiimatch)) + python-wiimatch + ;; [optional] + python-jplephem + python-pysiaf)) (home-page "https://jwst-pipeline.readthedocs.io/en/latest/") (synopsis "Science observations from the James Webb Space Telescope") (description