Skip to content
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

core[patch]: pydantic 2.11 compat #29963

Merged
merged 1 commit into from
Feb 24, 2025
Merged

core[patch]: pydantic 2.11 compat #29963

merged 1 commit into from
Feb 24, 2025

Conversation

ccurme
Copy link
Collaborator

@ccurme ccurme commented Feb 24, 2025

Resolves #29951

Was able to reproduce the issue with Anthropic installing from pydantic main and correct it with the fix recommended in the issue.

Thanks very much @Viicos for finding the bug and the detailed writeup!

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Feb 24, 2025
Copy link

vercel bot commented Feb 24, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Feb 24, 2025 3:57pm

@dosubot dosubot bot added the 🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature label Feb 24, 2025
@ccurme ccurme merged commit 9ce0798 into master Feb 24, 2025
71 checks passed
@ccurme ccurme deleted the cc/pydantic_211 branch February 24, 2025 16:11
@Viicos
Copy link

Viicos commented Feb 24, 2025

Great to see the imports can just be moved out of the type checking block

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Errors with upcoming 2.11 Pydantic release
2 participants