Skip to content

Conversation

@aslonnie
Copy link
Collaborator

@aslonnie aslonnie commented Oct 15, 2025

and update commits used in tests

also stops testing x86_64 osx wheels on "latest", those are deprecated.

@aslonnie aslonnie requested a review from a team as a code owner October 15, 2025 20:02
@aslonnie aslonnie added the go add ONLY when ready to merge, run all tests label Oct 15, 2025
@aslonnie aslonnie changed the title [runtime env] properly support m1 wheel urls [runtime env] properly support apple silicon wheel urls Oct 15, 2025
Copy link
Contributor

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

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 refactors the wheel URL generation to better support M1 Macs by centralizing the OS/architecture string logic in get_wheel_filename. The previous complex and partially incorrect logic is replaced with a clearer and more robust implementation. The changes in conda.py correctly remove special-cased M1 logic, delegating the responsibility to the updated utility function. The test files are also updated to reflect these changes. Overall, this is a good improvement. I have one minor suggestion to improve the clarity of a comment in the test file.

# Windows only has x86_64 wheels
if sys_platform == "win32" and arch != "x86_64":
continue
# MacOS only has arm64 wheels
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The comment on this line is a bit misleading. While it might be true that for these specific dev wheels only arm64 builds are produced for macOS, it's not true in general as macOS has x86_64 wheels. This could cause confusion for future maintainers. I'd suggest clarifying the comment to be more specific to dev wheels.

For example:

- # MacOS only has arm64 wheels
+ # For nightly dev wheels, we currently only build for arm64 on macOS.

cursor[bot]

This comment was marked as outdated.

@aslonnie aslonnie force-pushed the lonnie-251015-m1wheel branch from ac60876 to bc89889 Compare October 16, 2025 01:49
@ray-gardener ray-gardener bot added core Issues that should be addressed in Ray Core macos labels Oct 16, 2025
and update commits used in tests

also removes special tests for "m1 wheels"

Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
@aslonnie aslonnie force-pushed the lonnie-251015-m1wheel branch from bc89889 to 43f23ea Compare October 16, 2025 02:25
@aslonnie aslonnie merged commit fa36517 into master Oct 16, 2025
6 checks passed
@aslonnie aslonnie deleted the lonnie-251015-m1wheel branch October 16, 2025 03:42
justinyeh1995 pushed a commit to justinyeh1995/ray that referenced this pull request Oct 20, 2025
…57745)

and update commits used in tests

also stops testing x86_64 osx wheels on "latest", those are deprecated.

Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
xinyuangui2 pushed a commit to xinyuangui2/ray that referenced this pull request Oct 22, 2025
…57745)

and update commits used in tests

also stops testing x86_64 osx wheels on "latest", those are deprecated.

Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
Signed-off-by: xgui <xgui@anyscale.com>
elliot-barn pushed a commit that referenced this pull request Oct 23, 2025
and update commits used in tests

also stops testing x86_64 osx wheels on "latest", those are deprecated.

Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
landscapepainter pushed a commit to landscapepainter/ray that referenced this pull request Nov 17, 2025
…57745)

and update commits used in tests

also stops testing x86_64 osx wheels on "latest", those are deprecated.

Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
Aydin-ab pushed a commit to Aydin-ab/ray-aydin that referenced this pull request Nov 19, 2025
…57745)

and update commits used in tests

also stops testing x86_64 osx wheels on "latest", those are deprecated.

Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
Signed-off-by: Aydin Abiar <aydin@anyscale.com>
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 go add ONLY when ready to merge, run all tests macos

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants