diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-19 00:39:27 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-28 22:07:03 +0000 |
| commit | 9c2fcafd752d33b13b90738cd629db23ada1ced1 (patch) | |
| tree | 06e47e90eab9cbc913cebabb3e1c2527866ae992 /gnu | |
| parent | a047695b372bee843539f4166834994300e118fe (diff) | |
gnu: python-stcal: Update to 1.17.0.
* gnu/packages/astronomy.scm (python-stcal): Update to 1.17.0.
[arguments] <test-flags>: Ignore tests file which tests require network
access.
<phases>: Remove 'relax-requirements.
[propagated-inputs]: Remove opencv; add python-astropy-healpix,
python-pyarrow, python-shapely, python-spherical-geometry, and
python-stsci-imagestats.
Change-Id: Id4dbaa6b15a63c8fbc54b9466f9d242804b15a91
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/astronomy.scm | 40 |
1 files changed, 15 insertions, 25 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 7bd92f93163..3322c1029ca 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -9712,39 +9712,25 @@ and CAS statistics), as well as fitting 2D Sérsic profiles.") (define-public python-stcal (package (name "python-stcal") - (version "1.15.2") + (version "1.17.0") (source (origin (method url-fetch) (uri (pypi-uri "stcal" version)) (sha256 - (base32 "0lzwp06399fwxi8m82cmj5009s2xyvmzmvxw64qfbm39mxkhbw51")))) + (base32 "1897nclhw98gqg1krjky13nbfmbi0q1qa8dfzh96lq8d8yfgrix5")))) (build-system pyproject-build-system) (arguments (list + ;; tests: 676 passed, 12 warnings #:test-flags #~(list "--pyargs" "stcal" - "--numprocesses" (number->string (parallel-job-count)) - "-k" (string-join - ;; Tests requiring network access. - (list "not test_absolute_align" - "test_create_catalog" - "test_create_catalog_graceful_failure" - "test_get_catalog" - "test_parse_refcat" - "test_parse_sky_centroid" - "test_relative_align[False]" - "test_relative_align[True]") - " and not ") - "tests") - #:phases - #~(modify-phases %standard-phases - (add-before 'build 'relax-requirements - (lambda _ - (substitute* "pyproject.toml" - ;; XXX: Can't detect opencv-python version. The input opencv - ;; might not set the version correctly. - ((".*opencv-python-headless.*") ""))))))) + "--numprocesses" (number->string (min 8 (parallel-job-count))) + ;; Network access is required for the most of the tests to + ;; download test data from + ;; <s3://stpubdata/gaia/gaia_dr3/public/hats/gaia/>. + "--ignore=tests/test_tweakreg.py" + "tests"))) (native-inputs (list python-cython python-psutil @@ -9754,15 +9740,19 @@ and CAS statistics), as well as fitting 2D Sérsic profiles.") python-setuptools python-setuptools-scm)) (propagated-inputs - (list opencv ;Provides OpenCV-Python - python-asdf + (list python-asdf python-astropy + python-astropy-healpix python-drizzle python-gwcs python-numpy + python-pyarrow python-requests python-scikit-image python-scipy + python-shapely + python-spherical-geometry + python-stsci-imagestats python-tweakwcs)) (home-page "https://github.com/spacetelescope/stcal") (synopsis "STScI tools and algorithms used in calibration pipelines") |
