question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dependency conflict with Home Assistant 0.103.2

See original GitHub issue

Version of HACS

0.20.3

Describe the bug

Upgrading HACS from 0.19.0 to 0.20.3 fails due to dependency conflict with aiohttp=3.6.2 (homeassistant requires aiohttp=3.6.1), there were also other conflicts but they all seem to be related to aiohttp.

Since HACS needs to “live” in the same environment as Home Assistant, it seems that we need to establish some parity in the requirements, otherwise it creates a mess when trying to upgrade HACS with incompatible requirements.

log

ERROR: homeassistant 0.103.2 has requirement aiohttp==3.6.1, but you'll have aiohttp 3.6.2 which is incompatible.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
dannyk81commented, Dec 27, 2019

It should try (and manage) to install during startup, that is how it’s used for every user.

I run this on Hassio myself (also docker), and never have issues with installation/upgrade of custom components.

thanks @ludeeus, in my case this issue seem to be related to permissions, since I’m running the HASS container with non-root UID/GID (you know, for security 😄) the user only has write permissions to /config and this happens:

Dec 27 12:18:40 adl01 home-assistant[18653]: 2019-12-27 17:18:40 ERROR (SyncWorker_3) [homeassistant.util.package] Unable to install package integrationhelper: ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.7/site-packages/integrationhelper-0.2.2.dist-info'
Dec 27 12:18:40 adl01 home-assistant[18653]: Consider using the `--user` option or check the permissions.

this seems to be related to this https://community.home-assistant.io/t/installing-ha-in-docker-on-ubuntu-as-non-root-user/48424/24 and looks like getting things to work with a non-root user is a bit tricky… will close this, as it doesn’t seem to be related to HACS but a more general issue for any of us running HASS with non-root user.

0reactions
hacs-bot[bot]commented, Feb 25, 2020

This issue is closed, closed issues are ignored.

If you have issues similar to this, please open a seperate issue. https://github.com/custom-components/hacs/issues/new/choose

And remember to fill out the entire issue template 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

0.103: Happy Holidays, Service calls, StarLine, GeoNet NZ ...
Home Assistant 0.103 is released, which is the last major release for this ... which wasn't always the case, and therefore inconsistent.
Read more >
Problems with dependencies - Home Assistant
Almost all integrations have external dependencies to communicate with your devices and services. Sometimes Home Assistant is unable to install the ...
Read more >
Can't upgrade due to cryptography (and pip)
I get this: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the ......
Read more >
HA 0.103.0 update broke HACS (Requirements for hacs not ...
The main one missing is HACS, when i check the log files i see the following. 2019-12-13 17:47:56 ERROR (MainThread) [homeassistant.setup] Setup ...
Read more >
0.103: Unable to import timer component - Configuration
Component error: timer - cannot import name 'ENTITY_SERVICE_SCHEMA' from 'homeassistant.helpers.config_validation' ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found