gnu: python-sunpy: Update to 6.0.1.

* gnu/packages/astronomy.scm (python-sunpy): Update to 6.0.1.
[propagated-inputs]: Remove python-jplephem and python-sqlalchemy; add python-pyerfa.
[native-inputs]: Remove python-pytest and python-pytest-doctestplus; add
python-jplephem.

Change-Id: I5e291fdb0fcf19e107a390fc68dec9fb9a8395bb
This commit is contained in:
Sharlatan Hellseher 2024-07-30 23:27:12 +01:00
parent 82e6a8fed7
commit 8aa72adaac
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5

View File

@ -3222,13 +3222,13 @@ orbits described in TLE files.")
(define-public python-sunpy (define-public python-sunpy
(package (package
(name "python-sunpy") (name "python-sunpy")
(version "5.1.5") (version "6.0.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "sunpy" version)) (uri (pypi-uri "sunpy" version))
(sha256 (sha256
(base32 "1jdkkcv247chsj08wrxxv0m577ji5cg7mxx5pw7q0ahmnq93xk2p")))) (base32 "1yp7x26fzxs66bfvzaim8ns5q6514l66mbz5gabhlxb9pp8i6i85"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
@ -3247,10 +3247,11 @@ orbits described in TLE files.")
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements (add-after 'unpack 'relax-requirements
(lambda _ (lambda _
(substitute* "setup.cfg" (substitute* "pyproject.toml"
;; It's already updated in master branch, but not released yet. ;; packaging>=23.0
;; drms>=0.6.1,<0.7.0 ((">=23.0") ">=21.3")
(("0.7.0") "0.7.2")))) ;; numpy>=1.23.5
((">=1.23.5") ">=1.23.2"))))
(add-before 'install 'writable-compiler (add-before 'install 'writable-compiler
(lambda _ (lambda _
(make-file-writable "sunpy/_compiler.c"))) (make-file-writable "sunpy/_compiler.c")))
@ -3266,10 +3267,10 @@ python_files = test_*.py"))))))))
python-aiohttp python-aiohttp
python-extension-helpers python-extension-helpers
python-hvpy python-hvpy
python-jplephem
;; python-mplcairo ; Not packed yet in Guix
python-packaging python-packaging
python-pytest
python-pytest-astropy python-pytest-astropy
python-pytest-doctestplus
python-pytest-mock python-pytest-mock
python-pytest-mpl python-pytest-mpl
python-pytest-xdist python-pytest-xdist
@ -3288,16 +3289,15 @@ python_files = test_*.py"))))))))
python-h5netcdf python-h5netcdf
python-h5py python-h5py
python-hypothesis python-hypothesis
python-jplephem
python-matplotlib python-matplotlib
python-mpl-animators python-mpl-animators
python-numpy python-numpy
python-pandas python-pandas
python-pyerfa
python-reproject python-reproject
python-scikit-image python-scikit-image
python-scipy python-scipy
;; python-spiceypy ; Not packed yet in Guix, long jorney. ;; python-spiceypy ; Not packed yet in Guix, long jorney.
python-sqlalchemy
python-tqdm python-tqdm
python-zeep)) python-zeep))
(home-page "https://sunpy.org") (home-page "https://sunpy.org")