guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 0a5b164d87de35f09655f375e75e03a2519e48b2
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Oct 21 14:29:06 2026 +0100

    gnu: python-regions: Update to 0.13.
    
    * gnu/packages/astronomy.scm (python-regions): Update to 0.13.
    
    Relates-to: guix/guix!11987
    Reviewed-by: Hugo Buddelmeijer <[email protected]>
---
 gnu/packages/astronomy.scm | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 7b74c60c8de..505bbb1a998 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -10612,25 +10612,27 @@ solar physics.")
 (define-public python-regions
   (package
     (name "python-regions")
-    (version "0.11")
+    (version "0.13")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "regions" version))
        (sha256
-        (base32 "0dmfvk33ywlmxr3f6p9vhr7aq4mf57l1y7ls12d6ds9dibbxl2h0"))))
+        (base32 "0p72cx2wbxyr7jwmvcfr4pblg4c8scvb9sydc57pwjxqplms09j0"))))
     (build-system pyproject-build-system)
     (arguments
      (list
       ;; tests: 1112 passed, 8 skipped, 13 xfailed
       #:test-flags
-      #~(list "--numprocesses" (number->string (parallel-job-count)))
+      #~(list "--pyargs" "regions"
+              "--numprocesses" (number->string (parallel-job-count))
+              ;; Points on cycle comparison is slightly defer.
+              "-k" "not test_matches_shapely[point2-covers]")
       #:phases
       #~(modify-phases %standard-phases
-          (replace 'check
-            (lambda* (#:key tests? test-flags #:allow-other-keys)
-              (with-directory-excursion #$output
-                (apply invoke "pytest" "-vv" test-flags)))))))
+          (add-before 'check 'remove-local-source
+            (lambda _
+              (delete-file-recursively "regions"))))))
     (native-inputs
      (list python-cython
            python-extension-helpers

Reply via email to