From 58dc75b6ca1aa073bd07a1f9bde2c639050db8cc Mon Sep 17 00:00:00 2001 From: ForgQi <34411314+ForgQi@users.noreply.github.com> Date: Sat, 11 Jul 2026 01:08:08 +0800 Subject: [PATCH] Build free-threaded wheels for Python 3.14t (#1648) maturin 1.14 dropped support for free-threaded Python 3.13 ("Free-threaded Python interpreter is only supported on 3.14 and later"), which broke the linux/musllinux/macos free-threaded wheel steps since maturin-action always uses the latest maturin. Switch the free-threaded builds from python3.13t to python3.14t, matching what maturin generate-ci now emits. --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b0fc3c2..d3ae382 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,7 +59,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release --out dist -i python3.13t + args: --release --out dist -i python3.14t sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} manylinux: ${{ matrix.platform.target == 'aarch64' && '2_28' || 'auto' }} - name: Upload wheels @@ -104,7 +104,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release --out dist -i python3.13t + args: --release --out dist -i python3.14t sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} manylinux: musllinux_1_2 - name: Upload wheels @@ -143,13 +143,13 @@ jobs: sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} - uses: actions/setup-python@v5 with: - python-version: 3.13t + python-version: 3.14t architecture: ${{ matrix.platform.target }} - name: Build free-threaded wheels uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release --out dist -i python3.13t + args: --release --out dist -i python3.14t sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} - name: Upload wheels uses: actions/upload-artifact@v4 @@ -188,7 +188,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release --out dist -i python3.13t + args: --release --out dist -i python3.14t sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} - name: Upload wheels uses: actions/upload-artifact@v4