Skip to content

Commit b060c9a

Browse files
Test with Python 3.13
1 parent 4083a94 commit b060c9a

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

.github/workflows/release.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,13 @@ jobs:
7676
fail-fast: false
7777
matrix:
7878
os: [ubuntu-latest, macos-latest]
79-
cibw_python: ["cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*"]
79+
cibw_python:
80+
- "cp38-*"
81+
- "cp39-*"
82+
- "cp310-*"
83+
- "cp311-*"
84+
- "cp312-*"
85+
- "cp313-*"
8086
cibw_arch: ["x86_64", "aarch64", "universal2"]
8187
exclude:
8288
- os: ubuntu-latest
@@ -108,7 +114,7 @@ jobs:
108114
run: |
109115
brew install gnu-sed libtool autoconf automake
110116
111-
- uses: pypa/cibuildwheel@fff9ec32ed25a9c576750c91e06b410ed0c15db7 # v2.16.2
117+
- uses: pypa/cibuildwheel@bd033a44476646b606efccdd5eed92d5ea1d77ad # v2.20.0
112118
env:
113119
CIBW_BUILD_VERBOSITY: 1
114120
CIBW_BUILD: ${{ matrix.cibw_python }}

.github/workflows/tests.yml

+12-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
18+
python-version:
19+
- "3.8"
20+
- "3.9"
21+
- "3.10"
22+
- "3.11"
23+
- "3.12"
24+
- "3.13"
1925
os: [ubuntu-latest, macos-latest]
2026

2127
env:
@@ -42,6 +48,7 @@ jobs:
4248
if: steps.release.outputs.version == 0
4349
with:
4450
python-version: ${{ matrix.python-version }}
51+
allow-prereleases: true
4552

4653
- name: Install macOS deps
4754
if: matrix.os == 'macos-latest' && steps.release.outputs.version == 0
@@ -50,6 +57,8 @@ jobs:
5057
5158
- name: Install Python Deps
5259
if: steps.release.outputs.version == 0
60+
env:
61+
PIP_PRE: ${{ matrix.python-version == '3.13' && '1' || '0' }}
5362
run: |
5463
pip install -e .[test]
5564
@@ -59,8 +68,8 @@ jobs:
5968
make test
6069
6170
- name: Test (debug build)
62-
# XXX Re-enable 3.12 once we migrate to Cython 3
63-
if: steps.release.outputs.version == 0 && matrix.python-version != '3.12'
71+
# XXX Enable 3.12 and 3.13 once we migrate to Cython 3
72+
if: steps.release.outputs.version == 0 && matrix.python-version != '3.12' && matrix.python-version != '3.13'
6473
run: |
6574
make distclean && make debug && make test
6675

0 commit comments

Comments
 (0)