From unknown Sun Jun 22 20:55:56 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#55528 <55528@debbugs.gnu.org> To: bug#55528 <55528@debbugs.gnu.org> Subject: Status: [PATCH 0/2] Add python-osmnx Reply-To: bug#55528 <55528@debbugs.gnu.org> Date: Mon, 23 Jun 2025 03:55:56 +0000 retitle 55528 [PATCH 0/2] Add python-osmnx reassign 55528 guix-patches submitter 55528 Felix Gruber severity 55528 normal tag 55528 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu May 19 15:44:32 2022 Received: (at submit) by debbugs.gnu.org; 19 May 2022 19:44:32 +0000 Received: from localhost ([127.0.0.1]:36635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrm4W-000336-6t for submit@debbugs.gnu.org; Thu, 19 May 2022 15:44:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:46158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrm4U-00032z-Tb for submit@debbugs.gnu.org; Thu, 19 May 2022 15:44:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrm4U-0004BK-GA for guix-patches@gnu.org; Thu, 19 May 2022 15:44:30 -0400 Received: from mout02.posteo.de ([185.67.36.66]:36265) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrm4S-0001qp-9a for guix-patches@gnu.org; Thu, 19 May 2022 15:44:30 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id CFAC424010C for ; Thu, 19 May 2022 21:44:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1652989463; bh=GDDF8+7Zjvs1aPmkt1vHh7xWXnzMiNPBqLy5SSs5aXQ=; h=From:To:Cc:Subject:Date:From; b=nVpAR9Z4YwG9L5pAGJZrMMQ6K3PlRG9+VHqDJQ0p7s8SfkN2QuLhuIw87+pSpNuWu Bk1VBaKSBEPFkAU5V5osAqbcW7T3If8jJ0cGf+gCQWo63yvA808ob+/PlJkuH//RI7 LLt7Sdyt0MgHKkoJPbFi4oXP4LIIau2/agOzDoVTDsiJEqv5Jm71kafW3rsP5+9acN J08O7ODdP7k+ZEWMwWoW1GY70nCwdZpIYrBofasLC2XRGfUVX/Yy+8nhP56619uwIb VtNTAqU6ZPFugfAMJIrfOX6Mhi4Ch1rFnJLFFhpzqaR6u3y+d/STBhkJtX5vXOty0H MAErb5ZOri6lw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4L40fv1Pt1z6tmM; Thu, 19 May 2022 21:44:23 +0200 (CEST) From: Felix Gruber To: guix-patches@gnu.org Subject: [PATCH 0/2] Add python-osmnx Date: Thu, 19 May 2022 19:44:07 +0000 Message-Id: <20220519194407.4435-1-felgru@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=felgru@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Felix Gruber X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This patchset adds the OSMnx Python library for working with OpenStreetMap data. Felix Gruber (2): gnu: python-rtree: Update to 1.0.0. gnu: Add python-osmnx gnu/packages/geo.scm | 82 +++++++++++++++++++++++++++++++++++++++----- 1 file changed, 74 insertions(+), 8 deletions(-) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu May 19 15:46:19 2022 Received: (at 55528) by debbugs.gnu.org; 19 May 2022 19:46:19 +0000 Received: from localhost ([127.0.0.1]:36642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrm6F-00036n-IO for submit@debbugs.gnu.org; Thu, 19 May 2022 15:46:19 -0400 Received: from mout02.posteo.de ([185.67.36.66]:42293) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrm6C-00036Z-Tr for 55528@debbugs.gnu.org; Thu, 19 May 2022 15:46:18 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 4B52A240109 for <55528@debbugs.gnu.org>; Thu, 19 May 2022 21:46:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1652989571; bh=oBSF8vvvc5n2gX0FY5uoLmj9t6p4VZM15av/Hs5Lcvk=; h=From:To:Cc:Subject:Date:From; b=gFAkZsu1Ca+Ci44Zc9aqxCuWU8OPpw0ZC2igClXT4aHJamKTKK9o9twafSbt6ntW8 Fy/OoE2PC26bGoBo3Lo+zWcJ31c1eeJaJ8TZZflqcWoxm5k/swc6mexlF+ndd24aH5 f+SLgNPWia4BNWoM0pfPgpON+iqNieLAVGbZp5xtl3MPEpS2fOrrAVGDX6Per7y63P 3VWsdoVQOt5BIKfLS8e4g1vjww5SfayUeDCZIm04/W5jtY3F+BSEZIiYgo8wnHi38d xZvbA94zavjiGeOOn8kdibM0JrCLfPV6i+b5aAtunV8ICIyMgSXULxWEc5na13pUo9 ytQ1OP+cLdWtA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4L40hy4Np0z9rxG; Thu, 19 May 2022 21:46:10 +0200 (CEST) From: Felix Gruber To: 55528@debbugs.gnu.org Subject: [PATCH 1/2] gnu: python-rtree: Update to 1.0.0. Date: Thu, 19 May 2022 19:46:05 +0000 Message-Id: <20220519194606.4548-1-felgru@posteo.net> In-Reply-To: <20220519194407.4435-1-felgru@posteo.net> References: <20220519194407.4435-1-felgru@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55528 Cc: Felix Gruber X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/geo.scm (python-rtree): Update to 1.0.0. [arguments]: Fix 'find-libspatialindex phase. --- gnu/packages/geo.scm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 0c9240eea7..37a3e6d179 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -1486,27 +1486,28 @@ persisted. (define-public python-rtree (package (name "python-rtree") - (version "0.9.7") + (version "1.0.0") (source (origin (method url-fetch) (uri (pypi-uri "Rtree" version)) (sha256 - (base32 "0gna530vy6rh76035cqh7i2lx199cvxjrzjczg9rm6k96k5751xy")))) + (base32 "10lnhf67c9pb0yisxdqmb52dy6lj1za1h9d4p69v0ihk2a138j6h")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (add-after 'unpack 'find-libspatialindex (lambda* (#:key inputs #:allow-other-keys) - (setenv "SPATIALINDEX_C_LIBRARY" - (string-append (assoc-ref inputs "libspatialindex") - "/lib/libspatialindex.so")))) + (let ((libspatialindex (assoc-ref inputs "libspatialindex"))) + (substitute* "rtree/finder.py" + (("find_library\\(\"spatialindex_c\"\\)") + (string-append "\"" libspatialindex + "/lib/libspatialindex_c.so\"")))))) (replace 'check - (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (lambda* (#:key outputs tests? #:allow-other-keys) (when tests? - (add-installed-pythonpath inputs outputs) - (invoke "python" "-m" "pytest"))))))) + (invoke "pytest"))))))) (native-inputs (list python-numpy python-pytest python-wheel)) (inputs -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu May 19 15:46:22 2022 Received: (at 55528) by debbugs.gnu.org; 19 May 2022 19:46:22 +0000 Received: from localhost ([127.0.0.1]:36645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrm6H-000371-Sv for submit@debbugs.gnu.org; Thu, 19 May 2022 15:46:22 -0400 Received: from mout01.posteo.de ([185.67.36.65]:33113) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrm6F-00036c-HY for 55528@debbugs.gnu.org; Thu, 19 May 2022 15:46:20 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 75A27240027 for <55528@debbugs.gnu.org>; Thu, 19 May 2022 21:46:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1652989573; bh=UPI+mVV3DLAlyM91YTw7WQuMYbRAO/7HCoCJfZiKJBg=; h=From:To:Cc:Subject:Date:From; b=U2YfCmPk6hABnBSi0bP5Ui4Z5LJ8rdBTbMw7lyoJKyAKxV85AWHBPMcDv9NqRD9tT g3GU6zD3thwAA4eC0KUwF6rA2NUijvYwZVCduE8/qEZnt/oZ7cAkFW0KWjRqWaPgwL cp2z6dIHB4mEJu2KWTUAC8luNeEvgj6SOCxE0PZyQDgDK64DdBCOFT6cJm3difimr4 pp/YAtxPGXllqG7165sgS8PSSFWiGlE00y1fWQpm5zpDAzoKjgePKmFDy6xNfm2m/9 v74RIudYjNFSdAfkZzgTA+mGMEHI9MqfPPgc1ECYqFPsvbcNnyNawpeRq18lUhDrS8 KC4wThDUxj0Lw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4L40j05dXyz6tmX; Thu, 19 May 2022 21:46:12 +0200 (CEST) From: Felix Gruber To: 55528@debbugs.gnu.org Subject: [PATCH 2/2] gnu: Add python-osmnx Date: Thu, 19 May 2022 19:46:06 +0000 Message-Id: <20220519194606.4548-2-felgru@posteo.net> In-Reply-To: <20220519194407.4435-1-felgru@posteo.net> References: <20220519194407.4435-1-felgru@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55528 Cc: Felix Gruber X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/geo.scm (python-osmnx): New variable. --- gnu/packages/geo.scm | 65 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 37a3e6d179..ea7483f16f 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -739,6 +739,71 @@ enables you to easily do operations in Python that would otherwise require a spatial database such as PostGIS.") (license license:bsd-3))) +(define-public python-osmnx + (package + (name "python-osmnx") + (version "1.1.2") + (source + (origin + ; Fetch from github as the pypi package is missing the tests dir. + (method git-fetch) + (uri (git-reference + (url "https://github.com/gboeing/osmnx") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1n8qjn184p5a2s3j6x6iyc1i7p3l3xnbqqxm6ajwgwv6j5fw1d5a")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? inputs outputs #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + ; TODO: Disable network tests + (invoke "pytest" "tests" + "-k" + (string-append + ;; The following tests require network access. + "not test_geocode_to_gdf" + " and not test_stats" + " 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_geometries")))))))) + (propagated-inputs + (list python-folium + python-geopandas + python-matplotlib + python-networkx + python-numpy + python-pandas + python-pyproj + python-requests + python-rtree + python-shapely)) + (native-inputs + (list python-numpy python-pytest)) + (home-page "https://github.com/gboeing/osmnx") + (synopsis + "Retrieve, model, analyze, and visualize OpenStreetMap street networks") + (description + "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 +line of Python code then easily analyze and visualize them. You can +just as easily download and work with other infrastructure types, +amenities/points of interest, building footprints, elevation data, +street bearings/orientations, and speed/travel time.") + (license license:expat))) + (define-public mapnik (package (name "mapnik") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 01 17:09:50 2022 Received: (at 55528-done) by debbugs.gnu.org; 1 Jun 2022 21:09:50 +0000 Received: from localhost ([127.0.0.1]:52073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwVbC-0002WV-9D for submit@debbugs.gnu.org; Wed, 01 Jun 2022 17:09:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwVbA-0002WE-Ca for 55528-done@debbugs.gnu.org; Wed, 01 Jun 2022 17:09:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44830) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwVb4-0002qK-RQ; Wed, 01 Jun 2022 17:09:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=iYy2MTv9EB8WCPdCyeFhmX/sa4+BeDlwnarG/2Y2RGA=; b=D3Jb7iDDHN8oHVwdj5Im hLcVsowUIblVUPgacJEsoi/vBV+yMbvMCelp5fQWX7GQA2ufJr2E4t8BRC7WGNXslLRf0qMfKwWW0 dnbs1hNUVrvz/ijbS3fuRonTPprGiS3MOxDwsm0eqhz/a89q4uo+gyF3drBd41+z4OAoNqsjUCqRo 9sRC+xc88q5k45s2RPDtOAN6/NnbEzoQYOy4obZbRH5jd5suJAl//JezzdpQ7hHam173Q+fTl0X8K h0UqhtnoKSrHkd7qom4S49r9sWdRk0lLB4FOQ0KWmn3qHGkUlpWXydr8zKpLtnGtICAaR2IJeTlmt Khh60WVjxtDFXA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:49236 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwVb4-0006w0-E9; Wed, 01 Jun 2022 17:09:42 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Felix Gruber Subject: Re: bug#55528: [PATCH 0/2] Add python-osmnx References: <20220519194407.4435-1-felgru@posteo.net> Date: Wed, 01 Jun 2022 23:09:40 +0200 In-Reply-To: <20220519194407.4435-1-felgru@posteo.net> (Felix Gruber's message of "Thu, 19 May 2022 19:44:07 +0000") Message-ID: <87mtewrsyz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55528-done Cc: 55528-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Felix Gruber skribis: > gnu: python-rtree: Update to 1.0.0. > gnu: Add python-osmnx Applied, thanks! Ludo=E2=80=99. From unknown Sun Jun 22 20:55:56 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 30 Jun 2022 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator