guix_mirror_bot pushed a commit to branch astro-updates in repository guix.
commit 1dfc0f364ee49afd0be4f8d54538e65759aa275c Author: Sharlatan Hellseher <[email protected]> AuthorDate: Thu Aug 21 12:18:23 2025 +0100 gnu: python-sunpy: Update to 7.0.1. * gnu/packages/astronomy.scm (python-sunpy): Update to 7.0.1. [arguments] <test-flags>: Skip 3 tests. [propagated-inputs]: Add python-packaging and python-requests-next. [native-inputs]: Remove python-packaging, python-setuptools, and python-wheel; add nss-certs-for-test, python-setuptools-next. (python-sunpy-minimal): Add python-requests-next. Change-Id: I0c549ab50381a84b9911d1e6b2cdecf4d42a0a0f --- gnu/packages/astronomy.scm | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 138cce4d77..438607f2ed 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -8567,23 +8567,30 @@ SunPy.") (define-public python-sunpy (package (name "python-sunpy") - (version "6.1.1") + (version "7.0.1") (source (origin (method url-fetch) (uri (pypi-uri "sunpy" version)) (sha256 - (base32 "1nqk5q4gd7w59zsps8gyzh6r1mmpzia0z5494za6na5vn2qsc2f6")))) + (base32 "1q7z74jf9r65clrq7g6mqqap6455krfp4mxbjs3039jk5gs8d47m")))) (build-system pyproject-build-system) (arguments (list + ;; tests: 2439 passed, 3 xfailed, 35 warnings #:test-flags #~(list "--pyargs" "sunpy" "--numprocesses" (number->string (min 8 (parallel-job-count))) - ;; Test introduces a time bomb and fails with error: ValueError: + "-m" "not remote_data" + ;; [1] Test introduces a time bomb and fails with error: ValueError: ;; interpolating from IERS_Auto using predictive values that are ;; more than 30.0 days old. - "-k" "not test_print_params") + ;; [2,3] Failed: DID NOT RAISE <class 'ModuleNotFoundError'> + "-k" (string-join + (list "not test_print_params" ;1 + "test_main_nonexisting_module" ;2 + "test_main_stdlib_module") ;3 + " and not ")) #:phases #~(modify-phases %standard-phases (add-after 'unpack 'remove-test-files @@ -8603,20 +8610,19 @@ SunPy.") (with-directory-excursion "/tmp" (apply invoke "pytest" "-vv" test-flags)))))))) (native-inputs - (list opencv ; For tests, includes OpenCV-Python + (list nss-certs-for-test + opencv ; For tests, includes OpenCV-Python python-aiohttp python-extension-helpers python-hvpy python-jplephem ;; python-mplcairo ; Not packed yet in Guix - python-packaging python-pytest-astropy python-pytest-mock python-pytest-mpl python-pytest-xdist - python-setuptools - python-setuptools-scm-next - python-wheel)) + python-setuptools-next + python-setuptools-scm-next)) (propagated-inputs (list python-asdf python-asdf-astropy @@ -8633,10 +8639,12 @@ SunPy.") python-matplotlib python-mpl-animators python-numpy + python-packaging python-pandas python-parfive python-pyerfa python-reproject + python-requests-next python-scikit-image python-scipy ;; python-spiceypy ; Not packed yet in Guix, long journey. @@ -8667,7 +8675,8 @@ to the SolarSoft data analysis environment.") python-fsspec python-mpl-animators python-parfive - python-pyerfa))))) + python-pyerfa + python-requests-next))))) (define-public python-sunpy-soar (package
