Skip to content

Conversation

@elliot-barn
Copy link
Contributor

@elliot-barn elliot-barn commented Nov 6, 2025

Removing unnecessary --strip-extras flag from raydepsets (only updates depset lock file headers):
--strip-extras
Include extras in the output file.

By default, uv strips extras, as any packages pulled in by the extras are already included as dependencies in the output file directly. Further, output files generated with --no-strip-extras cannot be used as constraints files in install and sync invocations.

Signed-off-by: elliot-barn <[email protected]>
@elliot-barn elliot-barn requested review from aslonnie and removed request for aslonnie November 6, 2025 22:31
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 removes the --strip-extras flag from the default uv flags. According to the uv documentation, this flag is enabled by default, so removing it is a valid cleanup that makes the configuration more concise by relying on the default behavior. The change is correct and has no functional impact other than altering the command line recorded in the headers of generated lock files.

Signed-off-by: elliot-barn <[email protected]>
@elliot-barn elliot-barn requested a review from a team as a code owner November 6, 2025 22:34
@elliot-barn elliot-barn requested a review from aslonnie November 6, 2025 22:34
@ray-gardener ray-gardener bot added core Issues that should be addressed in Ray Core devprod labels Nov 7, 2025
@aslonnie aslonnie added the go add ONLY when ready to merge, run all tests label Nov 7, 2025
@aslonnie aslonnie enabled auto-merge (squash) November 7, 2025 03:28
@aslonnie aslonnie self-requested a review November 7, 2025 03:28
@aslonnie aslonnie merged commit 6d22e9e into master Nov 7, 2025
8 checks passed
@aslonnie aslonnie deleted the elliot-barn/raydepsets-removing-strip-extras branch November 7, 2025 04:51
YoussefEssDS pushed a commit to YoussefEssDS/ray that referenced this pull request Nov 8, 2025
Removing unnecessary --strip-extras flag from raydepsets (only updates
depset lock file headers):

[--strip-extras](https://docs.astral.sh/uv/reference/cli/#uv-pip-compile--no-strip-extras)
Include extras in the output file.

By default, uv strips extras, as any packages pulled in by the extras
are already included as dependencies in the output file directly.
Further, output files generated with --no-strip-extras cannot be used as
constraints files in install and sync invocations.

---------

Signed-off-by: elliot-barn <[email protected]>
landscapepainter pushed a commit to landscapepainter/ray that referenced this pull request Nov 17, 2025
Removing unnecessary --strip-extras flag from raydepsets (only updates
depset lock file headers):

[--strip-extras](https://docs.astral.sh/uv/reference/cli/#uv-pip-compile--no-strip-extras)
Include extras in the output file.

By default, uv strips extras, as any packages pulled in by the extras
are already included as dependencies in the output file directly.
Further, output files generated with --no-strip-extras cannot be used as
constraints files in install and sync invocations.

---------

Signed-off-by: elliot-barn <[email protected]>
Aydin-ab pushed a commit to Aydin-ab/ray-aydin that referenced this pull request Nov 19, 2025
Removing unnecessary --strip-extras flag from raydepsets (only updates
depset lock file headers):

[--strip-extras](https://docs.astral.sh/uv/reference/cli/#uv-pip-compile--no-strip-extras)
Include extras in the output file.

By default, uv strips extras, as any packages pulled in by the extras
are already included as dependencies in the output file directly.
Further, output files generated with --no-strip-extras cannot be used as
constraints files in install and sync invocations.

---------

Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: Aydin Abiar <[email protected]>
ykdojo pushed a commit to ykdojo/ray that referenced this pull request Nov 27, 2025
Removing unnecessary --strip-extras flag from raydepsets (only updates
depset lock file headers):

[--strip-extras](https://docs.astral.sh/uv/reference/cli/#uv-pip-compile--no-strip-extras)
Include extras in the output file.

By default, uv strips extras, as any packages pulled in by the extras
are already included as dependencies in the output file directly.
Further, output files generated with --no-strip-extras cannot be used as
constraints files in install and sync invocations.

---------

Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: YK <[email protected]>
SheldonTsen pushed a commit to SheldonTsen/ray that referenced this pull request Dec 1, 2025
Removing unnecessary --strip-extras flag from raydepsets (only updates
depset lock file headers):

[--strip-extras](https://docs.astral.sh/uv/reference/cli/#uv-pip-compile--no-strip-extras)
Include extras in the output file.

By default, uv strips extras, as any packages pulled in by the extras
are already included as dependencies in the output file directly.
Further, output files generated with --no-strip-extras cannot be used as
constraints files in install and sync invocations.

---------

Signed-off-by: elliot-barn <[email protected]>
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