Skip to content

Commit

Permalink
Build wheels for python 3.13
Browse files Browse the repository at this point in the history
Also make the supported versions explicit instead of relying on versions installed on the running container
  • Loading branch information
avandecreme committed Oct 30, 2024
1 parent ce09f22 commit b0ef95a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/distribute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
tags:
- '*'

env:
UNIX_PYTHON_VERSIONS: 3.7 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.7 pypy3.8 pypy3.9 pypy3.10
WINDOWS_PYTHON_VERSIONS: 3.7 3.8 3.9 3.10 3.11 3.12

permissions:
contents: read

Expand All @@ -30,7 +34,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
args: --release --out dist --interpreter ${{ env.UNIX_PYTHON_VERSIONS }}
sccache: 'true'
manylinux: auto
- name: Upload wheels
Expand Down Expand Up @@ -63,7 +67,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
args: --release --out dist --interpreter ${{ env.UNIX_PYTHON_VERSIONS }}
sccache: 'true'
manylinux: musllinux_1_1
container: off
Expand All @@ -88,7 +92,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
args: --release --out dist --interpreter ${{ env.WINDOWS_PYTHON_VERSIONS }}
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v3
Expand All @@ -110,7 +114,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
args: --release --out dist --interpreter ${{ env.UNIX_PYTHON_VERSIONS }}
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit b0ef95a

Please sign in to comment.