Skip to content

Commit

Permalink
add Python 3.13 to CI and published builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelange authored and oconnor663 committed Nov 27, 2024
1 parent 04cc6f9 commit 3f1e14a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/dists.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,17 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: 3.x
# pin to the latest supported python version
python-version: "3.13"
# x86 python needs to be available for the win32 wheel
architecture: ${{ ( matrix.os == 'windows-latest' && matrix.target == 'i686' ) && 'x86' || null }}

- uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
manylinux: ${{ matrix.manylinux || 'auto' }}
# Keep in sync with tests.yml
args: --release --out dist --interpreter '3.8 3.9 3.10 3.11 3.12'
args: --release --out dist --interpreter '3.8 3.9 3.10 3.11 3.12 3.13'
rust-toolchain: stable
docker-options: -e CI

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
# Keep in sync with:
# - dists.yml
# - the c_impl tests below
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
rust-toolchain: [stable, beta, nightly]
platform: [
{ os: "ubuntu-latest", python-architecture: "x64", rust-target: "x86_64-unknown-linux-gnu", name: "ubuntu-x64" },
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
# Keep in sync with:
# - dists.yml
# - the rust_impl tests above
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
platform: [
# This list should be kept in sync with dists.yml.
{ os: "ubuntu-latest", python-architecture: "x64", name: "ubuntu-x64" },
Expand Down

0 comments on commit 3f1e14a

Please sign in to comment.