gnu: python-jwst-reffiles: Enable tests and sanity-check.

* gnu/packages/astronomy.scm (python-jwst-reffiles) [arguments]
<tests?>: Enable them.
<test-flags>: Skip one failing test.
<phases>: Enable 'sanity-check.
[native-inputs]: Remove python-stsci-stimage.

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

View file

@ -4517,25 +4517,17 @@ exposures and high-level data products (mosaics, extracted spectra, etc.).")
(build-system pyproject-build-system)
(arguments
(list
;; FIXME: Invistigate why it failes on python-jwst side where the
;; python-tweakwcs is built just fine:
;;
;; <...>/tweakwcs/matchutils.py:18: in <module>
;; from stsci.stimage import xyxymatch
;; E ModuleNotFoundError: No module named 'stsci.stimage'
#:tests? #f
#:phases
#~(modify-phases %standard-phases
(delete 'sanity-check))))
;; One test fails with error: FileNotFoundError: [Errno 2] No such file
;; or directory.
#:test-flags #~(list "-k" "not test_calib_prep_steps")))
(native-inputs
(list python-pytest))
(propagated-inputs
(list python-astropy
python-jwst
python-matplotlib
python-numpy
python-scipy))
(native-inputs
(list python-pytest
python-stsci-stimage))
(home-page "https://github.com/spacetelescope/jwst_reffiles")
(synopsis "Tool for JWST's CRDS-formatted reference files creation")
(description