Skip to content

Commit d3a12b2

Browse files
committed
ci: add 3.13 wheels
Signed-off-by: Henry Schreiner <[email protected]>
1 parent eebb555 commit d3a12b2

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
fetch-depth: 0
2626
- uses: actions/setup-python@v5
2727
with:
28-
python-version: '3.11'
28+
python-version: '3.12'
2929

3030
- if: ${{ github.ref == 'refs/heads/main' }}
3131
run: |
@@ -44,7 +44,7 @@ jobs:
4444
matrix:
4545
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
4646
arch: [auto, aarch64]
47-
py: [cp39, cp310, cp311, cp312]
47+
py: [cp39, cp310, cp311, cp312, cp313]
4848
exclude:
4949
- os: windows-latest
5050
arch: aarch64
@@ -63,7 +63,7 @@ jobs:
6363

6464
- uses: yezz123/setup-uv@v4
6565

66-
- uses: pypa/cibuildwheel@v2.20
66+
- uses: pypa/cibuildwheel@v2.21
6767
env:
6868
CIBW_BUILD: ${{ matrix.py }}-*
6969
CIBW_ARCHS: ${{ matrix.arch }}
@@ -103,7 +103,6 @@ jobs:
103103
permissions:
104104
id-token: write
105105
attestations: write
106-
contents: read
107106
if: ${{ github.ref == 'refs/heads/main' }}
108107
steps:
109108
- uses: actions/download-artifact@v4

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ jobs:
2222
# version number must be string, otherwise 3.10 becomes 3.1
2323
- os: windows-latest
2424
python-version: "3.11"
25-
installs: "numpy>=2.0.0rc1"
25+
installs: "numpy>=2"
2626
- os: macos-14
2727
python-version: "3.9"
2828
installs: "numpy==1.21.0 scipy matplotlib"
2929
- os: ubuntu-latest
3030
python-version: "pypy-3.9"
3131
- os: ubuntu-latest
32-
python-version: "3.12"
33-
installs: "'numpy>=2.0.0rc1' scipy matplotlib"
32+
python-version: "3.13"
33+
installs: "'numpy>=2' scipy matplotlib"
3434
fail-fast: false
3535
steps:
3636
- uses: actions/checkout@v4
@@ -46,6 +46,7 @@ jobs:
4646
- uses: actions/setup-python@v5
4747
with:
4848
python-version: ${{ matrix.python-version }}
49+
allow-prereleases: true
4950
# pip install .[test] is not used here to test minimum (faster)
5051
# cov workflow runs all tests
5152
- run: uv pip install --system . pytest pytest-xdist ${{ matrix.installs }}

0 commit comments

Comments
 (0)