Skip to content

Commit 70a92ae

Browse files
authored
Support Python313, add setuptools to requirements (#707)
* update metadata to include Python3.13 * synchronize dependency versions, add missing setuptools and setuptools-scm * add Python3.13 build to CI * add supported versions badge tro README.md
1 parent 2a91b29 commit 70a92ae

File tree

7 files changed

+41
-31
lines changed

7 files changed

+41
-31
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
python-version: ["3.10", "3.11", "3.12"]
27+
python-version: ["3.10", "3.11", "3.12", "3.13"]
2828
steps:
2929
- uses: actions/checkout@v4
3030
with:

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
| CI | [![GitHub Workflow Status][github-ci-badge]][github-ci-link] [![Code Coverage Status][codecov-badge]][codecov-link] [![pre-commit.ci status][pre-commit.ci-badge]][pre-commit.ci-link] |
1212
| :----------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
1313
| **Docs** | [![Documentation Status][rtd-badge]][rtd-link] |
14-
| **Package** | [![Conda][conda-badge]][conda-link] [![PyPI][pypi-badge]][pypi-link] |
14+
| **Package** | [![Conda][conda-badge]][conda-link] [![PyPI][pypi-badge]][pypi-link] [![Versions][versions-badge]][pypi-link] |
1515
| **License** | [![License][license-badge]][repo-link] |
1616
| **Citation** | [![Zenodo][zenodo-badge]][zenodo-link] |
1717

@@ -110,3 +110,4 @@ conda install -c conda-forge intake-esm
110110
[repo-link]: https://github.com/intake/intake-esm
111111
[pre-commit.ci-badge]: https://results.pre-commit.ci/badge/github/intake/intake-esm/main.svg
112112
[pre-commit.ci-link]: https://results.pre-commit.ci/latest/github/intake/intake-esm/main
113+
[versions-badge]: https://img.shields.io/pypi/pyversions/intake-esm

ci/environment-docs.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,32 @@ channels:
44
- nodefaults
55
dependencies:
66
- cftime
7-
- dask>=2024.12
7+
- dask >=2024.12
88
- distributed
99
- ecgtools >=2022.10.7
10-
- fsspec>=2024.12
10+
- fsspec >=2024.12
1111
- gcsfs >=2024.12
12-
- intake>=2.0
12+
- intake >=2.0
1313
- jupyterlab
1414
- matplotlib
1515
- myst-nb
16-
- netcdf4!=1.6.1
17-
- pandas>=2.1.0
16+
- netcdf4 >=1.5.5,!=1.6.1
17+
- pandas >=2.1.0
1818
- pip
1919
- pydantic>=2.0
2020
- python-graphviz
2121
- python=3.11
2222
- s3fs >=2024.12
23-
- sphinx<6.0
23+
- setuptools >=65.0.0
24+
- setuptools_scm >=7.1.0
25+
- sphinx <6.0
2426
- sphinx-copybutton
2527
- sphinx-design
2628
- watermark
27-
- xarray-datatree>=0.0.9
28-
- xarray>=2024.10
29-
- zarr>=2.12
30-
- furo>=2022.09.15
29+
- xarray-datatree >=0.0.9
30+
- xarray >=2024.10
31+
- zarr >=2.12,<3.0
32+
- furo >=2022.09.15
3133
- pip:
3234
- git+https://github.com/ncar-xdev/ecgtools
3335
- sphinxext-opengraph

ci/environment-upstream-dev.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ dependencies:
66
- cartopy
77
- cftime
88
- codecov
9-
- dask>=2024.12
10-
- fastprogress>=1.0.0
9+
- dask >=2024.12
10+
- fastprogress >=1.0.0
1111
- flaky >= 3.8.0
1212
- gcsfs >=2024.12
13-
- h5netcdf>=0.8.1
13+
- h5netcdf >=0.8.1
1414
- ipython
1515
- matplotlib
16-
- netcdf4>=1.5.5
17-
- pandas>=2.1.0
16+
- netcdf4 >=1.5.5,!=1.6.1
17+
- pandas >=2.1.0
1818
- pip
1919
- pooch
2020
- pre-commit
2121
- psutil
22-
- pydantic>=2.0
22+
- pydantic >=2.0
2323
- pydap
2424
- pyproj
2525
- pytest
@@ -30,10 +30,12 @@ dependencies:
3030
- pytest-xdist
3131
- regionmask
3232
- s3fs >=2024.12
33+
- setuptools >=65.0.0
34+
- setuptools_scm >=7.1.0
3335
- scipy
3436
- xarray-datatree
3537
- xgcm
36-
- zarr>=2.10,<3.0
38+
- zarr >=2.10,<3.0
3739
- pip:
3840
- git+https://github.com/intake/intake.git
3941
- git+https://github.com/pydata/xarray.git

ci/environment.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,32 @@ channels:
55
dependencies:
66
- cftime
77
- codecov
8-
- dask>=2024.12
9-
- fastprogress>=1.0.0
10-
- flaky >= 3.8.0
11-
- fsspec>=2024.12
8+
- dask >=2024.12
9+
- fastprogress >=1.0.0
10+
- flaky >=3.8.0
11+
- fsspec >=2024.12
1212
- gcsfs >=2024.12
13-
- h5netcdf>=0.8.1
14-
- intake>=2.0
13+
- h5netcdf >=0.8.1
14+
- intake >=2.0
1515
- ipython
1616
- matplotlib
17-
- netcdf4>=1.5.5
18-
- pandas>=2.1.0
17+
- netcdf4 >=1.5.5,!=1.6.1
18+
- pandas >=2.1.0
1919
- pip
2020
- pooch
2121
- pre-commit
22-
- pydantic>=2.0
22+
- pydantic >=2.0
2323
- pydap
2424
- pytest
2525
- pytest-cov
2626
- pytest-sugar
2727
- pytest-xdist
2828
- pytest-mock
2929
- s3fs >=2024.12
30+
- setuptools >=65.0.0
31+
- setuptools_scm >=7.1.0
3032
- scipy
31-
- xarray>=2024.10
33+
- xarray >=2024.10
3234
- xarray-datatree
33-
- zarr>=2.12,<3.0
35+
- zarr >=2.12,<3.0
3436
# - pytest-icdiff

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"Programming Language :: Python :: 3.10",
1212
"Programming Language :: Python :: 3.11",
1313
"Programming Language :: Python :: 3.12",
14+
"Programming Language :: Python :: 3.13",
1415
"Programming Language :: Python",
1516
"Topic :: Scientific/Engineering",
1617
]

requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ fsspec>=2024.12
44
intake>=2.0.0
55
netCDF4>=1.5.5
66
pandas>=2.1.0
7+
pydantic>=2.0
78
requests>=2.24.0
9+
setuptools>=65.0.0
10+
setuptools_scm>=7.1.0
811
xarray>=2024.10
912
zarr>=2.12
10-
pydantic>=2.0

0 commit comments

Comments
 (0)