From 086edfa50e3915861f3482ac36e26de4e29b61e7 Mon Sep 17 00:00:00 2001 From: Geoff Boeing Date: Sun, 24 Nov 2024 10:01:57 -0800 Subject: [PATCH 1/5] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5773433..0ed6eb3 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,8 @@ [![GitHub tag](https://img.shields.io/github/v/tag/gboeing/osmnx-examples?label=Uses+OSMnx)](https://github.com/gboeing/osmnx) [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/gboeing/osmnx-examples/main?urlpath=lab) -[![Build Status](https://github.com/gboeing/osmnx-examples/workflows/tests/badge.svg?branch=main)](https://github.com/gboeing/osmnx-examples/actions/workflows/tests.yml) +[![Build Status](https://github.com/gboeing/osmnx-examples/workflows/CI/badge.svg?branch=main)](https://github.com/gboeing/osmnx-examples/actions/workflows/tests.yml) + OSMnx 2.0 is in beta: read the [migration guide](https://github.com/gboeing/osmnx/issues/1123). From 859207ce38d8d5551a03ea16ce8c951e1e32e0f5 Mon Sep 17 00:00:00 2001 From: Geoff Boeing Date: Sun, 24 Nov 2024 10:04:42 -0800 Subject: [PATCH 2/5] Update environment.yml --- environment.yml | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/environment.yml b/environment.yml index ca4a561..757ec69 100644 --- a/environment.yml +++ b/environment.yml @@ -3,27 +3,9 @@ channels: - conda-forge dependencies: - # OSMnx required/optional dependencies - - geopandas - - matplotlib - - networkx - - numpy - - pandas - - rasterio - - requests - - rio-vrt - - scipy - - scikit-learn - - shapely - - # other packages needed for CI or running examples - jupyterlab + - osmnx - pillow - pre-commit - python=3.11.* - python-igraph - - # install OSMnx beta via pip - - pip - - pip: - - osmnx==2.0.0b2 From 562d39ca99512081c6f94bed991571e43e795a5c Mon Sep 17 00:00:00 2001 From: Geoff Boeing Date: Sun, 24 Nov 2024 10:06:50 -0800 Subject: [PATCH 3/5] update pre-commit --- .pre-commit-config.yaml | 6 +++--- README.md | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a8cf34e..73ff911 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: "v4.6.0" + rev: "v5.0.0" hooks: - id: check-added-large-files args: [--maxkb=50] @@ -16,13 +16,13 @@ repos: - id: trailing-whitespace - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v3.1.0" + rev: "v4.0.0-alpha.8" hooks: - id: prettier types_or: [markdown, yaml] - repo: https://github.com/nbQA-dev/nbQA - rev: "1.8.5" + rev: "1.9.1" hooks: - id: nbqa-isort additional_dependencies: [isort] diff --git a/README.md b/README.md index 0ed6eb3..5903b86 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/gboeing/osmnx-examples/main?urlpath=lab) [![Build Status](https://github.com/gboeing/osmnx-examples/workflows/CI/badge.svg?branch=main)](https://github.com/gboeing/osmnx-examples/actions/workflows/tests.yml) - OSMnx 2.0 is in beta: read the [migration guide](https://github.com/gboeing/osmnx/issues/1123). [OSMnx](https://github.com/gboeing/osmnx) is a Python package to easily download, model, analyze, and visualize street networks and other geospatial features from OpenStreetMap. You can download and model walking, driving, or biking networks with a single line of code then analyze and visualize them. You can just as easily work with urban amenities/points of interest, building footprints, transit stops, elevation data, street orientations, speed/travel time, and routing. From ac79e067f1e54ad82f7ba207cc7e11987643edd6 Mon Sep 17 00:00:00 2001 From: Geoff Boeing Date: Sun, 24 Nov 2024 10:08:19 -0800 Subject: [PATCH 4/5] remove beta note --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5903b86..5e2ac79 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/gboeing/osmnx-examples/main?urlpath=lab) [![Build Status](https://github.com/gboeing/osmnx-examples/workflows/CI/badge.svg?branch=main)](https://github.com/gboeing/osmnx-examples/actions/workflows/tests.yml) -OSMnx 2.0 is in beta: read the [migration guide](https://github.com/gboeing/osmnx/issues/1123). +OSMnx 2.0 is released: read the [migration guide](https://github.com/gboeing/osmnx/issues/1123). [OSMnx](https://github.com/gboeing/osmnx) is a Python package to easily download, model, analyze, and visualize street networks and other geospatial features from OpenStreetMap. You can download and model walking, driving, or biking networks with a single line of code then analyze and visualize them. You can just as easily work with urban amenities/points of interest, building footprints, transit stops, elevation data, street orientations, speed/travel time, and routing. From a8ab15b750b41c61ac73e01c69ab6229e653a83d Mon Sep 17 00:00:00 2001 From: Geoff Boeing Date: Sun, 24 Nov 2024 10:13:34 -0800 Subject: [PATCH 5/5] pin v2.0 --- environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index 757ec69..b0b6503 100644 --- a/environment.yml +++ b/environment.yml @@ -4,7 +4,7 @@ channels: dependencies: - jupyterlab - - osmnx + - osmnx=2.0.* - pillow - pre-commit - python=3.11.*