guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 518321f2d8cda36bb1231c261785a66a30c41b31
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Aug 21 12:58:53 2026 +0100

    gnu: python-spacetrack: Update to 2.0.0.
    
    * gnu/packages/astronomy.scm (python-spacetrack): Update to 2.0.0.
    [propagated-inputs]: Remove python-filelock-next and python-httpx; add
    python-filelock and python-httpx2.
    [native-inputs]: Remove python-respx and python-setuptools; add
    python-hatchling and python-pytest-httpx2.
    
    Relates-to: guix/guix!10702
---
 gnu/packages/astronomy.scm | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 6e0b9b2bcd..94740d4f7e 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -11194,34 +11194,35 @@ builds on the capabilities of NumPy and MatPlotLib 
packages.")
 (define-public python-spacetrack
   (package
     (name "python-spacetrack")
-    (version "1.4.0")
+    (version "2.0.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "spacetrack" version))
        (sha256
-        (base32 "0x2c8gag0h8435a5xzqfpm7sw98s908r40y4xjh9c16yvv1m8jzy"))))
+        (base32 "005jmv1gqg17n7a5yq8xijkx68sfa99n2496jjcprpjln58sppz7"))))
     (build-system pyproject-build-system)
     (arguments
      (list
-      ;; tests: 75 passed, 1 deselected, 19 warnings
+      ;; tests: 78 passed, 1 deselected, 2 warnings
       #:test-flags
       #~(list "--asyncio-mode=auto"
-              ;; One test fails with assertion not equal.
+              ;; Test tries accessing
+              ;; 
<https://www.space-track.org/basicspacedata/modeldef/class/gp>.
               "--deselect=tests/test_aio.py::test_modeldef_not_used_trio")))
     (native-inputs
      (list nss-certs-for-test
+           python-hatchling
            python-pytest
-           python-pytest-asyncio
-           python-respx
-           python-setuptools))
+           python-pytest-httpx2
+           python-pytest-asyncio))
     (propagated-inputs
-     (list python-filelock-next
-           python-httpx
+     (list python-filelock
+           python-dateutil
+           python-httpx2
            python-logbook
            python-outcome
            python-platformdirs
-           python-dateutil
            python-represent
            python-rush
            python-sniffio))

Reply via email to