Martijn Visser created FLINK-41619:
--------------------------------------
Summary: Nightly "Build Python Wheels on macos" fails on
release-1.20 since the runner provides Python 3.15
Key: FLINK-41619
URL: https://issues.apache.org/jira/browse/FLINK-41619
Project: Flink
Issue Type: Bug
Components: API / Python
Affects Versions: 1.20.6
Reporter: Martijn Visser
The GHA nightly job "Build Python Wheels on macos" fails on release-1.20 since
2026-11-19:
https://github.com/apache/flink/actions/runs/44441140261/job/135281993160
https://github.com/apache/flink/actions/runs/44853491854/job/136690100311
https://github.com/apache/flink/actions/runs/44974091800/job/137059981822
https://github.com/apache/flink/actions/runs/45097765276/job/137441302382
{code}
+ /Library/Frameworks/Python.framework/Versions/3.15/bin/python -sS
/Users/runner/Library/Caches/cibuildwheel/virtualenv-20.21.1.pyz ...
failed to download wheel version 0.42.0, pip download exit code 2
File
".../virtualenv/wheel/house/pip-23.1-py3-none-any.whl/pip/_internal/metadata/importlib/_dists.py",
line 74, in from_zipfile
return cls(files, info_location)
TypeError: Can't instantiate abstract class WheelDistribution without an
implementation for abstract method 'locate_file'
{code}
The workflow sets up Python {{3.x}} to host cibuildwheel 2.16.5, which newer
macOS runner images resolve to 3.15.2. The same commit failed on 3.15.2 on
2026-11-19 and passed on 3.14.10 on 2026-11-20. Master uses cibuildwheel 4.2.0
(FLINK-40464) and passes on 3.15.2, and the Azure wheel build on release-1.20
pins Python 3.11 and passes.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)