diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-14 11:12:21 +0000 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:19:00 +0100 |
| commit | 3f241ee93925a2dd945cdf016a92602aa7f237d0 (patch) | |
| tree | eaf02473b4fbcfbd590ab839627e3fd54caa512c /gnu | |
| parent | bcf332f0603231d2286de9006aae36a90ea39ec6 (diff) | |
gnu: python-spectral-cube: Update to 0.6.7.
* gnu/packages/astronomy.scm (python-spectral-cube): Update to 0.6.7.
[arguments] <tests?, test-flags>: Enable, skip 5 tests.
[propagated-inputs]: Remove python-aplpy, python-distributed,
python-fsspec, python-matplotlib, python-pvextractor-bootstrap, and
python-reproject.
[native-inputs]: Remove python-wheel; add python-pytest,
python-pytest-astropy, python-pytest-xdist, and python-setuptools.
Change-Id: Ib34388a456f50d4296218c521e0a2af34a395362
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/astronomy.scm | 41 |
1 files changed, 24 insertions, 17 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index e5fb23eb077..b79ed37a3ac 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -9121,41 +9121,48 @@ instruments.") (define-public python-spectral-cube (package (name "python-spectral-cube") - (version "0.6.6") + (version "0.6.7") (source (origin (method url-fetch) (uri (pypi-uri "spectral_cube" version)) (sha256 - (base32 "0hz2pxc7fnxd1xr1n74ljjc84j25plnclp3y6jwg1banps360c3f")))) + (base32 "1r3mwrnjw2yfjsd3bskl013c3yk0ad3ky1yhxlvyiz4phrahhb3f")))) (build-system pyproject-build-system) (arguments (list - ;; See <https://github.com/radio-astro-tools/radio-beam/issues/129>. - #:tests? #f + ;; tests: 1520 passed, 185 skipped, 17 xfailed, 6048 warnings #:test-flags - #~(list "--numprocesses" (number->string (parallel-job-count))))) + #~(list "--numprocesses" (number->string (min 8 (parallel-job-count))) + ;; AttributeError: module 'numpy' has no attribute 'product' + #$@(map (lambda (test) (string-append "--deselect=" + "spectral_cube/tests/" + "test_casafuncs.py::" + "test")) + (list "test_casa_read_basic[False-False]" + "test_casa_read_basic[False-True]" + "test_casa_read_basic[True-False]" + "test_casa_read_basic[True-True]" + "test_casa_read_basic_nomask"))))) + (native-inputs + (list python-pytest + python-pytest-astropy + python-pytest-xdist + python-regions + python-setuptools + python-setuptools-scm)) (propagated-inputs - (list python-aplpy - python-astropy + (list python-astropy python-casa-formats-io python-dask - python-distributed - python-fsspec python-joblib - python-matplotlib python-numpy python-packaging - python-pvextractor-bootstrap python-radio-beam - python-reproject - python-scipy python-tqdm + ;; [optional] + python-scipy python-zarr)) - (native-inputs - (list python-regions - python-setuptools-scm - python-wheel)) (home-page "https://spectral-cube.readthedocs.io/en/latest/") (synopsis "Library for reading and analyzing astrophysical spectral data cubes") (description |
