Skip to content

Conversation

@elliot-barn
Copy link
Contributor

building platform independent wheel to enable users to run raydepsets on any platform

Ray_img lock files unchanged only the headers have changed

Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
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 dependency building process to create a platform-independent wheel for raydepsets. The changes are consistent across the configuration files, build scripts, and dependency definitions. By modifying setup.py to conditionally skip binary extensions and updating the build script to generate a generic wheel, the process is simplified and no longer dependent on the Python version. The lock files have been correctly updated to reflect these changes. I have one suggestion in python/setup.py to add a comment for better code maintainability.

python/setup.py Outdated
cmdclass={"build_ext": build_ext},
# The BinaryDistribution argument triggers build_ext.
distclass=BinaryDistribution,
distclass=(
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 previous comment explaining the purpose of distclass was removed. Since the logic is now more complex, it would be beneficial for maintainability to add a new comment explaining why distclass is conditionally set to None. This will help future developers understand the intention behind this change, which is to avoid building binary extensions for 'deps-only' builds to create a platform-independent wheel.

Suggested change
distclass=(
distclass=( # Avoid building extensions for deps-only builds.

@aslonnie aslonnie added the go add ONLY when ready to merge, run all tests label Nov 19, 2025
@aslonnie aslonnie self-requested a review November 19, 2025 01:35
@aslonnie
Copy link
Collaborator


via GIPHY

@aslonnie aslonnie enabled auto-merge (squash) November 19, 2025 01:36
@ray-gardener ray-gardener bot added core Issues that should be addressed in Ray Core devprod labels Nov 19, 2025
@github-actions github-actions bot disabled auto-merge November 19, 2025 08:09
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
@aslonnie aslonnie merged commit 4e166ee into master Nov 19, 2025
6 checks passed
@aslonnie aslonnie deleted the elliot-barn/platform-independent-wheel branch November 19, 2025 20:23
400Ping pushed a commit to 400Ping/ray that referenced this pull request Nov 21, 2025
…8760)

building platform independent wheel to enable users to run raydepsets on
any platform

Ray_img lock files unchanged only the headers have changed

---------

Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
Co-authored-by: Lonnie Liu <95255098+aslonnie@users.noreply.github.com>
ykdojo pushed a commit to ykdojo/ray that referenced this pull request Nov 27, 2025
…8760)

building platform independent wheel to enable users to run raydepsets on
any platform

Ray_img lock files unchanged only the headers have changed

---------

Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
Co-authored-by: Lonnie Liu <95255098+aslonnie@users.noreply.github.com>
Signed-off-by: YK <1811651+ykdojo@users.noreply.github.com>
SheldonTsen pushed a commit to SheldonTsen/ray that referenced this pull request Dec 1, 2025
…8760)

building platform independent wheel to enable users to run raydepsets on
any platform

Ray_img lock files unchanged only the headers have changed

---------

Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
Co-authored-by: Lonnie Liu <95255098+aslonnie@users.noreply.github.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 devprod go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants