@@ 7495,58 7495,56 @@ pipelines.")
(license license:bsd-3)))
(define-public python-romancal
+ ;; The latest update is not released yet which is compatible with
+ ;; python-roman-datamodels@0.28.0.
+ (let ((commit "5089f94daa8160c06b4f499677086177243f9238")
+ (revision "0"))
(package
(name "python-romancal")
- (version "0.20.2")
+ (version (git-version "0.20.2" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/spacetelescope/romancal")
- (commit version)))
+ (commit commit)))
(file-name (git-file-name name version))
(sha256
- (base32 "16aa8ylq6281k1z3yz0lzbw0ca9l7fgci1s14jqd9ymcmssnf4q4"))))
+ (base32 "01xz9il1rgi657p0441l2dmrglh5zba571x057ksi9ms5p49d6rm"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
#~(list "--color=no"
- "--numprocesses" (number->string (min 8 (parallel-job-count)))
- ;; XXX: Tests requiring network access or additional setup,
- ;; check how to run them locally.
- "--ignore=romancal/assign_wcs/tests/test_wcs.py"
- "--ignore=romancal/dark_current/tests/test_dark.py"
- "--ignore=romancal/dq_init/tests/test_dq_init.py"
- "--ignore=romancal/flatfield/tests/test_flatfield.py"
- "--ignore=romancal/flux/tests/test_flux_step.py"
- "--ignore=romancal/lib/engdb/tests/test_engdb_tools.py"
- "--ignore=romancal/linearity/tests/test_linearity.py"
- "--ignore=romancal/multiband_catalog/tests/test_multiband_catalog.py"
- "--ignore=romancal/orientation/tests/test_set_telescope_pointing.py"
- "--ignore=romancal/photom/tests/test_photom.py"
- "--ignore=romancal/ramp_fitting/tests/test_ramp_fit_cas22.py"
- "--ignore=romancal/ramp_fitting/tests/test_ramp_fit_likelihood.py"
- "--ignore=romancal/refpix/tests/test_step.py"
- "--ignore=romancal/resample/tests/test_resample.py"
- "--ignore=romancal/saturation/tests/test_saturation.py"
- "--ignore=romancal/skycell/tests/test_skycell.py"
- "--ignore=romancal/skycell/tests/test_skycell_match.py"
- "--ignore=romancal/skymatch/tests/test_skymatch.py"
- "--ignore=romancal/source_catalog/tests/test_psf.py"
- "--ignore=romancal/source_catalog/tests/test_source_catalog.py"
- "--ignore=romancal/stpipe/tests/test_core.py"
- "--ignore=romancal/tweakreg/tests/test_tweakreg.py")
+ #$@(map (lambda (file) (string-append "--ignore=" file))
+ (list "romancal/tweakreg/tests/test_tweakreg.py"
+ "romancal/assign_wcs/tests/test_wcs.py"
+ "romancal/dark_current/tests/test_dark.py"
+ "romancal/dq_init/tests/test_dq_init.py"
+ "romancal/flatfield/tests/test_flatfield.py"
+ "romancal/flux/tests/test_flux_step.py"
+ "romancal/linearity/tests/test_linearity.py"
+ "romancal/multiband_catalog/tests/test_multiband_catalog.py"
+ "romancal/photom/tests/test_photom.py"
+ "romancal/pipeline/tests/test_exposure_pipeline.py"
+ "romancal/ramp_fitting/tests/test_ramp_fit_cas22.py"
+ "romancal/ramp_fitting/tests/test_ramp_fit_likelihood.py"
+ "romancal/refpix/tests/test_step.py"
+ "romancal/resample/tests/test_resample.py"
+ "romancal/saturation/tests/test_saturation.py"
+ "romancal/skycell/tests/test_skycell.py"
+ "romancal/skycell/tests/test_skycell_match.py"
+ "romancal/skymatch/tests/test_skymatch.py"
+ "romancal/source_catalog/tests/test_psf.py"
+ "romancal/source_catalog/tests/test_source_catalog.py"
+ "romancal/stpipe/tests/test_core.py")))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements
(lambda _
(substitute* "pyproject.toml"
;; XXX: scipy >=1.14.1
- ((" >=1.14.1") "")
- (("stsci.imagestats >= 1.8.3")
- ;; Cant' find the version even if it's added.
- "stsci.imagestats"))))
+ ((" >=1.14.1") ""))))
(add-before 'build 'set-version
(lambda _
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
@@ 7555,10 7553,8 @@ pipelines.")
(list nss-certs-for-test
python-ci-watson
python-deepdiff
- ;; python-edp ;not packaged
python-pytest
python-pytest-astropy
- python-pytest-xdist
python-setuptools
python-setuptools-scm
python-stpreview))
@@ 7591,7 7587,7 @@ pipelines.")
(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