-
Notifications
You must be signed in to change notification settings - Fork 12
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
Compatibility to pydantic >= 2 #56
Comments
Hi! I'd like to second this ask. It looks like there is something in #54 by the dependabot, though it appears to have failed CI and nothing was done after (It makes sense that this would fail, pydantic 2 has many breaking changes). I was looking at this tool as it would do what I want Best, |
I'll look into supporting Pydantic 2. What is the minimum version of 2 ( |
@mpkocher |
@acederberg you can just use the v1 namespace pydantic/pydantic#5771 |
@bolau and @acederberg Perhaps you should considering following the effort in the It does look like that project has different requirements/goals than |
@mpkocher are you planning on adding support for pydantic - 2 in the near future? |
Support for Pydantic v2 has been added. This has created several backwards incompatible changes. The new API should be more ergonomic and there should be less of a friction point between non-subcommands and subcommand tools. There's also been some build issues with moving to pyproject.toml that have been resolved. Installing from pypi should work as expected now. |
Hi,
I use fastapi and pydantic-cli in the same project. I would like to use pydantic in a recent version, but pydantic-cli restricts it to <2 in the requirements.txt. Do you plan to accomodate the newer versions at some point?
Best, Boris
The text was updated successfully, but these errors were encountered: