Skip to content

[ci] Relax Pydantic constraints#62308

Merged
kouroshHakha merged 4 commits intoray-project:masterfrom
eicherseiji:relax-pydantic-constraints
Apr 3, 2026
Merged

[ci] Relax Pydantic constraints#62308
kouroshHakha merged 4 commits intoray-project:masterfrom
eicherseiji:relax-pydantic-constraints

Conversation

@eicherseiji
Copy link
Copy Markdown
Contributor

@eicherseiji eicherseiji commented Apr 2, 2026

Description

Signed-off-by: seiji <seiji@anyscale.com>
@eicherseiji eicherseiji added the go add ONLY when ready to merge, run all tests label Apr 2, 2026
Copy link
Copy Markdown
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 updates various dependency lock files and requirements, including changes to Pydantic version constraints and the removal of several ML-related dependencies. The review highlights critical issues regarding the regression of Python version markers for core dependencies like cloudpickle, dask, distributed, and pandas, which were likely caused by compiling in a Python 3.12-only environment. Additionally, there are concerns regarding the removal of platform-specific markers for array-record, the potential invalidity of the xyzservices version, and a Pydantic version discrepancy introduced in the LLM requirements.

Comment thread python/requirements_compiled.txt Outdated
Comment thread python/requirements_compiled.txt Outdated
Comment thread python/requirements_compiled.txt
Comment thread python/requirements_compiled.txt Outdated
Comment thread python/requirements/llm/llm-requirements.txt Outdated
Signed-off-by: seiji <seiji@anyscale.com>
Signed-off-by: seiji <seiji@anyscale.com>
@eicherseiji eicherseiji requested a review from elliot-barn April 2, 2026 22:08
@eicherseiji
Copy link
Copy Markdown
Contributor Author

/gemini review

Copy link
Copy Markdown
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 relaxes the Pydantic version constraints in requirements.txt and setup.py to allow versions from 2.5.0 onwards and updates multiple dependencies, such as async-timeout, uvloop, and py-spy, across several lock files. Feedback indicates that the inline comment for the Pydantic dependency should be updated to clarify that both v1 and stable v2 versions are now supported. Additionally, the reviewer flagged unexpected downgrades of cloudpickle and pandas in the Python 3.12 lock files, suggesting that these should be reverted to their latest stable versions unless specific compatibility constraints necessitated the change.

Comment thread python/requirements.txt
@eicherseiji eicherseiji marked this pull request as ready for review April 2, 2026 23:13
@ray-gardener ray-gardener bot added core Issues that should be addressed in Ray Core devprod labels Apr 3, 2026
@eicherseiji
Copy link
Copy Markdown
Contributor Author

@kouroshHakha ready to merge

@kouroshHakha kouroshHakha merged commit 059479d into ray-project:master Apr 3, 2026
6 checks passed
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.

4 participants