gnu: python-sunpy: Update to 6.0.2.

* gnu/packages/astronomy.scm (python-sunpy): Update to 6.0.2.
[arguments]: <#:test-flags>: Enable more tests as the issue is resolved.

Change-Id: Ib7506442d8c1447425a4ca24a7ffeb5c1cd9fa6a
This commit is contained in:
Sharlatan Hellseher 2024-09-18 15:19:08 +01:00
parent 59340b4bfb
commit 7bdbaf0402
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3587,27 +3587,20 @@ (define-public python-sgp4
(define-public python-sunpy (define-public python-sunpy
(package (package
(name "python-sunpy") (name "python-sunpy")
(version "6.0.1") (version "6.0.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "sunpy" version)) (uri (pypi-uri "sunpy" version))
(sha256 (sha256
(base32 "1yp7x26fzxs66bfvzaim8ns5q6514l66mbz5gabhlxb9pp8i6i85")))) (base32 "0mzmq2ncqgq61c1maxwynrmzcyiafnlil5mx4vhy2cvdyacm8yc9"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
#:test-flags #:test-flags
#~(list #~(list "--numprocesses" "auto"
"--numprocesses" "auto" ;; Requries SpicePy not packed in Guix yet.
"-k" (string-append "--ignore=sunpy/coordinates/tests/test_spice.py")
;; XXX: Failed: DID NOT RAISE <class 'ModuleNotFoundError'>
;; It struggles to find python-opencsv package info with
;; 'importlib.metadata'
"not test_main_nonexisting_module"
" and not test_main_stdlib_module")
;; Requries SpicePy not packed in Guix yet.
"--ignore=sunpy/coordinates/tests/test_spice.py")
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements (add-after 'unpack 'relax-requirements