Skip to content

[ci] removing python 3.13 wheel verification for mac - #55907

Merged
aslonnie merged 1 commit into
masterfrom
elliot-barn/disabling-macos-313-wheel-verification
Aug 26, 2025
Merged

aslonnie merged 1 commit into
masterfrom
elliot-barn/disabling-macos-313-wheel-verification

Conversation

@elliot-barn

@elliot-barn elliot-barn commented Aug 25, 2025 •

Copy link
Copy Markdown
Collaborator

removing python 3.13 wheel verification for macos due to this bug: #54047

@elliot-barn
elliot-barn requested a review from aslonnie August 25, 2025 21:05

@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 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.

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.

medium

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.

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.

thanks @elliot-barn , could you add a comment that reference this bug:

#54047

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Added. Should we stop building the 3.13 wheel all together like the AI comment is mentioning?

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.

building and uploading wheels is fine.

@aslonnie aslonnie Aug 26, 2025 •

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.

sorry, I meant a comment in the code?

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.

added it for you.

@aslonnie
aslonnie self-requested a review August 25, 2025 21:59
@aslonnie aslonnie added the go add ONLY when ready to merge, run all tests label Aug 26, 2025
@ray-gardener ray-gardener Bot added the devprod label Aug 26, 2025
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: Lonnie Liu <[email protected]>
@aslonnie
aslonnie force-pushed the elliot-barn/disabling-macos-313-wheel-verification branch from 922d16a to 81fdc20 Compare August 26, 2025 05:13
@aslonnie
aslonnie enabled auto-merge (squash) August 26, 2025 05:14
@aslonnie
aslonnie merged commit 1c236a4 into master Aug 26, 2025
@aslonnie
aslonnie deleted the elliot-barn/disabling-macos-313-wheel-verification branch August 26, 2025 06:06
liulehui pushed a commit to liulehui/ray that referenced this pull request Aug 26, 2025
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]>
tohtana pushed a commit to tohtana/ray that referenced this pull request Aug 29, 2025
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]>
jugalshah291 pushed a commit to jugalshah291/ray_fork that referenced this pull request Sep 11, 2025
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]>
dstrodtman pushed a commit that referenced this pull request Oct 6, 2025
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]>
landscapepainter pushed a commit to landscapepainter/ray that referenced this pull request Nov 17, 2025
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]>
elliot-barn added a commit that referenced this pull request Nov 19, 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 added a commit that referenced this pull request Nov 20, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devprod go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants