guix_mirror_bot pushed a commit to branch astro-update
in repository guix.

commit 57002b2247947ec2dc209bd2a68acf785175baac
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Jan 20 09:13:45 2026 +0000

    gnu: python-specutils: Use python-gwcs-0.26.
    
    * gnu/packages/astronomy.scm (python-specutils):
    [arguments] <test-flags>: Run tests from installed Python module with
    "--pyargs".
    [phases]{remove-local-source}: New phase.
    [propagated-inputs]: Remove python-gwcs; add python-gwcs-0.26.
    
    Change-Id: I1a8a894946e2961a46d3665e13861ad1dfd35236
---
 gnu/packages/astronomy.scm | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 9946525ecb..03fe21d835 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -9569,14 +9569,18 @@ of axis order, spatial projections, and spectral units 
that exist in the wild.
     (build-system pyproject-build-system)
     (arguments
      (list
-      ;; 572 passed, 131 skipped, 3 xfailed
+      ;; tests: 559 passed, 130 skipped, 1 deselected, 3 xfailed
       #:test-flags
       ;; Disabling test requiring access to download
       ;; <https://datacenter.iers.org/data/9/finals2000A.all>.
       ;; XXX: Check if test data may be packed as standalone package.
-      #~(list "-k" "not test_create_spectral_axis")
+      #~(list "-k" "not test_create_spectral_axis"
+              "--pyargs" "specutils")
       #:phases
       #~(modify-phases %standard-phases
+          (add-before 'check 'remove-local-source
+            (lambda _
+              (delete-file-recursively "specutils")))
           (add-before 'check 'set-home-env
             (lambda _
               ;; Tests require HOME to be set.
@@ -9593,7 +9597,7 @@ of axis order, spatial projections, and spectral units 
that exist in the wild.
      (list python-asdf
            python-asdf-astropy
            python-astropy
-           python-gwcs
+           python-gwcs-0.26
            python-ndcube-minimal
            python-numpy
            python-scipy))

Reply via email to