gnu: python-astropy: Update to 6.0.1.

* gnu/packages/astronomy.scm (python-astropy): Update to 6.0.1.
[arguments]: <#:test-flags>: Enable recently failing tests; disable some
new one.
[propagated-inputs]: Add python-matplotlib and python-scipy.
[native-inputs]: Remove python-matplotlib and python-scipy; add
python-threadpoolctl.

Change-Id: Iaa48c84565d11c944444ecd1fd77291f4b3c8c3c
This commit is contained in:
Sharlatan Hellseher 2024-04-04 08:22:13 +01:00
parent 6a6378c2eb
commit fcb8ee4548
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1546,13 +1546,13 @@ (define-public celestia-gtk
(define-public python-astropy
(package
(name "python-astropy")
(version "6.0.0")
(version "6.0.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "astropy" version))
(sha256
(base32 "1nbpqx7ibm8zsyyy17y5rmfjamwz6mv0sy4drlisap9hald81k83"))
(base32 "175k2h039c0b8rsf0fdphmxbpjrszd138j8z9zkhh1kd6pg7bac9"))
(modules '((guix build utils)))
(snippet
'(begin
@ -1574,11 +1574,9 @@ (define-public python-astropy
"-k" (string-append
;; Skip tests that need remote data.
"not remote_data"
;; E astropy.samp.errors.SAMPProxyError:
;; <SAMPProxyError 1: 'Timeout expired!'>
" and not test_main"
;; E ModuleNotFoundError: No module named 'wofz'
" and not test_pickle_functional"))
;; ValueError: The truth value of an array with more than
;; one element is ambiguous. Use a.any() or a.all()
" and not test_table_comp[t16-t26]"))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'preparations
@ -1619,7 +1617,6 @@ (define-public python-astropy
python-h5py
python-ipython
python-jplephem
python-matplotlib
python-objgraph
python-pandas
python-pyarrow
@ -1629,21 +1626,23 @@ (define-public python-astropy
python-pytest-mpl
python-pytest-xdist
python-scikit-image
python-scipy
python-setuptools-scm
python-sgp4
python-skyfield
python-threadpoolctl
python-timezonefinder))
(inputs
(list expat wcslib))
(propagated-inputs
(list python-astropy-iers-data
python-configobj
python-matplotlib
python-numpy
python-packaging
python-ply
python-pyerfa
python-pyyaml))
python-pyyaml
python-scipy))
(home-page "https://www.astropy.org/")
(synopsis "Core package for Astronomy in Python")
(description