naveencodet opened a new pull request, #30119:
URL: https://github.com/apache/flink/pull/30119
## What is the purpose of the change
The nightly "Build Python Wheels on macos" job fails on release-1.20 since
2026-11-19. The workflow hosts cibuildwheel on `python-version: '3.x'`, which
the macOS runner image now resolves to Python 3.15. cibuildwheel 2.16.5 bundles
virtualenv 20.21.1, whose pip fails on Python 3.15 (`TypeError: Can't
instantiate abstract class WheelDistribution`).
This upgrades cibuildwheel to 2.23.3, which uses a newer virtualenv. It
still builds the cp38 wheels and keeps the existing manylinux2014 setup of
release-1.20, which a move to cibuildwheel 4.x would not.
I chose 2.23.3 because of the following:
- cibuildwheel 3.x and 4.x are not an option on this branch: they need
host Python 3.11 or newer, and 4.x drops cp38 wheels, which release-1.20 still
builds.
- Within 2.x, I checked the virtualenv step on host Python 3.10 to 3.15 in
containers. 2.23.4 failed on 3.15 in repeated runs, while 2.23.3 passed on 3.10
to 3.15.
- 2.23.3 is the newest 2.x release that passed on all six Pythons in that
check.
## Brief change log
- Bump `cibuildwheel` from 2.16.5 to 2.23.3 in
`.github/workflows/nightly.yml`
- Bump `cibuildwheel` from 2.16.5 to 2.23.3 in
`tools/azure-pipelines/build-python-wheels.yml` so both pipelines use the same
version
## Verifying this change
This change is a CI configuration change without test coverage in the
repository.
- The virtualenv step of cibuildwheel, where the failure happens, was
checked in containers on host Python 3.10 to 3.15. 2.16.5 fails only on 3.15,
matching the ticket, and 2.23.3 passed on 3.10 to 3.15.
- The regular "Flink CI (beta)" workflow passes on a fork with this
commit: https://github.com/naveencodet/flink/actions/runs/45639670009
- A full run of the nightly wheel build (`nightly.yml`) with 2.23.3 on
Linux and macOS has not been done yet.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): yes (cibuildwheel,
build tooling only)
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: no
- The serializers: no
- The runtime per-record code paths (performance sensitive): no
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
- The S3 file system connector: no
## Documentation
- Does this pull request introduce a new feature? no
- If yes, how is the feature documented? not applicable
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]