guix_mirror_bot pushed a commit to branch master
in repository guix.
commit b0b152a0bf53f281e912b022194dbfd8cb289c9f
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Oct 17 22:09:52 2025 +0100
gnu: python-romancal: Update to 0.20.2-0.5089f94.
* gnu/packages/astronomy.scm (python-romancal): Update to
5089f94daa8160c06b4f499677086177243f9238 commit.
[arguments] <test-flags>: Run tests in a single thread, rework skipped
test files.
[phases]{relax-requirements}: Remove modification for stsci.imagestats.
[native-inputs]: Remove python-pytest-xdist.
Change-Id: I162ae51b1852ad3e9157bd3a45b91c2c6f153c1b
---
gnu/packages/astronomy.scm | 66 ++++++++++++++++++++++------------------------
1 file changed, 31 insertions(+), 35 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 5e257289fa..386146ba3e 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -7495,58 +7495,56 @@ pipelines.")
(license license:bsd-3)))
(define-public python-romancal
+ ;; The latest update is not released yet which is compatible with
+ ;; [email protected].
+ (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