#HACS integration fails to load, tries to uninstall package, gets permission error (HA Container)

1 messages · Page 1 of 1 (latest)

ebon lichen
#

Hi!
I am trying to install the bskzephyr HACS integration, which I know are not officially supported, but I am trying to learn more on the behaviour. The library states "aiohttp" as dependency without a version constraint, has an uv.lock file which locks aiohappyeyeballs to 2.4.6. My HA installation has 2.5.0, and upon trying to add the integration, and waiting for the setup popup to come up, I get an error on the UI and logs show

2025-04-09 15:31:23.527 ERROR (SyncWorker_9) [homeassistant.util.package] Unable to install package bskzephyr==1.0.2: error: failed to remove file `/usr/local/lib/python3.13/site-packages/aiohappyeyeballs-2.5.0.dist-info/INSTALLER`: Permission denied (os error 13)

I am fairly sure we should not be required to uninstall a package HA is already using for an integration, so I assume it is an issue of eagerly locking to a certain dependency version? Problem is, I am not very familiar with python and I don't know what am I looking for in build tools. The developer of the integration does not face the same issue on his installation. Any relevant resources or examples would be handy.
Thanks!