guix_mirror_bot pushed a commit to branch master
in repository guix.

commit e68faef0bd15d68c5597578d39c2cd3b28ccd85b
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Thu Aug 21 18:53:39 2025 +0100

    gnu: python-romancal: Update to 0.20.2.
    
    * gnu/packages/astronomy.scm (python-romancal): Update to 0.20.2.
    [native-inputs]: Remove python-wheel.
    [propagated-inputs]: Remove python-pyparsing and python-stpsf; add
    python-pysiaf and python-stpreview.
    
    Change-Id: I716e17fab83d8b158b808f60e05a58d79a4e7222
---
 gnu/packages/astronomy.scm | 27 ++++++++++++++-------------
 1 file changed, 14 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index e059b70650..6c323231d9 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -6186,21 +6186,18 @@ PSF} describing how the optical system spreads light 
from sources.")
     (license license:expat)))
 
 (define-public python-romancal
-  ;; The compatible version is not released yet, use the latest commit.
-  (let ((commit "ae864a407fc16001d3a0370779caa381f994f718")
-        (revision "0"))
     (package
       (name "python-romancal")
-      (version (git-version "0.19.0" revision commit))
+      (version "0.20.2")
       (source
        (origin
          (method git-fetch)
          (uri (git-reference
                 (url "https://github.com/spacetelescope/romancal";)
-                (commit commit)))
+                (commit version)))
          (file-name (git-file-name name version))
          (sha256
-          (base32 "0dxgwy6qva8ss7xb6hlkck6kysikgmn0byprvj4kx1l82gm1sk0g"))))
+          (base32 "16aa8ylq6281k1z3yz0lzbw0ca9l7fgci1s14jqd9ymcmssnf4q4"))))
       (build-system pyproject-build-system)
       (arguments
        (list
@@ -6237,7 +6234,10 @@ PSF} describing how the optical system spreads light 
from sources.")
               (lambda _
                 (substitute* "pyproject.toml"
                   ;; XXX: scipy >=1.14.1
-                  ((" >=1.14.1") ""))))
+                  ((" >=1.14.1") "")
+                  (("stsci.imagestats >= 1.8.3")
+                   ;; Cant' find the version even if it's added.
+                   "stsci.imagestats"))))
             (add-before 'build 'set-version
               (lambda _
                 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
@@ -6252,8 +6252,7 @@ PSF} describing how the optical system spreads light from 
sources.")
              python-pytest-xdist
              python-setuptools-next
              python-setuptools-scm
-             python-stpreview
-             python-wheel))
+             python-stpreview))
       (propagated-inputs
        (list python-asdf
              python-asdf-astropy
@@ -6266,22 +6265,24 @@ PSF} describing how the optical system spreads light 
from sources.")
              python-pandas
              python-photutils
              python-pyarrow
-             python-pyparsing
              python-requests
              python-roman-datamodels
              python-scipy
              python-spherical-geometry
              python-stcal
              python-stpipe
-             python-stpsf
              python-stsci-imagestats
-             python-tweakwcs))
+             python-tweakwcs
+             ;; [sdp]
+             python-pysiaf
+             ;; python-roman-photoz     ;not packaged
+             python-stpreview))
       (home-page "https://github.com/spacetelescope/romancal";)
       (synopsis "Nancy Grace Roman Space Telescope observations processing 
library")
       (description
        "This package implements a functionality for calibration of science
 observations from the Nancy Grace Roman Space Telescope.")
-      (license license:bsd-3))))
+      (license license:bsd-3)))
 
 (define-public python-sbpy
   (package

Reply via email to