gnu: python-sbpy: Update to 0.5.0.

* gnu/packages/astronomy.scm (python-sbpy): Update to 0.5.0.
[arguments]: <#:test-flags>: Enable all tests as upstream resolve
issues.  Add parallelisation to tests.

Change-Id: Ibab879910faf45b6d9319e9a5ee4ad59735cce4f
This commit is contained in:
Sharlatan Hellseher 2024-09-18 15:00:22 +01:00
parent 5ed709b53d
commit b0d177ee8e
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -5193,23 +5193,17 @@ (define-public python-pysynphot
(define-public python-sbpy
(package
(name "python-sbpy")
(version "0.4.0")
(version "0.5.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "sbpy" version))
(sha256
(base32 "18f3056fgzpvjj43m845wl9znl4dqxs8f8qv3gpay7kik4l8a1fc"))))
(base32 "1xqi29rrh7v05zmvyl8gffrkrw5rlcxig1w6xw1v8f7ikydb5plv"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
;; See <https://github.com/NASA-Planetary-Science/sbpy/issues/397>.
#~(list "--ignore=sbpy/spectroscopy/tests/test_specgrad.py"
;; See <https://github.com/NASA-Planetary-Science/sbpy/issues/398>
"-k" (string-append "not test_from_fluxd"
" and not test_bandpass"
" and not test_spectral_density_vega_bp"))
#:test-flags #~(list "--numprocesses" "auto")
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'set-home-env
@ -5224,6 +5218,7 @@ (define-public python-sbpy
python-ginga
python-numpy
python-photutils
;python-pyoorb ;not packed yet in Guix
python-pyyaml
python-scipy
python-synphot))