From a4a6cb417dcd47595a0bc410d6e86406d1137a27 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 21 Jan 2025 18:52:02 +0000 Subject: [PATCH] gnu: python-sunpy-soar: Update to 1.11.0. * gnu/packages/astronomy.scm (python-sunpy-soar): Update to 1.11.0. [source] : Adjust it as PyPI archive name has been changed. [arguments] : Skip more tests. [propagated-inputs]: Add python-astropy, python-matplotlib, and python-requests. [native-inputs]: Add python-pytest-doctestplus, python-responses, python-setuptools, and python-wheel. Change-Id: Icf3a4450f6f7898b85d93f83f7ca40c412c12c6f --- gnu/packages/astronomy.scm | 56 ++++++++++++++++++++++++++------------ 1 file changed, 38 insertions(+), 18 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index ea9cbcd79b773006219feedf9f350e5509ad4e8c..85ff0dd9322db98e16de88e1592d5c3ac4c80b41 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -4783,29 +4783,42 @@ SolarSoft data analysis environment.") (define-public python-sunpy-soar (package (name "python-sunpy-soar") - (version "1.10") + (version "1.11.0") (source (origin (method url-fetch) - (uri (pypi-uri "sunpy-soar" version)) + (uri (pypi-uri "sunpy_soar" version)) (sha256 - (base32 "0pb7dr06n20hdhlqf8npb4j1qb5034cgwqi3iciqdi1wxyy5pjc6")))) + (base32 "015pc6m7bdmgyw2inmjv84fgsjj8x90f91gphyv9ql4xn6yspnc2")))) (build-system pyproject-build-system) (arguments (list #:test-flags - ;; Disabe tests requireing network access. - #~(list "-k" (string-append - "not test_search" - " and not test_search_low_latency" - " and not test_insitu_search" - " and not test_no_results" - " and not test_no_instrument" - " and not test_download_path" - " and not test_search_soop" - " and not test_when_soar_provider_passed" - " and not test_when_sdac_provider_passed" - " and not test_when_wrong_provider_passed")) + ;; Disable tests requiring network access to download test data from + ;; and . + #~(list "-k" (string-join + (list "not test_distance_out_of_bounds_warning" + "test_distance_search_insitu" + "test_distance_search_remote_sensing" + "test_distance_time_search" + "test_download_path" + "test_insitu_search" + "test_invalid_detector" + "test_no_instrument" + "test_no_results" + "test_search" + "test_search_detector_instrument_dimension_2" + "test_search_detector_instrument_dimension_4" + "test_search_low_latency" + "test_search_soop" + "test_search_wavelength_detector_column" + "test_wavelength_column_wavelength_exists" + "test_wavelength_range" + "test_wavelength_single" + "test_when_sdac_provider_passed" + "test_when_soar_provider_passed" + "test_when_wrong_provider_passed") + " and not ")) #:phases #~(modify-phases %standard-phases (add-before 'check 'set-home-env @@ -4813,10 +4826,17 @@ SolarSoft data analysis environment.") ;; Tests require HOME to be set. ;; Permission denied: '/homeless-shelter' (setenv "HOME" "/tmp")))))) - (propagated-inputs - (list python-sunpy)) (native-inputs - (list python-pytest)) + (list python-pytest + python-pytest-doctestplus + python-responses + python-setuptools + python-wheel)) + (propagated-inputs + (list python-astropy + python-matplotlib + python-requests + python-sunpy)) (home-page "https://docs.sunpy.org/projects/soar") (synopsis "Solar Orbiter Archive plugin for SunPy") (description