mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
6cdb7e7e78
commit
1e5cad31e6
1 changed files with 19 additions and 10 deletions
|
@ -8560,23 +8560,30 @@ SunPy.")
|
||||||
(define-public python-sunpy
|
(define-public python-sunpy
|
||||||
(package
|
(package
|
||||||
(name "python-sunpy")
|
(name "python-sunpy")
|
||||||
(version "6.1.1")
|
(version "7.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 "1nqk5q4gd7w59zsps8gyzh6r1mmpzia0z5494za6na5vn2qsc2f6"))))
|
(base32 "1q7z74jf9r65clrq7g6mqqap6455krfp4mxbjs3039jk5gs8d47m"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
;; tests: 2439 passed, 3 xfailed, 35 warnings
|
||||||
#:test-flags
|
#:test-flags
|
||||||
#~(list "--pyargs" "sunpy"
|
#~(list "--pyargs" "sunpy"
|
||||||
"--numprocesses" (number->string (min 8 (parallel-job-count)))
|
"--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
|
;; interpolating from IERS_Auto using predictive values that are
|
||||||
;; more than 30.0 days old.
|
;; 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
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'remove-test-files
|
(add-after 'unpack 'remove-test-files
|
||||||
|
@ -8596,20 +8603,19 @@ SunPy.")
|
||||||
(with-directory-excursion "/tmp"
|
(with-directory-excursion "/tmp"
|
||||||
(apply invoke "pytest" "-vv" test-flags))))))))
|
(apply invoke "pytest" "-vv" test-flags))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list opencv ; For tests, includes OpenCV-Python
|
(list nss-certs-for-test
|
||||||
|
opencv ; For tests, includes OpenCV-Python
|
||||||
python-aiohttp
|
python-aiohttp
|
||||||
python-extension-helpers
|
python-extension-helpers
|
||||||
python-hvpy
|
python-hvpy
|
||||||
python-jplephem
|
python-jplephem
|
||||||
;; python-mplcairo ; Not packed yet in Guix
|
;; python-mplcairo ; Not packed yet in Guix
|
||||||
python-packaging
|
|
||||||
python-pytest-astropy
|
python-pytest-astropy
|
||||||
python-pytest-mock
|
python-pytest-mock
|
||||||
python-pytest-mpl
|
python-pytest-mpl
|
||||||
python-pytest-xdist
|
python-pytest-xdist
|
||||||
python-setuptools
|
python-setuptools-next
|
||||||
python-setuptools-scm-next
|
python-setuptools-scm-next))
|
||||||
python-wheel))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-asdf
|
(list python-asdf
|
||||||
python-asdf-astropy
|
python-asdf-astropy
|
||||||
|
@ -8626,10 +8632,12 @@ SunPy.")
|
||||||
python-matplotlib
|
python-matplotlib
|
||||||
python-mpl-animators
|
python-mpl-animators
|
||||||
python-numpy
|
python-numpy
|
||||||
|
python-packaging
|
||||||
python-pandas
|
python-pandas
|
||||||
python-parfive
|
python-parfive
|
||||||
python-pyerfa
|
python-pyerfa
|
||||||
python-reproject
|
python-reproject
|
||||||
|
python-requests-next
|
||||||
python-scikit-image
|
python-scikit-image
|
||||||
python-scipy
|
python-scipy
|
||||||
;; python-spiceypy ; Not packed yet in Guix, long journey.
|
;; python-spiceypy ; Not packed yet in Guix, long journey.
|
||||||
|
@ -8660,7 +8668,8 @@ to the SolarSoft data analysis environment.")
|
||||||
python-fsspec
|
python-fsspec
|
||||||
python-mpl-animators
|
python-mpl-animators
|
||||||
python-parfive
|
python-parfive
|
||||||
python-pyerfa)))))
|
python-pyerfa
|
||||||
|
python-requests-next)))))
|
||||||
|
|
||||||
(define-public python-sunpy-soar
|
(define-public python-sunpy-soar
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue