guix_mirror_bot pushed a commit to branch astro-update
in repository guix.
commit 87cb643a031d63a5a2883eedc25c06c300f923ee
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Feb 13 16:36:18 2026 +0000
gnu: python-specreduce: Update to 1.7.0-0.b0f657c.
* gnu/packages/astronomy.scm (python-specreduce): Update to
b0f657c9bd0d297dd19cc13dec4aefe19aec148e commit.
[arguments] <test-flags>: Run all tests.
[propagated-inputs]: Remove python-specutils-1.9; add python-specutils.
(python-specutils-1.9): Delete variable.
Change-Id: I3e4c8d08e68bf8e5ad353b2651933de867830d4a
---
gnu/packages/astronomy.scm | 37 +++++++++++--------------------------
1 file changed, 11 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 842b0cd438..9d3db8841b 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -9497,24 +9497,27 @@ owners/operators, academia and other entities.")
(define-public python-specreduce
(package
(name "python-specreduce")
- (version "1.7.0")
+ ;; For specutils>=2.0, switch to tag when released.
+ (properties '((commit . "b0f657c9bd0d297dd19cc13dec4aefe19aec148e")
+ (revision . "0")))
+ (version (git-version "1.7.0"
+ (assoc-ref properties 'revision)
+ (assoc-ref properties 'commit)))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/astropy/specreduce")
- (commit (string-append "v" version))))
+ (commit (assoc-ref properties 'commit))))
(file-name (git-file-name name version))
(sha256
- (base32 "0ldl8g182jdjbb8inah2h7f5i8n2frh4sllqd9l6zp09ylq4s9rs"))))
+ (base32 "0fir9hq0s0fv2cilvx7qgqw0f47s4qar9chx87x929qmqrd810s2"))))
(build-system pyproject-build-system)
(arguments
(list
- ;; tests: 104 passed, 24 skipped, 1 deselected
+ ;; tests: 129 passed, 25 skipped
#:test-flags
- #~(list "--pyargs" "specreduce"
- ;; See: <https://github.com/astropy/specreduce/issues/292>
- "-k" "not test_init_line_list")
+ #~(list "--pyargs" "specreduce")
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'set-home
@@ -9538,7 +9541,7 @@ owners/operators, academia and other entities.")
python-matplotlib
python-numpy
python-scipy
- python-specutils-1.9))
+ python-specutils))
(home-page "https://specreduce.readthedocs.io/")
(synopsis "Spectroscopic Reductions")
(description
@@ -9667,24 +9670,6 @@ about the underlying principles, see
@url{https://github.com/astropy/astropy-APEs/blob/main/APE13.rst, APE13}.")
(license license:bsd-3)))
-;; For [email protected], remove when no longer required.
-(define-public python-specutils-1.9
- (hidden-package
- (package
- (inherit python-specutils)
- (name "python-specutils")
- (version "1.9.1")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "specutils" version))
- (sha256
- (base32 "0ar4h7pwm1zygcpfjz78878wd8bjgrzsbcnkpwqy26kvqzn928ih"))))
- (arguments
- (substitute-keyword-arguments
- (package-arguments python-specutils)
- ((#:tests? _ #t) #f))))))
-
(define-public python-spherical-geometry
(package
(name "python-spherical-geometry")