Skip to content

Commit

Permalink
Temporarily switch to explicitly defining python versions
Browse files Browse the repository at this point in the history
Right now maturin can't properly pick up the python versions from
pyproject.toml so we instead have to be explicit.
  • Loading branch information
JacobCallahan committed Nov 24, 2024
1 parent f50a447 commit 4019f77
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ jobs:
OPENSSL_NO_VENDOR: 1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
# args: --release --out dist --find-interpreter <-- TODO: Add this back when maturin supports it
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.8 pypy3.9 pypy3.10
# sccache: 'true'
manylinux: auto
before-script-linux: |
Expand Down Expand Up @@ -136,7 +137,7 @@ jobs:
PKG_CONFIG_PATH: "/usr/share/miniconda/lib/pkgconfig/"
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.8 pypy3.9 pypy3.10
# sccache: 'true'
manylinux: musllinux_1_2
before-script-linux: |
Expand Down Expand Up @@ -189,7 +190,7 @@ jobs:
OPENSSL_DIR: C:\Program Files\OpenSSL-Win64
OPENSSL_STATIC: 1
with:
args: --release --out dist --find-interpreter
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -223,7 +224,7 @@ jobs:
uses: PyO3/maturin-action@main
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.8 pypy3.9 pypy3.10
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
OPENSSL_NO_VENDOR: 1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.8 pypy3.9 pypy3.10
# sccache: 'true'
manylinux: auto
before-script-linux: |
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
PKG_CONFIG_PATH: "/usr/share/miniconda/lib/pkgconfig/"
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.8 pypy3.9 pypy3.10
# sccache: 'true'
manylinux: musllinux_1_2
before-script-linux: |
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
OPENSSL_DIR: C:\Program Files\OpenSSL-Win64
OPENSSL_STATIC: 1
with:
args: --release --out dist --find-interpreter
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:
uses: PyO3/maturin-action@main
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.8 pypy3.9 pypy3.10
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/weekly_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
OPENSSL_NO_VENDOR: 1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.8 pypy3.9 pypy3.10
# sccache: 'true'
manylinux: auto
before-script-linux: |
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
PKG_CONFIG_PATH: "/usr/share/miniconda/lib/pkgconfig/"
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.8 pypy3.9 pypy3.10
# sccache: 'true'
manylinux: musllinux_1_2
before-script-linux: |
Expand Down Expand Up @@ -187,7 +187,7 @@ jobs:
OPENSSL_DIR: C:\Program Files\OpenSSL-Win64
OPENSSL_STATIC: 1
with:
args: --release --out dist --find-interpreter
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -221,7 +221,7 @@ jobs:
uses: PyO3/maturin-action@main
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.8 pypy3.9 pypy3.10
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 4019f77

Please sign in to comment.