guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 5bf81fd92a3831bf76cd4c75349b8420dfca1db5
Author: Sharlatan Hellseher <[email protected]>
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 d129987bf7..a1ffe9830c 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -6598,15 +6598,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")