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 5773433..5e2ac79 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,9 @@ [![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). +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. diff --git a/environment.yml b/environment.yml index ca4a561..b0b6503 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=2.0.* - pillow - pre-commit - python=3.11.* - python-igraph - - # install OSMnx beta via pip - - pip - - pip: - - osmnx==2.0.0b2