unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#68580] [PATCH 1/2] gnu: python-osmnx: Update to 1.8.1.
  2024-01-19  8:42 [bug#68580] [PATCH 0/2] gnu: python-osmnx: Update to 1.8.1 Troy Figiel
@ 2024-01-19  8:37 ` Troy Figiel
  2024-01-19  8:38 ` [bug#68580] [PATCH 2/2] gnu: python-osmnx: Reformat with guix style Troy Figiel
  2024-01-28 22:32 ` bug#68580: [PATCH 0/2] gnu: python-osmnx: Update to 1.8.1 Sharlatan Hellseher
  2 siblings, 0 replies; 4+ messages in thread
From: Troy Figiel @ 2024-01-19  8:37 UTC (permalink / raw)
  To: 68580

* gnu/packages/geo.scm (python-osmnx): Update to 1.8.1.
[arguments]<#:test-flags>: Add test_geocoder and test_features to ignored
tests. Remove test_geocode_to_df and test_geometries from ignored tests.
[propagated-inputs]: Remove python-pyproj and python-rtree.
[native-inputs]: Add python-hatchling, remove python-numpy.
---
 gnu/packages/geo.scm | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 14e2d9f16b..04166c8c53 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -977,7 +977,7 @@ (define-public python-geopandas
 (define-public python-osmnx
   (package
     (name "python-osmnx")
-    (version "1.1.2")
+    (version "1.8.1")
     (source
      (origin
        ; Fetch from github as the pypi package is missing the tests dir.
@@ -987,7 +987,7 @@ (define-public python-osmnx
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1n8qjn184p5a2s3j6x6iyc1i7p3l3xnbqqxm6ajwgwv6j5fw1d5a"))))
+        (base32 "0n238n07pp5jw9cg8nqw9qhpkw8plzb5imz1gxbliw2l1idqyjcl"))))
     (build-system pyproject-build-system)
     (arguments
      (list
@@ -995,8 +995,8 @@ (define-public python-osmnx
       '(list "-k"
              (string-append
                ;; The following tests require network access.
-               "not test_geocode_to_gdf"
-               " and not test_stats"
+               "not test_stats"
+               " and not test_geocoder"
                " and not test_osm_xml"
                " and not test_elevation"
                " and not test_routing"
@@ -1005,7 +1005,7 @@ (define-public python-osmnx
                " and not test_api_endpoints"
                " and not test_graph_save_load"
                " and not test_graph_from_functions"
-               " and not test_geometries"))))
+               " and not test_features"))))
     (propagated-inputs
       (list python-folium
             python-geopandas
@@ -1013,12 +1013,10 @@ (define-public python-osmnx
             python-networkx
             python-numpy
             python-pandas
-            python-pyproj
             python-requests
-            python-rtree
             python-shapely))
     (native-inputs
-      (list python-numpy python-pytest))
+      (list python-hatchling python-pytest))
     (home-page "https://github.com/gboeing/osmnx")
     (synopsis
       "Retrieve, model, analyze, and visualize OpenStreetMap street networks")
-- 
2.42.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#68580] [PATCH 2/2] gnu: python-osmnx: Reformat with guix style.
  2024-01-19  8:42 [bug#68580] [PATCH 0/2] gnu: python-osmnx: Update to 1.8.1 Troy Figiel
  2024-01-19  8:37 ` [bug#68580] [PATCH 1/2] " Troy Figiel
@ 2024-01-19  8:38 ` Troy Figiel
  2024-01-28 22:32 ` bug#68580: [PATCH 0/2] gnu: python-osmnx: Update to 1.8.1 Sharlatan Hellseher
  2 siblings, 0 replies; 4+ messages in thread
From: Troy Figiel @ 2024-01-19  8:38 UTC (permalink / raw)
  To: 68580

* gnu/packages/geo.scm (python-osmnx): Reformat with guix style.
---
 gnu/packages/geo.scm | 55 +++++++++++++++++++++-----------------------
 1 file changed, 26 insertions(+), 29 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 04166c8c53..1ea0bffcd4 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -980,7 +980,7 @@ (define-public python-osmnx
     (version "1.8.1")
     (source
      (origin
-       ; Fetch from github as the pypi package is missing the tests dir.
+       ;; Fetch from github as the pypi package is missing the tests dir.
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/gboeing/osmnx")
@@ -991,37 +991,34 @@ (define-public python-osmnx
     (build-system pyproject-build-system)
     (arguments
      (list
-      #:test-flags
-      '(list "-k"
-             (string-append
-               ;; The following tests require network access.
-               "not test_stats"
-               " and not test_geocoder"
-               " and not test_osm_xml"
-               " and not test_elevation"
-               " and not test_routing"
-               " and not test_plots"
-               " and not test_find_nearest"
-               " and not test_api_endpoints"
-               " and not test_graph_save_load"
-               " and not test_graph_from_functions"
-               " and not test_features"))))
-    (propagated-inputs
-      (list python-folium
-            python-geopandas
-            python-matplotlib
-            python-networkx
-            python-numpy
-            python-pandas
-            python-requests
-            python-shapely))
-    (native-inputs
-      (list python-hatchling python-pytest))
+      #:test-flags '(list "-k"
+                          (string-append
+                           ;; The following tests require network access.
+                           "not test_stats"
+                           " and not test_geocoder"
+                           " and not test_osm_xml"
+                           " and not test_elevation"
+                           " and not test_routing"
+                           " and not test_plots"
+                           " and not test_find_nearest"
+                           " and not test_api_endpoints"
+                           " and not test_graph_save_load"
+                           " and not test_graph_from_functions"
+                           " and not test_features"))))
+    (propagated-inputs (list python-folium
+                             python-geopandas
+                             python-matplotlib
+                             python-networkx
+                             python-numpy
+                             python-pandas
+                             python-requests
+                             python-shapely))
+    (native-inputs (list python-hatchling python-pytest))
     (home-page "https://github.com/gboeing/osmnx")
     (synopsis
-      "Retrieve, model, analyze, and visualize OpenStreetMap street networks")
+     "Retrieve, model, analyze, and visualize OpenStreetMap street networks")
     (description
-      "OSMnx is a Python library that lets you download geospatial data
+     "OSMnx is a Python library that lets you download geospatial data
 from OpenStreetMap and model, project, visualize, and analyze real-world
 street networks and any other geospatial geometries.  You can download
 and model walkable, drivable, or bikeable urban networks with a single
-- 
2.42.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#68580] [PATCH 0/2] gnu: python-osmnx: Update to 1.8.1.
@ 2024-01-19  8:42 Troy Figiel
  2024-01-19  8:37 ` [bug#68580] [PATCH 1/2] " Troy Figiel
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Troy Figiel @ 2024-01-19  8:42 UTC (permalink / raw)
  To: 68580

This patch series updates python-osmnx to 1.8.1 and reformats the package definition with Guix style.

Troy Figiel (2):
  gnu: python-osmnx: Update to 1.8.1.
  gnu: python-osmnx: Reformat with guix style.

 gnu/packages/geo.scm | 61 ++++++++++++++++++++------------------------
 1 file changed, 28 insertions(+), 33 deletions(-)


base-commit: 0eadd486484fcf9a234758842f74ba28361640db
-- 
2.42.0





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#68580: [PATCH 0/2] gnu: python-osmnx: Update to 1.8.1.
  2024-01-19  8:42 [bug#68580] [PATCH 0/2] gnu: python-osmnx: Update to 1.8.1 Troy Figiel
  2024-01-19  8:37 ` [bug#68580] [PATCH 1/2] " Troy Figiel
  2024-01-19  8:38 ` [bug#68580] [PATCH 2/2] gnu: python-osmnx: Reformat with guix style Troy Figiel
@ 2024-01-28 22:32 ` Sharlatan Hellseher
  2 siblings, 0 replies; 4+ messages in thread
From: Sharlatan Hellseher @ 2024-01-28 22:32 UTC (permalink / raw)
  To: 68580-done

[-- Attachment #1: Type: text/plain, Size: 59 bytes --]


Pushed as 316abe24c1..59433ccdc3 to master.

Thanks,
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-28 22:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-19  8:42 [bug#68580] [PATCH 0/2] gnu: python-osmnx: Update to 1.8.1 Troy Figiel
2024-01-19  8:37 ` [bug#68580] [PATCH 1/2] " Troy Figiel
2024-01-19  8:38 ` [bug#68580] [PATCH 2/2] gnu: python-osmnx: Reformat with guix style Troy Figiel
2024-01-28 22:32 ` bug#68580: [PATCH 0/2] gnu: python-osmnx: Update to 1.8.1 Sharlatan Hellseher

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).