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

Need to migrate to pydantic 2 ASAP #20

Closed
rverstappen opened this issue Dec 30, 2024 · 4 comments
Closed

Need to migrate to pydantic 2 ASAP #20

rverstappen opened this issue Dec 30, 2024 · 4 comments

Comments

@rverstappen
Copy link

hacs_amplipi needs pyamplipi to migrate to pydantic 2

https://developers.home-assistant.io/blog/2024/12/21/moving-to-pydantic-v2/#:~:text=Pydantic%20is%20a%20widely%20used,backward%20compatible%20with%20Pydantic%20v1.

Sorry, I don't have the experience yet to do this myself but I imagine it should be pretty straightforward for one of you who does.

@linknum23
Copy link
Collaborator

I worked on this for the latter half of today (Monday). We were using a couple of the more advanced features of pydantic so this will take a little time to validate and test. Checkout the draft of this: micro-nova#8

@rverstappen
Copy link
Author

rverstappen commented Dec 31, 2024

Wow! Yes, I see why it was frozen at V1 with so many necessary changes!! Thank you for the work.

@tbham
Copy link

tbham commented Jan 4, 2025

FYI, I opened an issue on the integration GitHub page before checking here first. With the release of HA Core 2025.1.0 the Amplipi integration cannot start due to the pydantic dependency issue flagged in this thread.

micro-nova/hacs_amplipi#13

Cheers!

@linknum23
Copy link
Collaborator

This is fixed in micro-nova/pyamplipi which is now the source of pyamplipi packages hosted on pypi. We should probably archive this repository soon.

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

3 participants