For the last few release cycles, the Check Home Assistant configuration addon shows a fatal error while checking my config against the latest version:
Testing configuration at /tmp/config
Fatal error while loading config: [Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/idna-3.2.dist-info/METADATA'
Failed config
General Errors:
- [Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/idna-3.2.dist-info/METADATA'
Despite this, the updates (so far) have always succeeded and during normal run I see no problem with it (the logs are clean).
I checked my config for the missing directory and I found that indeed, I don’t have a /usr/local/lib/python3.9/site-packages/idna-3.2.dist-info structure, but I have a ‘/usr/local/lib/python3.9/site-packages/idna-2.10.dist-info’ directory.
I’m certain I haven’t done anything manually with the idna component. Is there any way to fix this issue (by updating the idna component or otherwise)?
… and yes, the problem is that I do have the idna-2.10.dist-info with METADATA, but the check fails because it looks for a idna-3.2.dist-info structure…