From: Mike Bayer Date: Sat, 27 Jun 2026 19:17:29 +0000 (-0400) Subject: fix create-wheels.yaml for cibuildwheel 4.x and release asset upload X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a33fc17ac2561f1666c8370bbd8773ed4f3f13e3;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix create-wheels.yaml for cibuildwheel 4.x and release asset upload Remove CIBW_ENABLE cpython-freethreading which is no longer a valid enable group in cibuildwheel 4.x; free-threaded builds are now included by default when specifying cp314t-* in CIBW_BUILD. Change contents permission from read to write so that the upload-release-assets step can attach wheels to the GitHub release. Change-Id: I96c6755db1aba38e4eaeebdd2b7b3738a305226c --- diff --git a/.github/workflows/create-wheels.yaml b/.github/workflows/create-wheels.yaml index d197605a91..708dab5097 100644 --- a/.github/workflows/create-wheels.yaml +++ b/.github/workflows/create-wheels.yaml @@ -10,7 +10,7 @@ on: permissions: id-token: write - contents: read + contents: write # env: # # comment TWINE_REPOSITORY_URL to use the real pypi. NOTE: change also the secret used in TWINE_PASSWORD @@ -98,7 +98,6 @@ jobs: env: CIBW_ARCHS_LINUX: ${{ matrix.linux_archs }} CIBW_BUILD: ${{ matrix.python }} - CIBW_ENABLE: ${{ matrix.python == 'cp314t-*' && 'cpython-freethreading' || '' }} # setting it here does not work on linux # PYTHONNOUSERSITE: "1"