guix_mirror_bot pushed a commit to branch astro-updates in repository guix.
commit ae637ed016bb843691f8048a964059a02e523656 Author: Sharlatan Hellseher <[email protected]> AuthorDate: Sat Nov 15 08:25:16 2025 +0000 gnu: python-spisea: Update to 2.1.15. * gnu/packages/astronomy.scm (python-spisea): Update to 2.1.15. [arguments] <phases>: Remove 'preparations; add 'fix-setup.cfg, and 'set-version. [native-inputs]: Remove python-wheel. Change-Id: I27f5f846c3e9bc841ba259d7522909c91b40d6f6 --- gnu/packages/astronomy.scm | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 3dc08e9b5b..7d36a32b46 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -8850,46 +8850,47 @@ spherical polygons that represent arbitrary regions of the sky.") (define-public python-spisea (package (name "python-spisea") - (version "2.1.13") + (version "2.1.15") (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/astropy/SPISEA") - (commit (string-append "v" version)))) + (url "https://github.com/astropy/SPISEA") + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1i25csfcism3b5v74kqp0a3i44qkhwkh61ag65l69krm5w3yvygv")))) + (base32 "18zzyply7mxf3ahlfy33i7hbwrz4abq676gjq66w7wbh7g3b6yy6")))) (build-system pyproject-build-system) (arguments (list - ;; Tests require additional data, see + ;; XXX: Tests require additional data, see ;; <https://spisea.readthedocs.io/en/latest/getting_started.html>. + ;; - https://archive.stsci.edu/hlsps/reference-atlases/ + ;; - hlsp_reference-atlases_hst_multi_everything_multi_v10_sed.tar 741MiB + ;; - https://archive.stsci.edu/hlsps/reference-atlases/ + ;; - hlsp_reference-atlases_hst_multi_star-galaxy-models_multi_v3_synphot2.tar 84MiB #:tests? #f #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'preparations + (add-after 'unpack 'fix-setup.cfg + (lambda _ + (substitute* "setup.cfg" + ;; XXX: Report upstream, the template was not adjusted. + (("astropy-package-template-example = .*") "")))) + (add-after 'unpack 'set-version (lambda _ - ;; Tests and sanity check are failed with ImportError: cannot - ;; import name 'update_default_config' from - ;; 'astropy.config.configuration'. - (delete-file "spisea/_astropy_init.py") (with-output-to-file "spisea/__init__.py" (lambda _ (display (string-append "__version__ = \"" #$(package-version this-package) "\"")))) - (substitute* "setup.cfg" - (("astropy-package-template-example = .*") "")) - ;; The version could not be determined from git checkout. (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))))) (native-inputs (list python-cython python-extension-helpers python-setuptools - python-setuptools-scm - python-wheel)) + python-setuptools-scm)) (propagated-inputs (list python-astropy python-matplotlib
