Skip to content

Commit

Permalink
Fix missing 3.13 wheel on windows (#54)
Browse files Browse the repository at this point in the history
* Set up 3.13t before 3.13

* Separate out 3.13t maturin-action

* Bump pyo3 to 0.23.4
  • Loading branch information
ddelange authored Jan 13, 2025
1 parent d9c7d3b commit 8e7d5b4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/dists.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,17 @@ jobs:
with:
python-version: '3.13'
architecture: ${{ ( startsWith(matrix.os, 'windows') && matrix.target == 'i686' ) && 'x86' || null }}

- uses: PyO3/[email protected]
with:
target: ${{ matrix.target }}
manylinux: ${{ matrix.manylinux }}
# keep python versions in sync with tests.yml
args: --release --out dist --interpreter '3.8 3.9 3.10 3.11 3.12 3.13'
rust-toolchain: stable
docker-options: -e CI

# the following two steps are separated out because of a setup-python issue on windows causing maturin-action to pick up 3.13t exe instead of 3.13t exe https://github.com/oconnor663/blake3-py/issues/52
- uses: Quansight-Labs/setup-python@v5 # 3.13t support not yet merged ref https://github.com/actions/setup-python/pull/973#issuecomment-2495900996
with:
python-version: '3.13t'
Expand All @@ -72,7 +83,7 @@ jobs:
target: ${{ matrix.target }}
manylinux: ${{ matrix.manylinux }}
# keep python versions in sync with tests.yml
args: --release --out dist --interpreter '3.8 3.9 3.10 3.11 3.12 3.13 3.13t'
args: --release --out dist --interpreter '3.13t'
rust-toolchain: stable
docker-options: -e CI

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ neon = ["blake3/neon"]
[dependencies]
blake3 = { version = "1.5.5", features = ["mmap", "rayon"] }
hex = "0.4.3"
pyo3 = { version = "0.23.3", features = ["extension-module"] }
pyo3 = { version = "0.23.4", features = ["extension-module"] }
rayon = "1.10.0"

0 comments on commit 8e7d5b4

Please sign in to comment.