gnu: python-stpreview: Fix tests.

* gnu/packages/astronomy.scm: (python-roman-datamodels-0.28,
python-rad-0.28): New variables.
(python-stpreview)[native-inputs]: Remove python-roman-datamodels and
python-wheel; add python-roman-datamodels-0.28.

Change-Id: I1dad50526d090739876761a1a6cf20359f680fe4
This commit is contained in:
Sharlatan Hellseher 2026-01-20 08:51:18 +00:00
parent f8aa48fe9f
commit 24aec11770
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -8407,6 +8407,19 @@ format, which are used by ASDF to serialize and deserialize data for the Nancy
Grace Roman Space Telescope.")
(license license:bsd-3)))
;; For python-stpreview@0.6.0, remove when a fresh version is released.
(define-public python-rad-0.28
(hidden-package
(package
(inherit python-rad)
(version "0.28.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "rad" version))
(sha256
(base32 "0va7yfy3pcd6fp49ni7388lic3fv77n3qhvaxk6jw535v41by381")))))))
(define-public python-radio-beam
(package
(name "python-radio-beam")
@ -8679,6 +8692,22 @@ for Roman since FITS format data files will not be used by the Roman calibration
pipelines.")
(license license:bsd-3)))
;; For python-stpreview@0.6.0, remove when a fresh version is released.
(define-public python-roman-datamodels-0.28
(hidden-package
(package
(inherit python-roman-datamodels)
(version "0.28.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "roman_datamodels" version))
(sha256
(base32 "0j5y6d4zz1zyfwp05iwlvn0708hsh7phvp2j3zpi9pczljp78aw0"))))
(propagated-inputs
(modify-inputs (package-propagated-inputs python-roman-datamodels)
(replace "python-rad" python-rad-0.28))))))
(define-public python-romancal
(package
(name "python-romancal")
@ -9906,10 +9935,9 @@ implementing calibration pipeline software.")
(build-system pyproject-build-system)
(native-inputs
(list python-pytest
python-roman-datamodels
python-roman-datamodels-0.28
python-setuptools
python-setuptools-scm
python-wheel))
python-setuptools-scm))
(propagated-inputs
(list python-asdf
python-astropy