cibuildwheel version 2.23.2
I am building manylinux wheels in a github action see here
I would like to build prerelease wheels and have tried using both CIBW_PRERELEASE_PYTHONS and CIBW_ENABLE environment vars without success.
Below is the config of one build which I thought would allow the 3.14.0b python to be used. However, I don’t get any 3.14 wheels. I looked in one of the docker images used and /opt/python/cp314-cp314/bin/python works and is Python 3.14.0b2 so why no 3.14.0b2 builds?
"/home/runner/work/_temp/cibw/bin/cibuildwheel" "." --output-dir "wheelhouse" 2>&1
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
CIBW_TEST_SKIP: *
CIBW_TEST_COMMAND:
CIBW_BUILD_VERBOSITY: 3
CIBW_ENABLE: cpython-prerelease
RL_CACHE_DIR: /tmp/pycairo
pythonLocation: /opt/hostedtoolcache/Python/3.13.3/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.13.3/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.3/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.3/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.3/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.13.3/x64/lib
SETUP_VERBOSE: 3
CIBW_BUILD: cp314* cp313* cp312* cp311* cp310* cp39*
CIBW_SKIP: pp* cp36* cp37* cp38*
CIBW_ARCHS_LINUX: auto64 ppc64le s390x
CIBW_BEFORE_ALL: ./.github/workflows/add-cairo
fwiw here is the yml
# YAML see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
name: linux-wheels
on:
push:
branches:
- main
concurrency:
group: ${{ github.repository }}
cancel-in-progress: true
jobs:
build-wheels-linux:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
env:
CIBW_TEST_SKIP: "*"
CIBW_TEST_COMMAND: ""
CIBW_BUILD_VERBOSITY: 3
CIBW_ENABLE: "cpython-prerelease"
RL_CACHE_DIR: "/tmp/${{github.event.repository.name}}"
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, ubuntu-24.04-arm]
#os: [ubuntu-latest, ubuntu-24.04-arm, macos-13, macos-14]
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
with:
platforms: all
- uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Build wheels
uses: pypa/cibuildwheel@v2.23.2
env:
SETUP_VERBOSE: 3
CIBW_BUILD: cp314* cp313* cp312* cp311* cp310* cp39*
CIBW_SKIP: pp* cp36* cp37* cp38*
CIBW_ARCHS_LINUX: ${{ matrix.os == 'ubuntu-latest' && 'auto64 ppc64le s390x' || 'armv7l aarch64' }}
CIBW_BEFORE_ALL: "./.github/workflows/add-cairo"
CIBW_ENABLE: "cpython-prerelease"
- uses: actions/upload-artifact@v4
with:
name: "${{ github.event.repository.name }}-${{ matrix.os }}-${{ strategy.job-index }}"
path: ./wheelhouse/*.whl