]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fix create-wheels.yaml for cibuildwheel 4.x and release asset upload
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 27 Jun 2026 19:17:29 +0000 (15:17 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 27 Jun 2026 22:32:39 +0000 (18:32 -0400)
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

.github/workflows/create-wheels.yaml

index d197605a912fe6626b4eb6db7feb89f75a413a83..708dab5097ecc54b446154511e82f0680b4e59a9 100644 (file)
@@ -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"