From afaa0a3bc1abf8703871b8cbb352518087faa2cd Mon Sep 17 00:00:00 2001 From: Federico Caselli Date: Mon, 8 Dec 2025 21:12:16 +0100 Subject: [PATCH] update cibuildwheel to ensure python 3.14 is supported Change-Id: Ic520ae7084dcc0660da0d70a0c33de251395ec50 (cherry picked from commit f58ea194d5190859baef66c183fa0228f629830c) --- .github/workflows/create-wheels.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create-wheels.yaml b/.github/workflows/create-wheels.yaml index 6cdd12310f..2cbd617c72 100644 --- a/.github/workflows/create-wheels.yaml +++ b/.github/workflows/create-wheels.yaml @@ -81,10 +81,11 @@ jobs: - name: Build compiled wheels if: ${{ matrix.wheel_mode == 'compiled' }} - uses: pypa/cibuildwheel@v2.22.0 + uses: pypa/cibuildwheel@v3.3.0 env: CIBW_ARCHS_LINUX: ${{ matrix.linux_archs }} CIBW_BUILD: ${{ matrix.python }} + CIBW_ENABLE: ${{ matrix.python == 'cp313t-*' && 'cpython-freethreading' || '' }} # setting it here does not work on linux # PYTHONNOUSERSITE: "1" @@ -92,7 +93,7 @@ jobs: - name: Set up Python for twine and pure-python wheel uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: "3.13" - name: Build pure-python wheel if: ${{ matrix.wheel_mode == 'pure-python' && runner.os == 'Linux' }} -- 2.47.3