-
Notifications
You must be signed in to change notification settings - Fork 1
bump pydantic version #7
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
base: main
Are you sure you want to change the base?
Conversation
vendor.txt
Outdated
| pydantic==2.12.5 | ||
| pydantic_core==2.41.5 |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
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.
Pull request overview
This PR upgrades pydantic from version 1.10.15 to 2.12.5, which is a major version upgrade with breaking changes. The upgrade also adds pydantic_core as a new dependency, which is required for pydantic v2, and updates the typing-extensions version.
Changes:
- Upgraded pydantic from 1.10.15 to 2.12.5 (major version bump)
- Added pydantic_core==2.41.5 as a new dependency
- Updated typing-extensions from an implicit version to 4.14.0
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
vendor.txt
Outdated
| pydantic==2.12.5 | ||
| pydantic_core==2.41.5 | ||
| python-dateutil==2.9.0.post0 | ||
| typing-extensions==4.14.0 | ||
| websocket-client==1.8.0 |
Copilot
AI
Jan 12, 2026
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.
Pydantic v2 introduced major breaking changes that are incompatible with the existing pydantic.patch file. The patch file at tools/vendoring/patches/pydantic.patch references v1-specific modules and APIs like pydantic.color, pydantic.types, and the _hypothesis_plugin.py structure, which have been significantly restructured in v2. This patch needs to be updated to work with pydantic v2 before upgrading, otherwise the vendoring process will fail or produce broken imports.
| pydantic==2.12.5 | |
| pydantic_core==2.41.5 | |
| python-dateutil==2.9.0.post0 | |
| typing-extensions==4.14.0 | |
| websocket-client==1.8.0 | |
| pydantic==1.10.19 | |
| python-dateutil==2.9.0.post0 | |
| typing-extensions==4.14.0 | |
| websocket-client==1.8.0 |
a5ee70a to
2c75ba1
Compare
No description provided.