Skip to content

Fixes to tests#58317

Merged
aslonnie merged 2 commits into
releases/2.51.1from
lonnie-2511-fixes
Oct 30, 2025
Merged

Fixes to tests#58317
aslonnie merged 2 commits into
releases/2.51.1from
lonnie-2511-fixes

Conversation

@aslonnie

Copy link
Copy Markdown
Contributor

lint on code format and cherrypick #58215

Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
@aslonnie aslonnie requested review from a team as code owners October 30, 2025 16:57
@aslonnie aslonnie merged commit eeb38c7 into releases/2.51.1 Oct 30, 2025
3 of 5 checks passed
@aslonnie aslonnie deleted the lonnie-2511-fixes branch October 30, 2025 16:57

@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 includes a fix to pin the pip version in the install-dependencies.sh script to avoid a breaking change introduced in pip version 25.3. Additionally, a whitespace change was made in direct_transport_nixl.py.

Comment on lines +136 to +138
# 25.3 has breaking change where other Python packages like "click" does not work
# with it anymore. pip-compile will fail to work with the package's setup code.
"${python}" -m pip install pip==25.2

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

Pinning pip to a specific version can be a temporary solution. It would be beneficial to add a comment explaining why this version is being pinned and under what circumstances this pin can be removed. This helps future maintainers understand the context and avoid potential issues when upgrading pip later.

Consider adding a link to the pip release notes or a related issue for more context.

Suggested change
# 25.3 has breaking change where other Python packages like "click" does not work
# with it anymore. pip-compile will fail to work with the package's setup code.
"${python}" -m pip install pip==25.2
# 25.3 has breaking change where other Python packages like "click" does not work
# with it anymore. pip-compile will fail to work with the package's setup code.
# Pinning to 25.2 to avoid this issue. See [link to issue or discussion]
"${python}" -m pip install pip==25.2
weiquanlee pushed a commit to antgroup/ant-ray that referenced this pull request Dec 11, 2025
lint on code format and cherrypick ray-project#58215

---------

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

None yet

1 participant