Repository navigation
[ci] removing python 3.13 wheel verification for mac - #55907
Conversation
There was a problem hiding this comment.
Code Review
This pull request removes Python 3.13 from the macOS wheel verification script. The change itself is correct. I have added one comment regarding a potential inconsistency with the wheel building script, which you might want to address to avoid building untested artifacts.
There was a problem hiding this comment.
This change correctly removes Python 3.13 from the verification step. However, I noticed that python/build-wheel-macos.sh still includes Python 3.13 for building the wheels. To avoid building artifacts that are not tested, you might want to consider also removing Python 3.13 from the PY_MMS array in that file.
There was a problem hiding this comment.
thanks @elliot-barn , could you add a comment that reference this bug:
There was a problem hiding this comment.
Added. Should we stop building the 3.13 wheel all together like the AI comment is mentioning?
There was a problem hiding this comment.
building and uploading wheels is fine.
There was a problem hiding this comment.
sorry, I meant a comment in the code?
Signed-off-by: elliot-barn <[email protected]> Signed-off-by: Lonnie Liu <[email protected]>
922d16a to
81fdc20
Compare
removing python 3.13 wheel verification for macos due to this bug: ray-project#54047 Signed-off-by: elliot-barn <[email protected]> Signed-off-by: Lonnie Liu <[email protected]> Signed-off-by: Lehui Liu <[email protected]>
removing python 3.13 wheel verification for macos due to this bug: ray-project#54047 Signed-off-by: elliot-barn <[email protected]> Signed-off-by: Lonnie Liu <[email protected]> Signed-off-by: Masahiro Tanaka <[email protected]>
removing python 3.13 wheel verification for macos due to this bug: ray-project#54047 Signed-off-by: elliot-barn <[email protected]> Signed-off-by: Lonnie Liu <[email protected]> Signed-off-by: jugalshah291 <[email protected]>
removing python 3.13 wheel verification for macos due to this bug: #54047 Signed-off-by: elliot-barn <[email protected]> Signed-off-by: Lonnie Liu <[email protected]> Signed-off-by: Douglas Strodtman <[email protected]>
removing python 3.13 wheel verification for macos due to this bug: ray-project#54047 Signed-off-by: elliot-barn <[email protected]> Signed-off-by: Lonnie Liu <[email protected]>
verify-macos-wheels.sh only covered 3.11 and 3.12, but build-wheel-macos.sh publishes 3.11-3.14. 3.13 was dropped in #55907 for #54047; 3.14 was never added. Python 3.10 is no longer published as of 2.61.0 (#67722), so it stays out of the list. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: elliot-barn <[email protected]>
…67963) ## Why are these changes needed? `python/build-wheel-macos.sh` builds and publishes macOS arm64 wheels for Python 3.11–3.14. Python 3.10 is no longer published as of 2.61.0 (#67722). But `verify-macos-wheels.sh`, the release-automation step that installs the TestPyPI wheels and runs `sanity_check.py` + `sanity_check_cpp.sh`, only covers 3.11 and 3.12: - 3.13 was removed in #55907 (Aug 2025) because of #54047: `ray.init()` hangs on macOS with conda, Python 3.13 and bash. - 3.14 was never added. So two of the four macOS wheels we publish get no install or sanity check before the PyPI upload. ## What changed - `.buildkite/release-automation/verify-macos-wheels.sh`: `PYTHON_VERSIONS` is now `3.11 3.12 3.13 3.14`, matching `PY_MMS` in `build-wheel-macos.sh` and the Linux verify matrix in `wheels.rayci.yml`. The TODO for #54047 is removed. ## Risk #54047 is still open. This script uses exactly that setup: miniforge conda env, non-interactive bash. If the hang still reproduces, the "MacOS arm64" validate step will hang on 3.13 rather than fail. ## Not a duplicate There's no other open PR touching `verify-macos-wheels.sh` or referencing #54047. #67722 (drop Python 3.10) edited the same `PYTHON_VERSIONS` line and has merged; this PR is rebased on top of it. ## Testing - `bash -n .buildkite/release-automation/verify-macos-wheels.sh`: passes. - Confirmed the inputs for the two new versions exist: - conda-forge has `python` builds for `osx-arm64` for 3.13 and 3.14 (as well as 3.11 and 3.12). - TestPyPI has the `ray` 2.60.0 macOS arm64 wheels for `cp311` through `cp314`. - `ray[cpp]` resolves to `ray_cpp-2.60.0-py3-none-macosx_12_0_arm64.whl`, a single `py3-none` wheel that works on every Python version. - Not run on a macOS runner. The first real run will be the next release's "MacOS arm64" validate step, so watch 3.13 there for #54047. AI assistance (Claude Code) was used to write this change; I've reviewed it. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: elliot-barn <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
removing python 3.13 wheel verification for macos due to this bug: #54047