From 80eb9f29afbd509f276be9a58d5ba1102916918d Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Thu, 3 Oct 2024 21:04:47 -0400 Subject: [PATCH 01/14] add pre-commit --- .pre-commit-config.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..d75edfd --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,11 @@ +files: "sgeop\/|notebooks\/" +repos: + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: "v0.6.8" + hooks: + - id: ruff + - id: ruff-format + +ci: + autofix_prs: false + autoupdate_schedule: quarterly From 3e727ad67e01c652ce184b8e7414e2f109fea3ec Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Thu, 3 Oct 2024 21:05:10 -0400 Subject: [PATCH 02/14] add environment.yml --- environment.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 environment.yml diff --git a/environment.yml b/environment.yml new file mode 100644 index 0000000..a299ae8 --- /dev/null +++ b/environment.yml @@ -0,0 +1,19 @@ +name: sgeop +channels: + - conda-forge +dependencies: + - python=3.12 + - esda + - geopandas + - git + - libpysal + - momepy + - networkx + - numpy + - pandas + - pip + - scipy + - shapely + - pip: + # from bleeding edge functionality + - git+https://github.com/pysal/momepy.git From 550a66a1bb9215cf8ed09a693b91e2728dbd1940 Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Thu, 3 Oct 2024 21:05:33 -0400 Subject: [PATCH 03/14] add pyproject --- pyproject.toml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index acef756..d64d668 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,18 +26,17 @@ classifiers = [ ] requires-python = ">=3.10" dependencies = [ - 'geopandas', - 'momepy', - 'numpy', - 'pandas', - 'shapely', - 'esda', - 'libpysal', - 'scipy', - 'networkx', + "esda", + "geopandas", + "libpysal", + "momepy", + "networkx", + "numpy", + "pandas", + "scipy", + "shapely", ] - [project.urls] Home = "https://github.com/uscuni/" Repository = "https://github.com/uscuni/sgeop" From 9610afece796bc8d6e975169f93cd630c9b76cc9 Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Thu, 3 Oct 2024 21:07:09 -0400 Subject: [PATCH 04/14] update gitignore --- .gitignore | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index c5655d2..5b1c1b8 100644 --- a/.gitignore +++ b/.gitignore @@ -161,4 +161,7 @@ cython_debug/ # option (not recommended) you can uncomment the following to ignore the entire idea folder. #.idea/ -cache/ \ No newline at end of file +cache/ + +# macOS stuff +*.DS_Store \ No newline at end of file From f07dafed9bcc0a96b711b0273b25226e545d6143 Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Thu, 3 Oct 2024 21:15:28 -0400 Subject: [PATCH 05/14] add initial round of envs for CI --- ci/py310_sgeop-oldest.yaml | 22 ++++++++++++++++++++++ ci/py311_sgeop-latest.yaml | 22 ++++++++++++++++++++++ ci/py312_sgeop-dev.yaml | 24 ++++++++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 ci/py310_sgeop-oldest.yaml create mode 100644 ci/py311_sgeop-latest.yaml create mode 100644 ci/py312_sgeop-dev.yaml diff --git a/ci/py310_sgeop-oldest.yaml b/ci/py310_sgeop-oldest.yaml new file mode 100644 index 0000000..e31a3a7 --- /dev/null +++ b/ci/py310_sgeop-oldest.yaml @@ -0,0 +1,22 @@ +name: py310_sgeop-oldest +channels: + - conda-forge +dependencies: + - python=3.10 + - esda=2.5.1 + - fiona=1.9 + - geopandas=0.13.0 + - git + - libpysal + - momepy + - networkx + - numpy + - pandas + - pip + - pyarrow + - pyogrio + - scipy + - shapely + - pip: + # from bleeding edge functionality + - git+https://github.com/pysal/momepy.git diff --git a/ci/py311_sgeop-latest.yaml b/ci/py311_sgeop-latest.yaml new file mode 100644 index 0000000..db8adbb --- /dev/null +++ b/ci/py311_sgeop-latest.yaml @@ -0,0 +1,22 @@ +name: py311_sgeop-latest +channels: + - conda-forge +dependencies: + - python=3.11 + - esda + - geopandas + - git + - libpysal + - momepy + - networkx + - numpy + - osmnx + - pandas + - pip + - pyarrow + - pyogrio + - scipy + - shapely + - pip: + # from bleeding edge functionality + - git+https://github.com/pysal/momepy.git diff --git a/ci/py312_sgeop-dev.yaml b/ci/py312_sgeop-dev.yaml new file mode 100644 index 0000000..5e2b01d --- /dev/null +++ b/ci/py312_sgeop-dev.yaml @@ -0,0 +1,24 @@ +name: py312_sgeop-dev +channels: + - conda-forge +dependencies: + - python=3.12 + - geos # for shapely + - git + - pip + - pip: + # dev versions of packages + - --pre \ + --index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \ + --extra-index-url https://pypi.org/simple + - numpy + - pandas + - pyarrow + - pyogrio + - scipy + - git+https://github.com/pysal/esda.git + - git+https://github.com/geopandas/geopandas.git + - git+https://github.com/pysal/libpysal.git + - git+https://github.com/pysal/momepy.git + - git+https://github.com/networkx/networkx.git + - git+https://github.com/shapely/shapely.git From e1ebe31d018a716b773a1c5a833c75984c4e74b9 Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Thu, 3 Oct 2024 21:18:24 -0400 Subject: [PATCH 06/14] add initial gha for testing --- .github/workflows/testing.yml | 85 +++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 .github/workflows/testing.yml diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml new file mode 100644 index 0000000..32315de --- /dev/null +++ b/.github/workflows/testing.yml @@ -0,0 +1,85 @@ + name: Continuous Integration + + on: + push: + branches: [main] + pull_request: + branches: + - "*" + schedule: + - cron: '59 23 * * *' + workflow_dispatch: + inputs: + version: + description: Manual CI Run + default: test + required: false + + jobs: + tests: + name: ${{ matrix.os }}, ${{ matrix.environment-file }} + runs-on: ${{ matrix.os }} + timeout-minutes: 30 + strategy: + matrix: + os: [ubuntu-latest] + environment-file: [ + ci/py310_sgeop-oldest.yaml, + ci/py311_sgeop-latest.yaml, + ci/py312_sgeop-dev.yaml, + ] + include: + - environment-file: ci/py311_sgeop-latest.yaml + os: macos-13 # Intel + - environment-file: ci/py311_sgeop-latest.yaml + os: macos-14 # Apple Silicon + - environment-file: ci/py311_sgeop-latest.yaml + os: windows-latest + fail-fast: false + + defaults: + run: + shell: bash -l {0} + + steps: + - name: checkout repo + uses: actions/checkout@v4 + with: + fetch-depth: 0 # Fetch all history for all branches and tags. + + - name: setup micromamba + uses: mamba-org/setup-micromamba@v2 + with: + environment-file: ${{ matrix.environment-file }} + micromamba-version: "latest" + + # - must be editable install for current tests to pass + # - due to data & pathing; probably need to: + # 1. rethink current 'convenience' funcs; + # 2. move `data/` into `core/data/` + # 3. something else + - name: install package + run: "pip install -e .[tests]" + + - name: environment info + run: "micromamba info && micromamba list" + + - name: spatial versions + run: 'python -c "import geopandas; geopandas.show_versions();"' + + - name: run tests + run: | + pytest \ + core/ \ + --verbose \ + -r a \ + --numprocesses logical \ + --color yes \ + --cov core \ + --cov-append \ + --cov-report term-missing \ + --cov-report xml . \ + --env_type ${{ matrix.environment-file }} + + - name: codecov + uses: codecov/codecov-action@v4 From 6937a696885f7064600b217d6d46c183c3e01bfc Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Thu, 3 Oct 2024 21:45:31 -0400 Subject: [PATCH 07/14] pytest ENV flag not need here yet --- .github/workflows/testing.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 32315de..292f197 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -78,8 +78,7 @@ --cov core \ --cov-append \ --cov-report term-missing \ - --cov-report xml . \ - --env_type ${{ matrix.environment-file }} + --cov-report xml . - name: codecov uses: codecov/codecov-action@v4 From 85ae69a5f0c054cb3e0da77d700f5cee51ddc0a4 Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Thu, 3 Oct 2024 21:52:33 -0400 Subject: [PATCH 08/14] test proper pacakge name ... --- .github/workflows/testing.yml | 2 +- ci/py310_sgeop-oldest.yaml | 4 ++++ ci/py311_sgeop-latest.yaml | 4 ++++ ci/py312_sgeop-dev.yaml | 4 ++++ 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 292f197..6daa17e 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -70,7 +70,7 @@ - name: run tests run: | pytest \ - core/ \ + sgeop/ \ --verbose \ -r a \ --numprocesses logical \ diff --git a/ci/py310_sgeop-oldest.yaml b/ci/py310_sgeop-oldest.yaml index e31a3a7..613f1ee 100644 --- a/ci/py310_sgeop-oldest.yaml +++ b/ci/py310_sgeop-oldest.yaml @@ -17,6 +17,10 @@ dependencies: - pyogrio - scipy - shapely + # testing + - pytest + - pytest-cov + - pytest-xdist - pip: # from bleeding edge functionality - git+https://github.com/pysal/momepy.git diff --git a/ci/py311_sgeop-latest.yaml b/ci/py311_sgeop-latest.yaml index db8adbb..228a1d5 100644 --- a/ci/py311_sgeop-latest.yaml +++ b/ci/py311_sgeop-latest.yaml @@ -17,6 +17,10 @@ dependencies: - pyogrio - scipy - shapely + # testing + - pytest + - pytest-cov + - pytest-xdist - pip: # from bleeding edge functionality - git+https://github.com/pysal/momepy.git diff --git a/ci/py312_sgeop-dev.yaml b/ci/py312_sgeop-dev.yaml index 5e2b01d..fa2b62a 100644 --- a/ci/py312_sgeop-dev.yaml +++ b/ci/py312_sgeop-dev.yaml @@ -6,6 +6,10 @@ dependencies: - geos # for shapely - git - pip + # testing + - pytest + - pytest-cov + - pytest-xdist - pip: # dev versions of packages - --pre \ From 047374950ad12431ea9c409d6f66f6fa90cde8c5 Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Thu, 3 Oct 2024 22:00:28 -0400 Subject: [PATCH 09/14] fill up matrix --- .github/workflows/testing.yml | 7 ++++--- ci/py312_sgeop-latest.yaml | 26 ++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 ci/py312_sgeop-latest.yaml diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 6daa17e..e70a67d 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -26,14 +26,15 @@ environment-file: [ ci/py310_sgeop-oldest.yaml, ci/py311_sgeop-latest.yaml, + ci/py312_sgeop-latest.yaml, ci/py312_sgeop-dev.yaml, ] include: - - environment-file: ci/py311_sgeop-latest.yaml + - environment-file: ci/py312_sgeop-latest.yaml os: macos-13 # Intel - - environment-file: ci/py311_sgeop-latest.yaml + - environment-file: ci/py312_sgeop-latest.yaml os: macos-14 # Apple Silicon - - environment-file: ci/py311_sgeop-latest.yaml + - environment-file: ci/py312_sgeop-latest.yaml os: windows-latest fail-fast: false diff --git a/ci/py312_sgeop-latest.yaml b/ci/py312_sgeop-latest.yaml new file mode 100644 index 0000000..5afe68a --- /dev/null +++ b/ci/py312_sgeop-latest.yaml @@ -0,0 +1,26 @@ +name: py311_sgeop-latest +channels: + - conda-forge +dependencies: + - python=3.12 + - esda + - geopandas + - git + - libpysal + - momepy + - networkx + - numpy + - osmnx + - pandas + - pip + - pyarrow + - pyogrio + - scipy + - shapely + # testing + - pytest + - pytest-cov + - pytest-xdist + - pip: + # from bleeding edge functionality + - git+https://github.com/pysal/momepy.git From 8215e9698f094cda65e974ff01b86e94aa772d69 Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Thu, 3 Oct 2024 22:27:27 -0400 Subject: [PATCH 10/14] update README --- README.md | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b6fff7a..91e1d2e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -# sgeop +# `sgeop`: Street Geometry Processing Toolkit + +[![Continuous Integration](https://github.com/uscuni/sgeop/actions/workflows/testing.yml/badge.svg)](https://github.com/uscuni/sgeop/actions/workflows/testing.yml) Street geometry processing toolkit @@ -6,4 +8,24 @@ Street geometry processing toolkit import sgeop simplified = sgeop.simplify_network(gdf) -``` \ No newline at end of file +``` + +This package developed & and maintained by: +* [Martin Fleischmann](https://github.com/martinfleis) +* [Anastassia Vybornova](https://github.com/anastassiavybornova) +* [James D. Gaboardi](https://github.com/jGaboardi) + + +## Introduction + +## Documentation + +## Examples + +## Contribution + +## Recommended Citation + +--------------------------------------- + +Copyright (c) 2023-, SGeoP Developers From b40730527c098c5811510ae6a50c6b065ed5af81 Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Fri, 4 Oct 2024 09:42:04 -0400 Subject: [PATCH 11/14] Apply suggestions from code review Co-authored-by: Martin Fleischmann --- .github/workflows/testing.yml | 5 +---- .pre-commit-config.yaml | 2 +- README.md | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index e70a67d..4a97a25 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -60,11 +60,8 @@ # 2. move `data/` into `core/data/` # 3. something else - name: install package - run: "pip install -e .[tests]" + run: "pip install -e . --no-deps" - - name: environment info - run: "micromamba info && micromamba list" - - name: spatial versions run: 'python -c "import geopandas; geopandas.show_versions();"' diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d75edfd..52ad59e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,4 @@ -files: "sgeop\/|notebooks\/" +files: "sgeop\/" repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: "v0.6.8" diff --git a/README.md b/README.md index 91e1d2e..929a59a 100644 --- a/README.md +++ b/README.md @@ -28,4 +28,4 @@ This package developed & and maintained by: --------------------------------------- -Copyright (c) 2023-, SGeoP Developers +Copyright (c) 2024-, SGeoP Developers From 6ffe63fc1b7787767ce690730af3150b0654bad8 Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Fri, 4 Oct 2024 09:48:51 -0400 Subject: [PATCH 12/14] martin comments --- .github/workflows/testing.yml | 5 ----- README.md | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 4a97a25..a8d080a 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -54,11 +54,6 @@ environment-file: ${{ matrix.environment-file }} micromamba-version: "latest" - # - must be editable install for current tests to pass - # - due to data & pathing; probably need to: - # 1. rethink current 'convenience' funcs; - # 2. move `data/` into `core/data/` - # 3. something else - name: install package run: "pip install -e . --no-deps" diff --git a/README.md b/README.md index 929a59a..0891002 100644 --- a/README.md +++ b/README.md @@ -28,4 +28,4 @@ This package developed & and maintained by: --------------------------------------- -Copyright (c) 2024-, SGeoP Developers +Copyright (c) 2024-, sgeop Developers From aa2d78c084605e5d879d26da4152ec3fdb43f325 Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Fri, 4 Oct 2024 10:00:25 -0400 Subject: [PATCH 13/14] need pre-commit -- fix typo -- etc --- ci/py310_sgeop-oldest.yaml | 1 + ci/py311_sgeop-latest.yaml | 1 + ci/py312_sgeop-dev.yaml | 1 + ci/py312_sgeop-latest.yaml | 3 ++- environment.yml | 5 +++++ pyproject.toml | 1 + 6 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ci/py310_sgeop-oldest.yaml b/ci/py310_sgeop-oldest.yaml index 613f1ee..e15b873 100644 --- a/ci/py310_sgeop-oldest.yaml +++ b/ci/py310_sgeop-oldest.yaml @@ -18,6 +18,7 @@ dependencies: - scipy - shapely # testing + - pre-commit - pytest - pytest-cov - pytest-xdist diff --git a/ci/py311_sgeop-latest.yaml b/ci/py311_sgeop-latest.yaml index 228a1d5..8d96458 100644 --- a/ci/py311_sgeop-latest.yaml +++ b/ci/py311_sgeop-latest.yaml @@ -18,6 +18,7 @@ dependencies: - scipy - shapely # testing + - pre-commit - pytest - pytest-cov - pytest-xdist diff --git a/ci/py312_sgeop-dev.yaml b/ci/py312_sgeop-dev.yaml index fa2b62a..72f0eaf 100644 --- a/ci/py312_sgeop-dev.yaml +++ b/ci/py312_sgeop-dev.yaml @@ -7,6 +7,7 @@ dependencies: - git - pip # testing + - pre-commit - pytest - pytest-cov - pytest-xdist diff --git a/ci/py312_sgeop-latest.yaml b/ci/py312_sgeop-latest.yaml index 5afe68a..aa2e9f3 100644 --- a/ci/py312_sgeop-latest.yaml +++ b/ci/py312_sgeop-latest.yaml @@ -1,4 +1,4 @@ -name: py311_sgeop-latest +name: py312_sgeop-latest channels: - conda-forge dependencies: @@ -18,6 +18,7 @@ dependencies: - scipy - shapely # testing + - pre-commit - pytest - pytest-cov - pytest-xdist diff --git a/environment.yml b/environment.yml index a299ae8..de09cc2 100644 --- a/environment.yml +++ b/environment.yml @@ -14,6 +14,11 @@ dependencies: - pip - scipy - shapely + # testing + - pre-commit + - pytest + - pytest-cov + - pytest-xdist - pip: # from bleeding edge functionality - git+https://github.com/pysal/momepy.git diff --git a/pyproject.toml b/pyproject.toml index d64d668..3a6812a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,7 @@ Repository = "https://github.com/uscuni/sgeop" tests = [ "codecov", "coverage", + "pre-commit", "pytest", "pytest-cov", "pytest-xdist", From baf72dcf2bbdf2f4b58ef016bc4a84bb09ded24e Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Fri, 4 Oct 2024 14:02:59 -0400 Subject: [PATCH 14/14] pin min momepy as 0.8.1 --- ci/py310_sgeop-oldest.yaml | 13 ++++--------- ci/py311_sgeop-latest.yaml | 5 ----- ci/py312_sgeop-latest.yaml | 5 ----- environment.yml | 17 ++++++----------- pyproject.toml | 13 ++++++------- 5 files changed, 16 insertions(+), 37 deletions(-) diff --git a/ci/py310_sgeop-oldest.yaml b/ci/py310_sgeop-oldest.yaml index e15b873..30a5e21 100644 --- a/ci/py310_sgeop-oldest.yaml +++ b/ci/py310_sgeop-oldest.yaml @@ -6,22 +6,17 @@ dependencies: - esda=2.5.1 - fiona=1.9 - geopandas=0.13.0 - - git - libpysal - - momepy - - networkx + - momepy=0.8.1 + - networkx=2.8 - numpy - - pandas - - pip + - pandas=1.5.1 - pyarrow - pyogrio - scipy - - shapely + - shapely=2 # testing - pre-commit - pytest - pytest-cov - pytest-xdist - - pip: - # from bleeding edge functionality - - git+https://github.com/pysal/momepy.git diff --git a/ci/py311_sgeop-latest.yaml b/ci/py311_sgeop-latest.yaml index 8d96458..28326b2 100644 --- a/ci/py311_sgeop-latest.yaml +++ b/ci/py311_sgeop-latest.yaml @@ -5,14 +5,12 @@ dependencies: - python=3.11 - esda - geopandas - - git - libpysal - momepy - networkx - numpy - osmnx - pandas - - pip - pyarrow - pyogrio - scipy @@ -22,6 +20,3 @@ dependencies: - pytest - pytest-cov - pytest-xdist - - pip: - # from bleeding edge functionality - - git+https://github.com/pysal/momepy.git diff --git a/ci/py312_sgeop-latest.yaml b/ci/py312_sgeop-latest.yaml index aa2e9f3..ac39aa2 100644 --- a/ci/py312_sgeop-latest.yaml +++ b/ci/py312_sgeop-latest.yaml @@ -5,14 +5,12 @@ dependencies: - python=3.12 - esda - geopandas - - git - libpysal - momepy - networkx - numpy - osmnx - pandas - - pip - pyarrow - pyogrio - scipy @@ -22,6 +20,3 @@ dependencies: - pytest - pytest-cov - pytest-xdist - - pip: - # from bleeding edge functionality - - git+https://github.com/pysal/momepy.git diff --git a/environment.yml b/environment.yml index de09cc2..dac56ba 100644 --- a/environment.yml +++ b/environment.yml @@ -3,22 +3,17 @@ channels: - conda-forge dependencies: - python=3.12 - - esda - - geopandas - - git + - esda>=2.5.1 + - geopandas>=0.13.0 - libpysal - - momepy - - networkx + - momepy>=0.8.1 + - networkx>=2.8 - numpy - - pandas - - pip + - pandas>=1.5.1 - scipy - - shapely + - shapely>=2 # testing - pre-commit - pytest - pytest-cov - pytest-xdist - - pip: - # from bleeding edge functionality - - git+https://github.com/pysal/momepy.git diff --git a/pyproject.toml b/pyproject.toml index 3a6812a..862b272 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,15 +26,15 @@ classifiers = [ ] requires-python = ">=3.10" dependencies = [ - "esda", - "geopandas", + "esda>=2.5.1", + "geopandas>=0.13.0", "libpysal", - "momepy", - "networkx", + "momepy>=0.8.1", + "networkx>=2.8", "numpy", - "pandas", + "pandas>=1.5.1", "scipy", - "shapely", + "shapely>=2", ] [project.urls] @@ -51,7 +51,6 @@ tests = [ "pytest-xdist", ] - [tool.setuptools.packages.find] include = ["sgeop", "sgeop.*"]