Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add support for Python 3.13 #712

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.11", "3.12"]
python-version: ["3.9", "3.11", "3.12", "3.13"]
os: [ubuntu-latest, windows-latest, macos-13]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -23,7 +23,7 @@ jobs:
- name: Run image
uses: abatilo/[email protected]
with:
poetry-version: 1.8.3
poetry-version: 1.8.4
- name: Cache Poetry virtualenv
uses: actions/cache@v4
id: cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Run image
uses: abatilo/[email protected]
with:
poetry-version: 1.8.3
poetry-version: 1.8.4
- name: Cache Poetry virtualenv
uses: actions/cache@v4
id: cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Run image
uses: abatilo/[email protected]
with:
poetry-version: 1.8.3
poetry-version: 1.8.4
- name: Cache Poetry virtualenv
uses: actions/cache@v4
id: cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Run image
uses: abatilo/[email protected]
with:
poetry-version: 1.8.3
poetry-version: 1.8.4

- name: Cache Poetry virtualenv
uses: actions/cache@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Run image
uses: abatilo/[email protected]
with:
poetry-version: 1.8.3
poetry-version: 1.8.4

- name: Cache Poetry virtualenv
uses: actions/cache@v4
Expand Down
350 changes: 206 additions & 144 deletions poetry.lock

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ python = "^3.9"
# exclude yanked netcdf versions 1.7.0 and 1.7.1, but include 1.7.2 (first with python 3.12 support)
netCDF4 = "^1.5,!=1.7.0,!=1.7.1"
# no caret here, since numpy v2 is required for future python 3.13 support, but this is not yet widely supported by packages numpy v1 support is also still required.
numpy = ">=1.25,<3"
numpy = [
{ version = ">=1.25,<3", python = "^3.9" },
{ version = "^2.1", python = "^3.13" }
]
pydantic = "^2.5"
# lxml 5.0 is from December 2023
lxml = "^5.0"
Expand Down
Loading