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
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
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"