-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Upgrade Pydantic to v2.12.0 and remove hack for Python 3.13 #26481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
|
See if tests pass |
There was a problem hiding this 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 upgrades Pydantic to version 2.12.0, which allows for the removal of a workaround previously needed for Python 3.13 support. The changes correctly update the Pydantic version across various requirements files and remove the now-obsolete hack from vllm/config/utils.py. The dependency updates in the lock file are consistent with the Pydantic upgrade. The changes are correct and well-contained. I have no further comments.
…ject#26481) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Signed-off-by: yang926 <yang926@naver.com>
|
note that pydantic v2.12.0 has some issues: https://github.com/pydantic/pydantic/issues?q=is%3Aissue%20state%3Aopen%202.12.0 |
|
It seems that we are not experiencing any issues as all the tests have passed (changing the requirements triggers every test to run). We will update to a patch version as soon as it is available. |
…ject#26481) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Signed-off-by: xuebwang-amd <xuebwang@amd.com>
…ject#26481) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Signed-off-by: Dhruvil Bhatt <bhattdbh@amazon.com>
…ject#26481) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
…ject#26481) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
…ject#26481) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Signed-off-by: xuebwang-amd <xuebwang@amd.com>
…ject#26481) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Signed-off-by: 0xrushi <6279035+0xrushi@users.noreply.github.com>
…ject#26481) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Signed-off-by: 0xrushi <6279035+0xrushi@users.noreply.github.com>
…ject#26481) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
We can do this now that the new Pydantic version has been released