-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
Add backwards compatibility with pydantic v1 #2261
Labels
dependencies
Pull requests that update a dependency file
Comments
postlund
added a commit
that referenced
this issue
Oct 23, 2023
postlund
added a commit
that referenced
this issue
Oct 23, 2023
The features from pydantic-settings aren't actually used nor recommended so I remove support for it to remove an unnecessary dependency. Relates to #2261
postlund
added a commit
that referenced
this issue
Oct 23, 2023
Use the bundled v1 of pydantic when running with v2 for now. This allows for usage in Home Assistant until pydantic v2 is supported there. Relates to #2261
postlund
added a commit
that referenced
this issue
Oct 23, 2023
Use the bundled v1 of pydantic when running with v2 for now. This allows for usage in Home Assistant until pydantic v2 is supported there. Relates to #2261
postlund
added a commit
that referenced
this issue
Oct 23, 2023
postlund
added a commit
that referenced
this issue
Oct 23, 2023
The features from pydantic-settings aren't actually used nor recommended so I remove support for it to remove an unnecessary dependency. Relates to #2261
postlund
added a commit
that referenced
this issue
Oct 23, 2023
Use the bundled v1 of pydantic when running with v2 for now. This allows for usage in Home Assistant until pydantic v2 is supported there. Relates to #2261
Fixed in 0.14.3. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What to change?
Seems it's not possible to use pydantic v2 in Home Assistant at the moment. Currently only the extra types package seems to be the problem, so I need to get rid of that and add some shims. More info here:
home-assistant/core#99218
https://github.com/AngellusMortis/pyunifiprotect/pull/297
The text was updated successfully, but these errors were encountered: