#6 aiogithubapi error on v2021.9.1

Closed
opened 2 years ago by Ghost · 4 comments
Ghost commented 2 years ago

I'm getting a HACS-related error on the latest version. It seems to be related to the following issue: https://github.com/hacs/integration/issues/818

I could try the posted solution, but I'm not sure where the custom_components folder is located within the snap, so some help there would be appreciated.

Rolling back to 2021.8.8 fixes it completely, BTW.

Let me know if you'd like me to try something out.

I'm getting a HACS-related error on the latest version. It seems to be related to the following issue: https://github.com/hacs/integration/issues/818 I could try [the posted solution](https://github.com/hacs/integration/issues/818#issuecomment-558794678), but I'm not sure where the `custom_components` folder is located within the snap, so some help there would be appreciated. Rolling back to 2021.8.8 fixes it completely, BTW. Let me know if you'd like me to try something out.
Ghost commented 2 years ago
Poster

This is the error copied from the logs:

Logger: homeassistant.setup
Source: setup.py:179
First occurred: September 13, 2021, 16:29:55 (1 occurrences)
Last logged: September 13, 2021, 16:29:55

Setup failed for hacs: Requirements for hacs not found: ['aiogithubapi>=21.8.1'].

Another related error:

Logger: homeassistant.util.package
Source: util/package.py:99
First occurred: September 13, 2021, 16:29:55 (1 occurrences)
Last logged: September 13, 2021, 16:29:55

Unable to install package aiogithubapi>=21.8.1: ERROR: Will not install to the user site because it will lack sys.path precedence to aiogithubapi in /snap/home-assistant-snap/370/lib/python3.8/site-packages WARNING: You are using pip version 20.2.4; however, version 21.2.4 is available. You should consider upgrading via the '/snap/home-assistant-snap/370/bin/python3 -m pip install --upgrade pip' command.
This is the error copied from the logs: ``` Logger: homeassistant.setup Source: setup.py:179 First occurred: September 13, 2021, 16:29:55 (1 occurrences) Last logged: September 13, 2021, 16:29:55 Setup failed for hacs: Requirements for hacs not found: ['aiogithubapi>=21.8.1']. ``` Another related error: ``` Logger: homeassistant.util.package Source: util/package.py:99 First occurred: September 13, 2021, 16:29:55 (1 occurrences) Last logged: September 13, 2021, 16:29:55 Unable to install package aiogithubapi>=21.8.1: ERROR: Will not install to the user site because it will lack sys.path precedence to aiogithubapi in /snap/home-assistant-snap/370/lib/python3.8/site-packages WARNING: You are using pip version 20.2.4; however, version 21.2.4 is available. You should consider upgrading via the '/snap/home-assistant-snap/370/bin/python3 -m pip install --upgrade pip' command. ```

Hi,

Yes, i realized it myself yesterday evening and started looking into it straight away. Also had to roll back to 2021.8.8.

There's been some issues around setuptools and use_2to3 in 2021.9, and not sure if using setuptools v57.something instead of v58.something causes this dependency issue. I'm trying to find a way around this, to see if this can be the problem.

HA should handle dependencies and install them into the user site package location. I'll keep you posted. :)

Hi, Yes, i realized it myself yesterday evening and started looking into it straight away. Also had to roll back to 2021.8.8. There's been some issues around setuptools and `use_2to3` in 2021.9, and not sure if using setuptools v57.something instead of v58.something causes this dependency issue. I'm trying to find a way around this, to see if this can be the problem. HA should handle dependencies and install them into the user site package location. I'll keep you posted. :)

More info on this topic at github

More info on this topic at [github](https://github.com/home-assistant-snap/home-assistant-snap/issues/3)
Ghost commented 2 years ago
Poster

Nice! Seems to be fixed with latest/edge (2021.9.6)!

Nice! Seems to be fixed with `latest/edge` (2021.9.6)!
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.