gnu: python-jwst: Update to 1.17.1.

* gnu/packages/astronomy.scm (python-jwst): Update to 1.17.1.
[arguments] <phases>: Enable 'sanity-check; add 'relax-requirements.
[propagated-inputs]: Remove python-stsci-image.

Change-Id: I58d6080c880e2e2358145971b2b84703b44392d5
This commit is contained in:
Sharlatan Hellseher 2025-02-21 18:11:22 +00:00
parent 307431484e
commit e95358b8cb
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -4413,13 +4413,13 @@ milliarcsecond).")
(define-public python-jwst (define-public python-jwst
(package (package
(name "python-jwst") (name "python-jwst")
(version "1.16.1") (version "1.17.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "jwst" version)) (uri (pypi-uri "jwst" version))
(sha256 (sha256
(base32 (base32
"1bqfgqp4gdm1ky5dvzhzpgygwr710h4mbykp5sb9aw3cw9jg1bk7")) "0brlj2w0jjg9p4zwna05bk9l8nb7xkcss7p5rjdjaj3hxlskzfkq"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin
@ -4435,12 +4435,25 @@ milliarcsecond).")
;; XXX: Tests require access to https://jwst-crds-pub.stsci.edu server for ;; XXX: Tests require access to https://jwst-crds-pub.stsci.edu server for
;; getting data sets. ;; getting data sets.
#:tests? #f #:tests? #f
#:phases #~(modify-phases %standard-phases #:phases
;; NOTE: (Sharlatan-20230529T113448+0100): opencv-python's #~(modify-phases %standard-phases
;; version can't be detected, it could the way it's packed in (add-before 'build 'relax-requirements
;; Guix. Review failing sanity check with more efforts, (lambda _
;; disable for now to make package buildable. (substitute* "pyproject.toml"
(delete 'sanity-check)))) ;; gwcs>=0.22.0,<0.23.0
((">=0.22.0,<0.23.0") ">=0.22.0")
;; numpy<2.0,>=1.25
((">=1.25,<2.0") ">=1.24,<2.0")
;; 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.*") "")
;; jwst.csv_tools was removed.
(("csvconvert = .*") "")
;; ImportError: module 'jwst.scripts.asn_gather' has no
;; attribute 'main'
(("asn_gather = .*") "")))))))
;; opencv provides OpenCV-Python which is Listed as install requirement. ;; opencv provides OpenCV-Python which is Listed as install requirement.
(propagated-inputs (list opencv (propagated-inputs (list opencv
python-asdf python-asdf
@ -4467,7 +4480,6 @@ milliarcsecond).")
python-stcal python-stcal
python-stdatamodels python-stdatamodels
python-stpipe python-stpipe
python-stsci-image
python-stsci-imagestats python-stsci-imagestats
python-synphot python-synphot
python-tweakwcs python-tweakwcs