-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
Custom integrations with requirements fail to start with 2022.7.0 #74597
Comments
This is an issue with a custom integration, please report issues with custom integration with the custom integration author or project. they are not maintained, created, or supported by the Home Assistant Project. (Ps. Love your commander Keen avatar ❤️ ) ../Frenck |
For me it looks more like a regression in |
There is no change in that part. The right place to report issue with custom integration is with the authors/project of those custom integrations. |
Are you saying that the custom integrations are responsible themselves for installing their python package dependencies? I thought that would be done by I actually tried one more custom integration that requires python packages (wyzeapi). It fails with the same error as the other two integrations mentioned above. To me this strongly looks like the infrastructure for installing requirements for custom integrations broke with the update to 2022.7.0. |
I'm saying that reporting issues with custom integration should be reported with custom integration authors/projects. |
I get that. According to what I found this issue is probably not a problem in individual custom integrations, but in the infrastructure installing the python package requirements for those. If that code is not in home-assistant/core, can you maybe point me to another issue tracker that is more appropriate? |
This is the first time I‘m not able to update to latest version! Hope you are able to find the right location for reporting this issue and someone is able to repair it! |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This may fall on deaf ears but if all custom integrations are broken, home assistant changed something purposely and didn't notify developers of custom integrations in the release notes or something was broken by accident or wasn't thoroughly tested. Repeating yourself 3 times with that same comment doesn't help anyone. |
The problem
I am using two integrations (myenergi, gardena_smart_system) that have requirements according to their manifest.json. Since the upgrade of home assistant to 2022.7.0, both integrations fail to load:
What version of Home Assistant Core has the issue?
core-2022.7.0
What was the last working version of Home Assistant Core?
core-2022.6.7
What type of installation are you running?
Home Assistant Container
Integration causing the issue
myenergi, gardena_smart_system
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
When installing the missing python packages manually inside the home assistant container (
pip install pymyenergi py-smart-gardena
), the integrations load fine again. Of course that is only temporary until the container is rebuilt.The
pip
command executed byhomeassistant.util.package
(see logs above) seems to install the python packages into/lib/python3.10/site-packages
where they cannot be found for importing. In earlier home assistant releases, the packages were instead installed into /config/deps/lib/python3.*/site-packages. So maybe something has been messed up in homeassistant.util.package with 2022.7.0?The text was updated successfully, but these errors were encountered: