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

Pydantic V2 Support #493

Open
jenniferjiangkells opened this issue Sep 27, 2024 · 5 comments
Open

Pydantic V2 Support #493

jenniferjiangkells opened this issue Sep 27, 2024 · 5 comments

Comments

@jenniferjiangkells
Copy link
Contributor

Hi guys,

As Pydantic V1 will probably reach end-of-life soon (and they apparently promise there will be no more breaking changes, are there any plans for Pydantic V2 support? (I've been using MedCAT with some libraries that have already migrated to V2 and it's just a huge headache)

@mart-r
Copy link
Collaborator

mart-r commented Sep 27, 2024

There's a PR up for v1 and v2 support (#476).
Though there is no specific date for a release with it included nor a consensus whether the final implementation will support both 1 and 2, or just 2.

@mart-r
Copy link
Collaborator

mart-r commented Dec 9, 2024

@jenniferjiangkells
We've now merged in PR #476 that'll make us use (only) pydantic 2.

We're planning a beta release at some point. Would you be willing to try out this beta version when we release it?

@mart-r
Copy link
Collaborator

mart-r commented Dec 11, 2024

@jenniferjiangkells
We've now released v1.15.0b0 - a Beta release that includes the move to pydantic 2.

@jenniferjiangkells
Copy link
Contributor Author

jenniferjiangkells commented Dec 11, 2024 via email

@mart-r
Copy link
Collaborator

mart-r commented Jan 6, 2025

@jenniferjiangkells
Did you have any issues with the beta release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants