Skip to content

[ci][release] Verify macOS wheels on every published Python version - #67963

Merged
elliot-barn merged 1 commit into
masterfrom
elliot-barn/verify-macos-all-pythons
Nov 20, 2026
Merged

elliot-barn merged 1 commit into
masterfrom
elliot-barn/verify-macos-all-pythons

Conversation

@elliot-barn

@elliot-barn elliot-barn commented Nov 8, 2026 •

Copy link
Copy Markdown
Collaborator

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:

So two of the four macOS wheels we publish get no install or sanity check before the PyPI upload.

What changed

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 [Core] ray cannot start under macos + anaconda + python 3.13 + bash #54047.

AI assistance (Claude Code) was used to write this change; I've reviewed it.

🤖 Generated with Claude Code

@elliot-barn
elliot-barn marked this pull request as ready for review November 10, 2026 07:17

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the macOS wheel verification script to include Python 3.13 and 3.14 in the list of verified Python versions, removing the temporary workaround comment for Python 3.13. There are no review comments, and I have no feedback to provide.

@ray-gardener ray-gardener Bot added core Issues that should be addressed in Ray Core devprod release-test release test labels Nov 10, 2026
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]>
@elliot-barn
elliot-barn force-pushed the elliot-barn/verify-macos-all-pythons branch from 59ec9b0 to fd80d09 Compare November 19, 2026 23:00
@elliot-barn
elliot-barn merged commit a5449bb into master Nov 20, 2026
6 checks passed
@elliot-barn
elliot-barn deleted the elliot-barn/verify-macos-all-pythons branch November 20, 2026 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Issues that should be addressed in Ray Core devprod release-test release test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants