Closed ClusterM closed 3 weeks ago
Make sure you have read the issue guidelines and that you filled out the entire template.
If you have an issue identical to this, do not add comments like "same here", "i have this too", instead add a :+1: reaction to the issue description. Thanks! :+1:
Your packages is too new, install the require me Ts file from the home assistant repo, or use contianer/OS.
This is consistent with an issue that homeassistant's pinned version of pydantic (1.10.12) has with Python 3.12.4: https://github.com/pydantic/pydantic/issues/9607. Pydantic Version 1.10.16 was released a couple of hours ago addressing this. hacs may not work with Python 3.12.4 until homeassistant updates its version pin (this is also mentioned on the home-assistant/core Nest Integration issue referenced above, hopefully leading to a fix).
In line with what jretz mentioned I just upgraded pydantic in the home assistant venv to 1.10.16
and everything is working fine now. Not sure why the home assistant package has a patch version pinned instead of something like pydantic~=1.10.0
, as that's kind of the whole point of semantic versioning.
pip install pydantic==1.10.16
System Health details
System Information
Home Assistant Cloud
logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okDashboards
dashboards | 2 -- | -- resources | 1 views | 9 mode | storageRecorder
oldest_recorder_run | April 24, 2024 at 18:53 -- | -- current_recorder_run | June 7, 2024 at 17:56 estimated_db_size | 4169.91 MiB database_engine | mysql database_version | 10.11.6Checklist
Describe the issue
Hi. I just upgraded to Python 3.12.4 and Home Assistant 2024.6.0. Installed the latest (1.34.0) HACS using
wget -O - https://get.hacs.xyz | bash -
. Restarted Home Assistant, then tried to add an integration, but I bumped into an error:Config flow could not be loaded: {"message":"Invalid handler specified"}
Log attached below.
Also tried commit 92c0e05acc4267f602628ba84ae889809a503b88 with the same result.
Reproduction steps
./configure --enable-optimizations --with-ensurepip=install --enable-loadable-sqlite-extensions --with-lto --prefix=/usr
)python3 -m venv hass
. hass/bin/activate
pip install homeassistant
wget -O - https://get.hacs.xyz | bash -
hass
Result:
Config flow could not be loaded: {"message":"Invalid handler specified"}
Debug logs
Diagnostics dump
No response