guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu: python-geopandas: Update to 0.13.2.


From: guix-commits
Subject: 02/03: gnu: python-geopandas: Update to 0.13.2.
Date: Mon, 26 Jun 2023 15:41:33 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 2a52c87d9836e9d3818f1fcc93981d8e9ed06e4c
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Jun 26 18:08:34 2023 +0200

    gnu: python-geopandas: Update to 0.13.2.
    
    * gnu/packages/geo.scm (python-geopandas): Update to 0.13.2.
    [build-system]: Use pyproject-build-system.
    [arguments]: Remove custom 'check phase; add #:test-flags.
    [propagated-inputs]: Add python-packaging.
---
 gnu/packages/geo.scm | 33 +++++++++++++--------------------
 1 file changed, 13 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index e246fa0fa6..f14cc38da3 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -903,34 +903,27 @@ pyproj, Rtree, and Shapely.")
 (define-public python-geopandas
   (package
     (name "python-geopandas")
-    (version "0.10.2")
+    (version "0.13.2")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "geopandas" version))
         (sha256
           (base32
-            "1nvim2i47ap1zdwy6kxydskf1cir5g4ij8124wvmrqij0zklggzg"))))
-    (build-system python-build-system)
+            "0s59jjk02l1zajz95n1c7fr3fyj44wzxn569q2y7f34042f6vdg5"))))
+    (build-system pyproject-build-system)
     (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (invoke "pytest"
-                       ; Disable tests that fail due to incompatibilities
-                       ; with our pandas version.
-                       "-k"
-                       (string-append
-                         "not test_getitem_invalid"
-                         " and not test_value_counts"
-                         " and not test_setitem_invalid"
-                         " and not test_insert_invalid")
-                       ; Disable tests that require internet access.
-                       "-m" "not web")))))))
+     (list
+       #:test-flags
+       '(list
+         ;; Test files are missing
+         "--ignore=geopandas/tests/test_overlay.py"
+         "--ignore=geopandas/io/tests/test_file.py"
+         ;; Disable tests that require internet access.
+         "-m" "not web")))
     (propagated-inputs
-      (list python-fiona python-pandas python-pyproj python-shapely))
+      (list python-fiona python-packaging python-pandas python-pyproj
+            python-shapely))
     (native-inputs
       (list python-pytest))
     (home-page "https://geopandas.org";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]