guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 9011d04c85477252ade51efa0b5c87f692d53081
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Tue Jul 29 15:05:44 2025 +0100

    gnu: python-sgp4: Fix tests.
    
    * gnu/packages/astronomy.scm (python-sgp4):
      [arguments] <test-backend>: Use 'custom.
      [native-inputs]: Remove python-wheel, and python-setuptools-next, add
      python-setuptools.
    
    Change-Id: If113cf8bafffdae385aa54f4497665918f681270
---
 gnu/packages/astronomy.scm | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 1051fde7cb..2eb546826e 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -6612,15 +6612,10 @@ library with bug fixtures.")
         (base32 "0x06mxdmk2rsbp7ymjvvbj8pwkf4y2w6g8p0znw9zmi5rinxr7p1"))))
     (build-system pyproject-build-system)
     (arguments
-     (list
-      #:phases
-      #~(modify-phases %standard-phases
-          (replace 'check
-            (lambda* (#:key tests? #:allow-other-keys)
-              (when tests?
-                (invoke "python" "-m" "sgp4.tests")))))))
+     (list #:test-backend #~'custom
+           #:test-flags #~(list "-m" "sgp4.tests")))
     (native-inputs
-     (list python-setuptools-next))
+     (list python-setuptools))
     (propagated-inputs
      (list python-numpy))
     (home-page "https://github.com/brandon-rhodes/python-sgp4";)

Reply via email to