Skip to content

Commit bfa816c

Browse files
committed
build on Python 3.13
1 parent 5d992b8 commit bfa816c

File tree

2 files changed

+77
-76
lines changed

2 files changed

+77
-76
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868
- '3.10'
6969
- '3.11'
7070
- '3.12'
71+
- '3.13'
7172
- 'pypy3.9'
7273
- 'pypy3.10'
7374

@@ -88,6 +89,7 @@ jobs:
8889
uses: actions/setup-python@v5
8990
with:
9091
python-version: ${{ matrix.python-version }}
92+
allow-prereleases: true
9193

9294
- run: pip install -r tests/requirements.txt
9395

@@ -411,15 +413,15 @@ jobs:
411413
- os: linux
412414
manylinux: auto
413415
target: armv7
414-
interpreter: 3.8 3.9 3.10 3.11 3.12
416+
interpreter: 3.8 3.9 3.10 3.11 3.12 3.13
415417
- os: linux
416418
manylinux: auto
417419
target: ppc64le
418-
interpreter: 3.8 3.9 3.10 3.11 3.12
420+
interpreter: 3.8 3.9 3.10 3.11 3.12 3.13
419421
- os: linux
420422
manylinux: auto
421423
target: s390x
422-
interpreter: 3.8 3.9 3.10 3.11 3.12
424+
interpreter: 3.8 3.9 3.10 3.11 3.12 3.13
423425
- os: linux
424426
manylinux: auto
425427
target: x86_64
@@ -452,11 +454,11 @@ jobs:
452454
- os: windows
453455
target: i686
454456
python-architecture: x86
455-
interpreter: 3.8 3.9 3.10 3.11 3.12
457+
interpreter: 3.8 3.9 3.10 3.11 3.12 3.13
456458
# FIXME aarch64 builds broken, see https://github.com/PyO3/maturin/issues/2110
457459
# - os: windows
458460
# target: aarch64
459-
# interpreter: 3.11 3.12
461+
# interpreter: 3.11 3.12 3.13
460462

461463
exclude:
462464
# See above; disabled for now.
@@ -483,7 +485,7 @@ jobs:
483485
with:
484486
target: ${{ matrix.target }}
485487
manylinux: ${{ matrix.manylinux }}
486-
args: --release --out dist --interpreter ${{ matrix.interpreter || '3.8 3.9 3.10 3.11 3.12 pypy3.9 pypy3.10' }}
488+
args: --release --out dist --interpreter ${{ matrix.interpreter || '3.8 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10' }}
487489
rust-toolchain: stable
488490
docker-options: -e CI
489491

@@ -504,7 +506,7 @@ jobs:
504506
fail-fast: false
505507
matrix:
506508
os: [linux, windows, macos]
507-
interpreter: ['3.8', '3.9', '3.10', '3.11', '3.12']
509+
interpreter: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
508510
include:
509511
# standard runners with override for macos arm
510512
- os: linux
@@ -529,6 +531,7 @@ jobs:
529531
uses: actions/setup-python@v5
530532
with:
531533
python-version: ${{ matrix.interpreter }}
534+
allow-prereleases: true
532535

533536
- name: install rust stable
534537
id: rust-toolchain

0 commit comments

Comments
 (0)