guix_mirror_bot pushed a commit to branch astro-update
in repository guix.
commit 85a9a1a0abe380041fac492dc6a36a21d0992662
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Jan 15 11:59:08 2026 +0000
gnu: python-pypeit: Update to 1.18.1.
* gnu/packages/astronomy.scm (python-pypeit): Update to 1.18.1.
[phases]{post-check}: Remove phase.
[propagated-inputs]: Remove python-astropy-6 and
python-extension-helpers; add python-astropy.
(python-pypeit-minimal)[arguments]<phases>: Remove modification of not
existing phase.
Change-Id: I326ae44eee7f1311dbfefb1c395b2ecd9264e98b
---
gnu/packages/astronomy.scm | 22 +++++++---------------
1 file changed, 7 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 14e0e02a80..fa118b8d39 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -7555,7 +7555,7 @@ N-Chilada and RAMSES AMR outputs.")
(define-public python-pypeit
(package
(name "python-pypeit")
- (version "1.17.4") ;XXX: Newer versions need to be built with NumPy 2+
+ (version "1.18.1")
(source
(origin
(method git-fetch)
@@ -7564,11 +7564,11 @@ N-Chilada and RAMSES AMR outputs.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "16y4vkjmd29zrjhhv2fyv9rksjblri3zf6m81mhmhys5sy09xmfz"))))
+ (base32 "171sbw8r83ll994nn2faz3b7c381hrss84fgih3lqqij1d4395hm"))))
(build-system pyproject-build-system)
(arguments
(list
- ;; tests: 242 passed, 10 skipped, 5 deselected, 120 warnings
+ ;; tests: 245 passed, 5 deselected, 112 warnings
#:test-flags
;; Tests still try to download test data even it's available in
;; "pypeit/data".
@@ -7585,7 +7585,7 @@ N-Chilada and RAMSES AMR outputs.")
;; XXX: See: <https://github.com/pypeit/PypeIt/issues/1786>.
(add-after 'unpack 'remove-missing-scripts-entry-points
(lambda _
- (substitute* "setup.cfg"
+ (substitute* "pyproject.toml"
((".*pypeit_install_ql_calibs.*") "")
((".*pypeit_ql_multislit.*") ""))))
(add-after 'unpack 'set-version
@@ -7603,11 +7603,7 @@ N-Chilada and RAMSES AMR outputs.")
(system "Xvfb &")
(setenv "DISPLAY" ":0")
(setenv "HOME" "/tmp")
- (setenv "MPLBACKEND" "agg")))
- (add-before 'check 'post-check
- (lambda _
- (for-each delete-file-recursively
- (find-files #$output "__pycache__" #:directories?
#t)))))))
+ (setenv "MPLBACKEND" "agg"))))))
(native-inputs
(list nss-certs-for-test
python-cython
@@ -7620,10 +7616,9 @@ N-Chilada and RAMSES AMR outputs.")
python-specutils
xorg-server-for-tests))
(propagated-inputs
- (list python-astropy-6
+ (list python-astropy
python-bottleneck
python-configobj
- python-extension-helpers
python-fast-histogram
python-ginga
python-ipython
@@ -7660,10 +7655,7 @@ as cross-dispersed echelle spectra.")
(arguments
(substitute-keyword-arguments
(package-arguments python-pypeit)
- ((#:tests? _ #t) #f)
- ((#:phases phases '%standard-phases)
- #~(modify-phases #$phases
- (delete 'pre-check)))))
+ ((#:tests? _ #t) #f)))
(native-inputs
(list python-setuptools
python-setuptools-scm))))