GNU bug report logs - #68580
[PATCH 0/2] gnu: python-osmnx: Update to 1.8.1.

Previous Next

Package: guix-patches;

Reported by: Troy Figiel <troy <at> troyfigiel.com>

Date: Fri, 19 Jan 2024 08:46:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 68580 in the body.
You can then email your comments to 68580 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#68580; Package guix-patches. (Fri, 19 Jan 2024 08:46:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Troy Figiel <troy <at> troyfigiel.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 19 Jan 2024 08:46:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Troy Figiel <troy <at> troyfigiel.com>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/2] gnu: python-osmnx: Update to 1.8.1.
Date: Fri, 19 Jan 2024 09:42:10 +0100
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





Information forwarded to guix-patches <at> gnu.org:
bug#68580; Package guix-patches. (Fri, 19 Jan 2024 08:58:02 GMT) Full text and rfc822 format available.

Message #8 received at 68580 <at> debbugs.gnu.org (full text, mbox):

From: Troy Figiel <troy <at> troyfigiel.com>
To: 68580 <at> debbugs.gnu.org
Subject: [PATCH 1/2] gnu: python-osmnx: Update to 1.8.1.
Date: Fri, 19 Jan 2024 09:37:23 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#68580; Package guix-patches. (Fri, 19 Jan 2024 08:58:02 GMT) Full text and rfc822 format available.

Message #11 received at 68580 <at> debbugs.gnu.org (full text, mbox):

From: Troy Figiel <troy <at> troyfigiel.com>
To: 68580 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: python-osmnx: Reformat with guix style.
Date: Fri, 19 Jan 2024 09:38:16 +0100
* 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





Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Sun, 28 Jan 2024 22:34:03 GMT) Full text and rfc822 format available.

Notification sent to Troy Figiel <troy <at> troyfigiel.com>:
bug acknowledged by developer. (Sun, 28 Jan 2024 22:34:03 GMT) Full text and rfc822 format available.

Message #16 received at 68580-done <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 68580-done <at> debbugs.gnu.org
Subject: [PATCH 0/2] gnu: python-osmnx: Update to 1.8.1.
Date: Sun, 28 Jan 2024 22:32:46 +0000
[Message part 1 (text/plain, inline)]
Pushed as 316abe24c1..59433ccdc3 to master.

Thanks,
Oleg
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 26 Feb 2024 12:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 114 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.