GNU bug report logs - #75015
[PATCH 00/38] Astro update 2024/12

Previous Next

Package: guix-patches;

Reported by: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Date: Sat, 21 Dec 2024 20:21:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #113 received at 75015 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 75015 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 35/38] gnu: python-specutils: Fix build.
Date: Sat, 21 Dec 2024 20:22:55 +0000
* gnu/packages/astronomy.scm (python-specutils):
[arguments] <test-flags>: Skip one more test.
<phases>: Remove 'relax-requirements.

Change-Id: Iba3837d8d87ece1e97f954ffb20afdbfd6e05654
---
 gnu/packages/astronomy.scm | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index e368ce57d4..d180ea4451 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4950,25 +4950,27 @@ (define-public python-specutils
     (build-system pyproject-build-system)
     (arguments
      (list
-      ;; 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.
-      #:test-flags #~(list "-k" "not test_create_spectral_axis")
+      #:test-flags
+      #~(list "-k" (string-join
+                    (list
+                     ;; 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.
+                     "not test_create_spectral_axis"
+                     ;; ValueError: Expected the following order of world
+                     ;; arguments: SpectralCoord
+                     "test_wcs_transformations")
+                    " and not "))
       #:phases
       #~(modify-phases %standard-phases
-          (add-after 'unpack 'relax-requirements
-            (lambda _
-              (substitute* "setup.cfg"
-                ;; numpy>=1.24
-                (("1.24") "1.23.2"))))
           (add-before 'check 'set-home-env
             (lambda _
               ;; Tests require HOME to be set.
               ;;  Permission denied: '/homeless-shelter'
               (setenv "HOME" "/tmp"))))))
     (propagated-inputs
-     (list ;; python-stdatamodels ; cycle with python-synphot, optional.
-           python-asdf
+     (list python-asdf
            python-asdf-astropy
            python-astropy
            python-gwcs
-- 
2.46.0





This bug report was last modified 141 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.