Subject: [bug#68925] [PATCH 6/8] gnu: python-pyshp: Update to 2.3.1.

From: Felix Gruber <[email-masked]>
Date: Sun, 4 Feb 2024 16:47:16 +0000

* gnu/packages/geo.scm (python-pyshp): Update to 2.3.1.
  [arguments]: Disable test that requires network access.

Change-Id: Iba7bd8191c17ecf255375a8443319b449057e094
---
 gnu/packages/geo.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 6135451c16..6648dc2d25 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -1323,7 +1323,7 @@ (define-public gdal
 (define-public python-pyshp
   (package
     (name "python-pyshp")
-    (version "2.1.3")
+    (version "2.3.1")
     (source
      (origin
        (method git-fetch)
@@ -1332,8 +1332,13 @@ (define-public python-pyshp
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0jsraqzq82pw19wvx84x7w5cs8agr44a9b5y0jjw540wim4xa73r"))))
+        (base32 "02pbr091p8v4kfv1p6p2aa4asgm9r74dc12r35lvgmhs9y163z69"))))
     (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags
+      ;; This test requires internet access.
+      '(list "--deselect" "test_shapefile.py::test_reader_url")))
     (native-inputs
      (list python-pytest python-pytest-runner))
     (home-page "https://github.com/GeospatialPython/pyshp")
-- 
2.41.0