Skip to content

[core] Migrate ray.private.pydantic_compat from _private to _common - #53686

Merged
edoakes merged 4 commits into
ray-project:masterfrom
nehiljain:fix-53478-pydantic_compat
Jun 10, 2025
Merged

edoakes merged 4 commits into
ray-project:masterfrom
nehiljain:fix-53478-pydantic_compat

Conversation

@nehiljain

@nehiljain nehiljain commented Jun 10, 2025 •

Copy link
Copy Markdown
Contributor

Why are these changes needed?

Related issue number

Fixes: #53478

Checks

@nehiljain
nehiljain requested review from a team, aslonnie and edoakes as code owners June 10, 2025 01:20
@abrarsheikh abrarsheikh added the go add ONLY when ready to merge, run all tests label Jun 10, 2025
@edoakes

edoakes commented Jun 10, 2025

Copy link
Copy Markdown
Collaborator

@nehiljain

Copy link
Copy Markdown
Contributor Author

Linter failure: https://buildkite.com/ray-project/premerge/builds/41759#01975a68-9240-401b-8409-b8cfdde6d6b3/185-270

There are instructions there on how to install & run pre-commit locally.

Hehe, sorry I tried to be clever by resolving conflicts right in the github.com UI. Just fixed the linting issue.

Signed-off-by: Nehil Jain <[email protected]>
@nehiljain
nehiljain force-pushed the fix-53478-pydantic_compat branch from ac478b2 to cb8ef1a Compare June 10, 2025 16:12
@edoakes
edoakes merged commit 853e279 into ray-project:master Jun 10, 2025
@edoakes

edoakes commented Jun 10, 2025

Copy link
Copy Markdown
Collaborator

Thanks @nehiljain 💪

@edoakes

edoakes commented Jun 10, 2025 •

Copy link
Copy Markdown
Collaborator

@nehiljain if you are hungry for more, you can consider converting all usage of ray._private.state to ray.util.state, such as:

tests/test_grpc.py:        _actors = ray._private.state.actors().values()
tests/test_grpc.py:    wait_for_condition(lambda: len(ray._private.state.actors()) == 5)
tests/test_grpc.py:        _actors = ray._private.state.actors().values()

@nehiljain

Copy link
Copy Markdown
Contributor Author

@nehiljain if you are hungry for more, you can consider converting all usage of ray._private.state to ray.util.state, such as:

tests/test_grpc.py:        _actors = ray._private.state.actors().values()
tests/test_grpc.py:    wait_for_condition(lambda: len(ray._private.state.actors()) == 5)
tests/test_grpc.py:        _actors = ray._private.state.actors().values()

Will do this by EOW.

elliot-barn pushed a commit that referenced this pull request Jun 18, 2025
elliot-barn pushed a commit that referenced this pull request Jul 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[core|serve] Migrate shared utilities from ray._private to ray._common

4 participants