unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Troy Figiel <troy@troyfigiel.com>
To: 68580@debbugs.gnu.org
Subject: [bug#68580] [PATCH 1/2] gnu: python-osmnx: Update to 1.8.1.
Date: Fri, 19 Jan 2024 09:37:23 +0100	[thread overview]
Message-ID: <87o7dhu2en.fsf@troyfigiel.com> (raw)
In-Reply-To: <87plxxu2xl.fsf@troyfigiel.com>

* 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





  reply	other threads:[~2024-01-19  8:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o7dhu2en.fsf@troyfigiel.com \
    --to=troy@troyfigiel.com \
    --cc=68580@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).