Skip to content

Commit

Permalink
ci: add 3.13 wheels
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii committed Oct 3, 2024
1 parent eebb555 commit d3a12b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'

- if: ${{ github.ref == 'refs/heads/main' }}
run: |
Expand All @@ -44,7 +44,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
arch: [auto, aarch64]
py: [cp39, cp310, cp311, cp312]
py: [cp39, cp310, cp311, cp312, cp313]
exclude:
- os: windows-latest
arch: aarch64
Expand All @@ -63,7 +63,7 @@ jobs:

- uses: yezz123/setup-uv@v4

- uses: pypa/cibuildwheel@v2.20
- uses: pypa/cibuildwheel@v2.21
env:
CIBW_BUILD: ${{ matrix.py }}-*
CIBW_ARCHS: ${{ matrix.arch }}
Expand Down Expand Up @@ -103,7 +103,6 @@ jobs:
permissions:
id-token: write
attestations: write
contents: read
if: ${{ github.ref == 'refs/heads/main' }}
steps:
- uses: actions/download-artifact@v4
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:
# version number must be string, otherwise 3.10 becomes 3.1
- os: windows-latest
python-version: "3.11"
installs: "numpy>=2.0.0rc1"
installs: "numpy>=2"
- os: macos-14
python-version: "3.9"
installs: "numpy==1.21.0 scipy matplotlib"
- os: ubuntu-latest
python-version: "pypy-3.9"
- os: ubuntu-latest
python-version: "3.12"
installs: "'numpy>=2.0.0rc1' scipy matplotlib"
python-version: "3.13"
installs: "'numpy>=2' scipy matplotlib"
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand All @@ -46,6 +46,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
# pip install .[test] is not used here to test minimum (faster)
# cov workflow runs all tests
- run: uv pip install --system . pytest pytest-xdist ${{ matrix.installs }}
Expand Down

0 comments on commit d3a12b2

Please sign in to comment.