diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-13 13:12:15 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-28 22:07:07 +0000 |
| commit | 23b22eb5cc68550c8c96550ebd9b26d311f502bb (patch) | |
| tree | b714e0fa20b52b9efb9a19ef3a6453f66094c146 /gnu | |
| parent | 1c597c6c9efed2be54b349f21cac435e3e5b3bf6 (diff) | |
gnu: python-astrodata: Relax requirements to use higher versions.
* gnu/packages/astronomy.scm (python-astrodata):
[arguments] <test-flags>: Skip one more test.
[phases]{relax-requirements}: New phase.
[propagated-inputs]: Remove python-asdf-3, python-astropy-6,
python-gwcs-0.21, and python-numpy-1; add python-asdf, python-astropy,
python-gwcs, and
python-numpy.
Change-Id: I3c4b98d1b9eea37bf01cb2fe33568d7c3c760e10
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/astronomy.scm | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index a9341dcc0f8..fada3334efd 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2736,7 +2736,7 @@ a path (for moving targets) and combining cutouts (build-system pyproject-build-system) (arguments (list - ;; tests: 985 passed, 7 skipped, 58 deselected + ;; tests: 984 passed, 7 skipped, 59 deselected #:test-flags ;; Tests depend on unpackaged DRAGON's module "gemini_instruments". #~(list "--ignore=tests/integration/" @@ -2800,7 +2800,6 @@ a path (for moving targets) and combining cutouts "test_download_from_archive_None_sub_path" "test_download_memory_leaks" "test_warning_if_no_cache_path")) - #$@(map (lambda (test) (string-append "--deselect=" "tests/unit/" "test_wcs.py::" @@ -2809,9 +2808,22 @@ a path (for moving targets) and combining cutouts "test_loglinear_axis" "test_reading_and_writing_sliced_image" "test_remove_unused_world_axis")) + ;; gwcs.wcs._exception.GwcsFrameExistsError: Frame in_frame is + ;; already in the pipeline. + "--deselect=tests/unit/test_nddata.py::test_wcs_slicing" ;; assert 1 == 0 "-k" (string-append "not test_script_executes[script0-]" - " and not test_script_executes[script1-]")))) + " and not test_script_executes[script1-]")) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + ;; See: <https://github.com/GeminiDRSoftware/astrodata/issues/96>. + (lambda _ + (substitute* "pyproject.toml" + (("astropy =.*") "astropy = '^7.0.0'\n") + (("asdf =.*") "asdf = '^5.0.0'\n") + (("numpy =.*") "numpy = '^2.3.0'\n") + (("gwcs =.*") "gwcs = '^1.0.0'\n"))))))) (native-inputs (list python-poetry-core python-objgraph @@ -2819,11 +2831,11 @@ a path (for moving targets) and combining cutouts python-pytest-doctestplus python-tomli)) (propagated-inputs - (list python-asdf-3 - python-astropy-6 - python-gwcs-0.21 + (list python-asdf + python-astropy + python-gwcs python-jsonschema - python-numpy-1)) + python-numpy)) (home-page "https://github.com/GeminiDRSoftware/astrodata") (synopsis "Managing astronomical data through a uniform interface") (description |
