Skip to content

Commit 5883ef4

Browse files
authored
Merge pull request #794 from jGaboardi/support_py313_drop_310
spec 0000 Python & deps [2025-06]
2 parents 8a45718 + 44ede54 commit 5883ef4

File tree

18 files changed

+137
-193
lines changed

18 files changed

+137
-193
lines changed

.github/workflows/build_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
strategy:
2121
matrix:
2222
os: ['ubuntu-latest']
23-
environment-file: [ci/312-latest.yaml]
23+
environment-file: [ci/313-latest.yaml]
2424
experimental: [false]
2525
defaults:
2626
run:

.github/workflows/unittests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ jobs:
2424
matrix:
2525
os: [ubuntu-latest]
2626
environment-file:
27-
- ci/310-oldest.yaml
28-
- ci/310-latest.yaml
27+
- ci/311-oldest.yaml
2928
- ci/311-latest.yaml
30-
- ci/312-min.yaml
3129
- ci/312-latest.yaml
32-
- ci/312-dev.yaml
30+
- ci/313-min.yaml
31+
- ci/313-latest.yaml
32+
- ci/313-dev.yaml
3333
include:
34-
- environment-file: ci/312-latest.yaml
34+
- environment-file: ci/313-latest.yaml
3535
os: macos-13 # Intel
36-
- environment-file: ci/312-latest.yaml
36+
- environment-file: ci/313-latest.yaml
3737
os: macos-14 # Apple Silicon
38-
- environment-file: ci/312-latest.yaml
38+
- environment-file: ci/313-latest.yaml
3939
os: windows-latest
4040
defaults:
4141
run:

ci/310-oldest.yaml

Lines changed: 0 additions & 37 deletions
This file was deleted.

ci/311-latest.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies:
2121
- pytest-cov
2222
- pytest-mpl
2323
- pytest-xdist
24-
# optional
24+
# optional
2525
- geodatasets
2626
- joblib
2727
- networkx
@@ -34,4 +34,4 @@ dependencies:
3434
- pandana
3535
- pip
3636
- pip:
37-
- pulp
37+
- pulp

ci/311-oldest.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: py311_libpysal-oldest
2+
channels:
3+
- conda-forge
4+
dependencies:
5+
- python=3.11
6+
- beautifulsoup4=4.13
7+
- geopandas=0.14.0
8+
- jinja2
9+
- numpy=1.26.0
10+
- packaging=23.2
11+
- pandas=2.1.0
12+
- requests=2.32
13+
- scikit-learn=1.4.0
14+
- scipy=1.12.0
15+
- shapely=2.0
16+
# testing
17+
- codecov
18+
- matplotlib=3.8
19+
- pytest
20+
- pytest-cov
21+
- pytest-mpl
22+
- pytest-xdist
23+
# optional
24+
- geodatasets
25+
- joblib=1.4.0
26+
- networkx=3.2
27+
- numba=0.58
28+
- pyarrow=11.0
29+
- sqlalchemy=2.0
30+
- zstd
31+
- xarray=2023.6
32+
- pandana
33+
- h3-py<4
34+
- pip
35+
- pip:
36+
- pulp
37+
- platformdirs==3.11.0

ci/312-dev.yaml

Lines changed: 0 additions & 43 deletions
This file was deleted.

ci/312-latest.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,6 @@ dependencies:
3232
- zstd
3333
- pandana
3434
- xarray
35-
# for docs build action (this env only)
36-
- myst-parser
37-
- nbsphinx
38-
- numpydoc
39-
- pandoc
40-
- sphinx
41-
- sphinxcontrib-bibtex
42-
- sphinx_bootstrap_theme
4335
- pip
4436
- pip:
45-
- pulp
37+
- pulp

ci/313-dev.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: test
2+
channels:
3+
- conda-forge
4+
dependencies:
5+
- python=3.13
6+
- beautifulsoup4
7+
- jinja2
8+
- platformdirs
9+
- requests
10+
# testing
11+
- codecov
12+
- matplotlib
13+
- h3-py
14+
- pytest
15+
- pytest-cov
16+
- pytest-mpl
17+
- pytest-xdist
18+
# optional
19+
- fiona
20+
- geodatasets
21+
- joblib
22+
- networkx
23+
- numba
24+
- packaging
25+
- pyarrow
26+
- pyproj
27+
- sqlalchemy
28+
- zstd
29+
#- pandana # not compatible with Python 3.13 as of 2025-06
30+
- pip
31+
- pip:
32+
# dev versions of packages
33+
- --pre \
34+
--index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
35+
--extra-index-url https://pypi.org/simple
36+
- pandas
37+
- pulp
38+
- scikit-learn
39+
- scipy
40+
- shapely
41+
- xarray
42+
- git+https://github.com/geopandas/geopandas.git@main
43+
- git+https://github.com/pysal/tobler.git@main
Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: test
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.10
5+
- python=3.13
66
- beautifulsoup4
77
- geopandas
88
- jinja2
@@ -29,9 +29,17 @@ dependencies:
2929
- pyarrow
3030
- scikit-learn
3131
- sqlalchemy
32-
- xarray
3332
- zstd
34-
- pandana
33+
#- pandana # not compatible with Python 3.13 as of 2025-06
34+
- xarray
35+
# for docs build action (this env only)
36+
- myst-parser
37+
- nbsphinx
38+
- numpydoc
39+
- pandoc
40+
- sphinx
41+
- sphinxcontrib-bibtex
42+
- sphinx_bootstrap_theme
3543
- pip
3644
- pip:
37-
- pulp
45+
- pulp

ci/312-min.yaml renamed to ci/313-min.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: test
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.12
5+
- python=3.13
66
- beautifulsoup4
77
- fiona
8-
- geopandas-base>=0.12.0 # base to avoid pulling sklearn
8+
- geopandas-base>=0.14.0 # base to avoid pulling sklearn
99
- jinja2
1010
- pandas
1111
- platformdirs

0 commit comments

Comments
 (0)