-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
[BUG] HACS custom component can no longer install dependencies #109
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
I'm not sure when this started happening as it's been a while since I added a new component one obvious difference is that the above logs show packages attempting to be installed into system python ( |
It's due to upstream switching to uv instead of pip. Pip installs packages in the user's home folder when it's run by a non-root user. But uv doesn't support that behavior astral-sh/uv#2077 So we either fix the permissions of the system folders so abc user can install there, or we create a venv in the config folder. Both have their downsides and we tried both options in the past and ran into issues. I'll have to do some testing to see if some things changed. For now, you can manually install the package via |
Is there an existing issue for this?
Current Behavior
Using the latest image with HACS 2.0.1 installed, dependencies of custom integrations fail to install due to OS permission errors
Expected Behavior
dependency should install normally
Steps To Reproduce
Environment
CPU architecture
x86-64
Docker creation
The text was updated successfully, but these errors were encountered: