Skip to content

[wheel] always declare ray-cpp extra#60189

Merged
aslonnie merged 4 commits intoray-project:masterfrom
anyscale:lonnie-260115-raycppextra
Jan 17, 2026
Merged

[wheel] always declare ray-cpp extra#60189
aslonnie merged 4 commits intoray-project:masterfrom
anyscale:lonnie-260115-raycppextra

Conversation

@aslonnie
Copy link
Collaborator

so that it is consistent no matter how we build the wheel.

[cpp] and [all-cpp] extra's are not included in [all] today. so unless user explicitly specify them, they will be skipped. as a result, we do not need to drop them from the extra declarations but can just always include them.

so that it is consistent no matter how we build the wheel.

`[cpp]` and `[all-cpp]` extra's are not included in `[all]` today.
so unless user explicitly specify them, they will be skipped.
as a result, we do not need to drop them from the extra declarations
but can just always include them.

Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
@aslonnie aslonnie added alpha Alpha release features go add ONLY when ready to merge, run all tests and removed alpha Alpha release features labels Jan 15, 2026
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 simplifies the setup.py script by always declaring the [cpp] and [all-cpp] extras for the ray wheel. The changes remove the conditional logic that previously disabled these extras for development builds or when C++ extensions were not being built. This makes the declared extras consistent across all build configurations, which is a good improvement for maintainability. The implementation is straightforward and correct, and I see no issues with it.

@ray-gardener ray-gardener bot added the core Issues that should be addressed in Ray Core label Jan 16, 2026
@aslonnie aslonnie merged commit 2fb3904 into ray-project:master Jan 17, 2026
6 checks passed
limarkdcunha pushed a commit to limarkdcunha/ray that referenced this pull request Jan 18, 2026
so that it is consistent no matter how we build the wheel.

`[cpp]` and `[all-cpp]` extra's are not included in `[all]` today. so
unless user explicitly specify them, they will be skipped. as a result,
we do not need to drop them from the extra declarations but can just
always include them.

Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
Signed-off-by: Limark Dcunha <limarkdcunha@gmail.com>
jinbum-kim pushed a commit to jinbum-kim/ray that referenced this pull request Jan 29, 2026
so that it is consistent no matter how we build the wheel.

`[cpp]` and `[all-cpp]` extra's are not included in `[all]` today. so
unless user explicitly specify them, they will be skipped. as a result,
we do not need to drop them from the extra declarations but can just
always include them.

Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
Signed-off-by: jinbum-kim <jinbum9958@gmail.com>
ryanaoleary pushed a commit to ryanaoleary/ray that referenced this pull request Feb 3, 2026
so that it is consistent no matter how we build the wheel.

`[cpp]` and `[all-cpp]` extra's are not included in `[all]` today. so
unless user explicitly specify them, they will be skipped. as a result,
we do not need to drop them from the extra declarations but can just
always include them.

Signed-off-by: Lonnie Liu <lonnie@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants