gnu: python-radio-beam: Update to 0.3.8.

* gnu/packages/astronomy.scm (python-radio-beam): Update to 0.3.8.
[arguments] <#:tests>: Disable, as newer version of NumPy is required.
[native-inputs]: Add python-setuptools and python-wheel. Place before
'propagated-inputs'.

Change-Id: Idca5458b16a70b2ab07d0f30576e0f945b5f0ea0
This commit is contained in:
Sharlatan Hellseher 2024-10-07 21:17:37 +01:00
parent 24825630fc
commit 94dec50325
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -5925,7 +5925,7 @@ (define-public python-rad
(define-public python-radio-beam
(package
(name "python-radio-beam")
(version "0.3.7")
(version "0.3.8")
(source
(origin
(method url-fetch)
@ -5933,13 +5933,24 @@ (define-public python-radio-beam
(sha256
(base32 "0dg6vqdhmzh47awdkkcbf455gw6if2qwxyhcqbq2dkhbwsx680gc"))))
(build-system pyproject-build-system)
(arguments
;; See <https://github.com/radio-astro-tools/radio-beam/issues/129>.
;; E astropy.units.core.UnitScaleError: cannot create a unit with a scale of 0.
;;
;; It might happen due to older version of NumPy in Guix, upastream
;; tested with numpy==2.1.2, where we have 1.23.2.
(list #:tests? #f))
(native-inputs
(list python-pytest-astropy
python-setuptools
python-setuptools-scm
python-wheel))
(propagated-inputs
(list python-astropy
python-matplotlib
python-numpy
python-scipy
python-six))
(native-inputs (list python-pytest-astropy python-setuptools-scm))
(home-page "https://radio-beam.readthedocs.io/en/latest/")
(synopsis "Operations for radio astronomy beams with Astropy")
(description