diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-13 16:36:18 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-28 22:07:04 +0000 |
| commit | a68832441c70d78308ed647520d6f79cee6efb10 (patch) | |
| tree | e727a4a2c41f40c5f7f474114420a0a5c6641f38 /gnu | |
| parent | 767c58aaedc60ea1158f000cfdbaf272c1b95724 (diff) | |
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
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/astronomy.scm | 37 |
1 files changed, 11 insertions, 26 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 099169e567b..31605189bfc 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -9371,24 +9371,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 @@ -9412,7 +9415,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 @@ -9542,24 +9545,6 @@ about the underlying principles, see @url{https://github.com/astropy/astropy-APEs/blob/main/APE13.rst, APE13}.") (license license:bsd-3))) -;; For python-specreduce@1.7.0, 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") |
