Skip to content

Commit 47f811c

Browse files
add Python 3.14 support (#716)
* initial attempt at Python 3.14 support * going numba-less? * 3.14 dev + other actions use 3.14 * correction 3.13-min change * numba came early for christmas --------- Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
1 parent 989fc47 commit 47f811c

File tree

6 files changed

+46
-10
lines changed

6 files changed

+46
-10
lines changed

.github/workflows/mypy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: setup micromamba
3030
uses: mamba-org/setup-micromamba@v2
3131
with:
32-
environment-file: ci/envs/313-latest.yaml
32+
environment-file: ci/envs/314-latest.yaml
3333
create-args: >-
3434
mypy
3535

.github/workflows/test_docstrings.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: setup micromamba
3131
uses: mamba-org/setup-micromamba@v2
3232
with:
33-
environment-file: ci/envs/313-latest.yaml
33+
environment-file: ci/envs/314-latest.yaml
3434

3535
- name: Install momepy
3636
run: pip install .

.github/workflows/test_user_guide.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: setup micromamba
2828
uses: mamba-org/setup-micromamba@v2
2929
with:
30-
environment-file: ci/envs/313-latest.yaml
30+
environment-file: ci/envs/314-latest.yaml
3131

3232
- name: Install momepy
3333
run: pip install .

.github/workflows/tests.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,14 @@ jobs:
3333
- ci/envs/311-latest.yaml
3434
- ci/envs/312-latest.yaml
3535
- ci/envs/313-latest.yaml
36-
- ci/envs/313-dev.yaml
36+
- ci/envs/314-dev.yaml
37+
- ci/envs/314-latest.yaml
3738
include:
38-
- environment-file: ci/envs/313-latest.yaml
39+
- environment-file: ci/envs/314-latest.yaml
3940
os: macos-15-intel # Intel
40-
- environment-file: ci/envs/313-latest.yaml
41+
- environment-file: ci/envs/314-latest.yaml
4142
os: macos-latest # Apple Silicon
42-
- environment-file: ci/envs/313-latest.yaml
43+
- environment-file: ci/envs/314-latest.yaml
4344
os: windows-latest
4445
- environment-file: ci/envs/313-min.yaml
4546
os: ubuntu-latest
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: test
33
channels:
44
- conda-forge
55
dependencies:
6-
- python=3.13
6+
- python=3.14
77
- packaging
88
- tqdm
99
- numba
@@ -18,13 +18,13 @@ dependencies:
1818
https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
1919
--extra-index-url \
2020
https://pypi.org/simple
21+
- osmnx
2122
- pandas
23+
- scikit-learn
2224
- shapely
2325
- git+https://github.com/geopandas/geopandas.git
2426
- git+https://github.com/pysal/libpysal.git
2527
- git+https://github.com/networkx/networkx.git
2628
- git+https://github.com/pysal/mapclassify.git
2729
- git+https://github.com/pysal/esda.git
2830
- git+https://github.com/pysal/inequality.git
29-
- osmnx
30-
- scikit-learn

ci/envs/314-latest.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: test
2+
channels:
3+
- conda-forge
4+
dependencies:
5+
- python=3.14
6+
- geopandas
7+
- inequality
8+
- libpysal>=4.12.0
9+
- mapclassify
10+
- networkx
11+
- osmnx
12+
- packaging
13+
- pandas!=1.5.0
14+
- shapely>=2
15+
- esda
16+
- tqdm
17+
- numba
18+
- rioxarray
19+
- xvec
20+
# testing
21+
- codecov
22+
- pytest
23+
- pytest-cov
24+
# user guide testing
25+
- dask
26+
- inequality
27+
- jupyter
28+
- matplotlib
29+
- osmnx
30+
- clustergram
31+
- bokeh
32+
- geopy
33+
- ipywidgets
34+
- Iprogress
35+
- pytest-doctestplus

0 commit comments

Comments
 (0)