From 8e7d5b42898509a3f5f2721874cc9f17ec2811e3 Mon Sep 17 00:00:00 2001 From: ddelange <14880945+ddelange@users.noreply.github.com> Date: Mon, 13 Jan 2025 12:48:44 +0100 Subject: [PATCH] Fix missing 3.13 wheel on windows (#54) * Set up 3.13t before 3.13 * Separate out 3.13t maturin-action * Bump pyo3 to 0.23.4 --- .github/workflows/dists.yml | 13 ++++++++++++- Cargo.toml | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dists.yml b/.github/workflows/dists.yml index 713a886..15780e5 100644 --- a/.github/workflows/dists.yml +++ b/.github/workflows/dists.yml @@ -62,6 +62,17 @@ jobs: with: python-version: '3.13' architecture: ${{ ( startsWith(matrix.os, 'windows') && matrix.target == 'i686' ) && 'x86' || null }} + + - uses: PyO3/maturin-action@v1.45.0 + 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' @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 7e4dd43..16fa1cd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"