guix_mirror_bot pushed a commit to branch astro-update
in repository guix.
commit 7fafa45a278317a17ddbebf0689b852e0a1c2a55
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Sep 15 16:03:13 2026 +0100
gnu: python-astrocut: Update to 1.3.0.
* gnu/packages/astronomy.scm (python-astrocut): Update to 1.3.0.
[phases]{fix-setup.cfg}: Drop phase as it was fixed upstream.
[propagated-inputs]: Remove python-roman-datamodels; add
python-stdatamodels.
---
gnu/packages/astronomy.scm | 21 +++++++--------------
1 file changed, 7 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 27b863f950b..3121abfde99 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2897,17 +2897,17 @@ astronomical images, especially when there is no WCS
information available.")
(define-public python-astrocut
(package
(name "python-astrocut")
- (version "1.2.0")
+ (version "1.3.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "astrocut" version))
(sha256
- (base32 "1mq8vwjyinzzvmaadmn5ijj6618qa90w4nyq8iszw2zz0fq13028"))))
+ (base32 "1w9r48wdq2x6z6gmzr36nlqvm30hcdrrxn395hf21rxdqjiklh9w"))))
(build-system pyproject-build-system)
(arguments
(list
- ;; tests: 126 passed, 2 skipped, 39 deselected, 1 xfailed, 205 warnings
+ ;; tests: 119 passed, 1 skipped, 39 deselected, 3 warnings
#:test-flags
#~(list "--deselect=docs/astrocut/index.rst::index.rst"
#$@(map (lambda (ls)
@@ -2954,15 +2954,7 @@ astronomical images, especially when there is no WCS
information available.")
;; assert np.False_ where np.False_ = <built-in
;; method all of numpy.ndarray object at
;; 0x7fff553cde90>()
- ("test_utils.py" "test_get_cutout_wcs"))))
- #:phases
- #~(modify-phases %standard-phases
- ;; TODO: Report upstream: ModuleNotFoundError: No module named
- ;; 'packagename'.
- (add-after 'unpack 'fix-setup.cfg
- (lambda _
- (substitute* "setup.cfg"
- (("astropy-package-template-example.*") "")))))))
+ ("test_utils.py" "test_get_cutout_wcs"))))))
(native-inputs
(list nss-certs-for-test
python-pytest
@@ -2978,11 +2970,12 @@ astronomical images, especially when there is no WCS
information available.")
python-gwcs
python-pillow
python-requests
- python-roman-datamodels
python-s3fs
python-s3path
python-scipy
- python-spherical-geometry))
+ python-spherical-geometry
+ ;; [optional]
+ python-stdatamodels))
(home-page "https://astrocut.readthedocs.io")
(synopsis "Cutout tools for astronomical images")
(description