guix_mirror_bot pushed a commit to branch astro-updates
in repository guix.

commit a932fc3edead701aac80130f98965586785f2cd6
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Nov 15 15:08:02 2025 +0000

    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 7624adde3c..587f913851 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -5560,13 +5560,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
@@ -5592,25 +5592,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
@@ -5621,7 +5613,6 @@ milliarcsecond).")
            python-numpy
            python-packaging
            python-photutils
-           python-poppy
            python-pyparsing
            python-requests
            python-scikit-image
@@ -5633,7 +5624,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

Reply via email to