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 2.0 support #56

Open
bitdivision opened this issue Jul 24, 2023 · 1 comment · May be fixed by #58
Open

Pydantic 2.0 support #56

bitdivision opened this issue Jul 24, 2023 · 1 comment · May be fixed by #58

Comments

@bitdivision
Copy link

Pydantic 2.0 was recently released

This library currently depends on Pydantic 1.8.2. This makes it incompatible with projects using Pydantic 2.0

Is there any appetite to upgrade the dependency to v2? The migration shouldn't be too difficult (see migration guide), so just trying to get an idea of whether it's worth submitting a PR for this. I would imagine that the reverse issue (people using Pydantic v1 with Anvil) will become an issue as well, though at least there is an obvious path to upgrade, particularly given that v2 allows the use of v1 features.

Interested to hear your thoughts!

@eronning
Copy link

eronning commented Aug 2, 2023

Would also love a path forward towards upgrading towards Pydantic 2.0

@benogle benogle linked a pull request Feb 3, 2024 that will close this issue
2 tasks
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

Successfully merging a pull request may close this issue.

2 participants