From 6b31f0988212898428b771f446cf37f8b5696893 Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Wed, 8 Oct 2025 15:21:35 -0400 Subject: [PATCH 1/5] initial attempt at Python 3.14 support --- .github/workflows/tests.yaml | 1 + ci/envs/314-latest.yaml | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 ci/envs/314-latest.yaml diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 3d593192..641d4c04 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -33,6 +33,7 @@ jobs: - ci/envs/312-latest.yaml - ci/envs/313-latest.yaml - ci/envs/313-dev.yaml + - ci/envs/314-latest.yaml include: - environment-file: ci/envs/313-latest.yaml os: macos-13 # Intel diff --git a/ci/envs/314-latest.yaml b/ci/envs/314-latest.yaml new file mode 100644 index 00000000..d8977caf --- /dev/null +++ b/ci/envs/314-latest.yaml @@ -0,0 +1,35 @@ +name: test +channels: + - conda-forge +dependencies: + - python=3.14 + - geopandas + - inequality + - libpysal>=4.12.0 + - mapclassify + - networkx + - osmnx + - packaging + - pandas!=1.5.0 + - shapely>=2 + - esda + - tqdm + - numba + - rioxarray + - xvec + # testing + - codecov + - pytest + - pytest-cov + # user guide testing + - dask + - inequality + - jupyter + - matplotlib + - osmnx + - clustergram + - bokeh + - geopy + - ipywidgets + - Iprogress + - pytest-doctestplus From 42f479b4711c9b52044f3450f69ece91d1787b25 Mon Sep 17 00:00:00 2001 From: Martin Fleischmann Date: Thu, 6 Nov 2025 15:53:24 +0100 Subject: [PATCH 2/5] going numba-less? --- ci/envs/314-latest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/envs/314-latest.yaml b/ci/envs/314-latest.yaml index d8977caf..2c9b3d5a 100644 --- a/ci/envs/314-latest.yaml +++ b/ci/envs/314-latest.yaml @@ -14,7 +14,7 @@ dependencies: - shapely>=2 - esda - tqdm - - numba + # - numba - rioxarray - xvec # testing From baa05ca9f4e2e5707ee7b1004be401a3618bd395 Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Fri, 28 Nov 2025 13:12:10 -0500 Subject: [PATCH 3/5] 3.14 dev + other actions use 3.14 --- .github/workflows/mypy.yml | 2 +- .github/workflows/test_docstrings.yaml | 2 +- .github/workflows/test_user_guide.yaml | 2 +- .github/workflows/tests.yaml | 10 +++++----- ci/envs/{313-dev.yaml => 314-dev.yaml} | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) rename ci/envs/{313-dev.yaml => 314-dev.yaml} (97%) diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index 5d93da7a..7d17d3d5 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -29,7 +29,7 @@ jobs: - name: setup micromamba uses: mamba-org/setup-micromamba@v2 with: - environment-file: ci/envs/313-latest.yaml + environment-file: ci/envs/314-latest.yaml create-args: >- mypy diff --git a/.github/workflows/test_docstrings.yaml b/.github/workflows/test_docstrings.yaml index b2f03f77..d1e130c7 100644 --- a/.github/workflows/test_docstrings.yaml +++ b/.github/workflows/test_docstrings.yaml @@ -30,7 +30,7 @@ jobs: - name: setup micromamba uses: mamba-org/setup-micromamba@v2 with: - environment-file: ci/envs/313-latest.yaml + environment-file: ci/envs/314-latest.yaml - name: Install momepy run: pip install . diff --git a/.github/workflows/test_user_guide.yaml b/.github/workflows/test_user_guide.yaml index 569763d3..62414d4e 100644 --- a/.github/workflows/test_user_guide.yaml +++ b/.github/workflows/test_user_guide.yaml @@ -27,7 +27,7 @@ jobs: - name: setup micromamba uses: mamba-org/setup-micromamba@v2 with: - environment-file: ci/envs/313-latest.yaml + environment-file: ci/envs/314-latest.yaml - name: Install momepy run: pip install . diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 390585b9..6a096b4e 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -33,16 +33,16 @@ jobs: - ci/envs/311-latest.yaml - ci/envs/312-latest.yaml - ci/envs/313-latest.yaml - - ci/envs/313-dev.yaml + - ci/envs/314-dev.yaml - ci/envs/314-latest.yaml include: - - environment-file: ci/envs/313-latest.yaml + - environment-file: ci/envs/314-latest.yaml os: macos-15-intel # Intel - - environment-file: ci/envs/313-latest.yaml + - environment-file: ci/envs/314-latest.yaml os: macos-latest # Apple Silicon - - environment-file: ci/envs/313-latest.yaml + - environment-file: ci/envs/314-latest.yaml os: windows-latest - - environment-file: ci/envs/313-min.yaml + - environment-file: ci/envs/314-min.yaml os: ubuntu-latest defaults: run: diff --git a/ci/envs/313-dev.yaml b/ci/envs/314-dev.yaml similarity index 97% rename from ci/envs/313-dev.yaml rename to ci/envs/314-dev.yaml index 4b5d1f73..e05a8ce5 100644 --- a/ci/envs/313-dev.yaml +++ b/ci/envs/314-dev.yaml @@ -3,7 +3,7 @@ name: test channels: - conda-forge dependencies: - - python=3.13 + - python=3.14 - packaging - tqdm - numba From bac191addc665b259856549fb967254c35512652 Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Fri, 28 Nov 2025 13:14:44 -0500 Subject: [PATCH 4/5] correction 3.13-min change --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 6a096b4e..66b0307f 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -42,7 +42,7 @@ jobs: os: macos-latest # Apple Silicon - environment-file: ci/envs/314-latest.yaml os: windows-latest - - environment-file: ci/envs/314-min.yaml + - environment-file: ci/envs/313-min.yaml os: ubuntu-latest defaults: run: From b8c9796f7ca03a3cd15cbe0be4abd176eb91feb3 Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Thu, 11 Dec 2025 13:33:53 -0500 Subject: [PATCH 5/5] numba came early for christmas --- ci/envs/314-dev.yaml | 4 ++-- ci/envs/314-latest.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/envs/314-dev.yaml b/ci/envs/314-dev.yaml index e05a8ce5..b3ca9ce9 100644 --- a/ci/envs/314-dev.yaml +++ b/ci/envs/314-dev.yaml @@ -18,7 +18,9 @@ dependencies: https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \ --extra-index-url \ https://pypi.org/simple + - osmnx - pandas + - scikit-learn - shapely - git+https://github.com/geopandas/geopandas.git - git+https://github.com/pysal/libpysal.git @@ -26,5 +28,3 @@ dependencies: - git+https://github.com/pysal/mapclassify.git - git+https://github.com/pysal/esda.git - git+https://github.com/pysal/inequality.git - - osmnx - - scikit-learn diff --git a/ci/envs/314-latest.yaml b/ci/envs/314-latest.yaml index 2c9b3d5a..d8977caf 100644 --- a/ci/envs/314-latest.yaml +++ b/ci/envs/314-latest.yaml @@ -14,7 +14,7 @@ dependencies: - shapely>=2 - esda - tqdm - # - numba + - numba - rioxarray - xvec # testing