#6 aiogithubapi error on v2021.9.1

Fechado
3 anos atrás foi aberto por Ghost · 4 comentários
Ghost comentado 3 anos atrás

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 comentado 3 anos atrás
Autor

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. ```
Joachim Marthinsen Giæver comentado 3 anos atrás
Proprietário

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. :)
Joachim Marthinsen Giæver comentado 3 anos atrás
Proprietário

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 comentado 3 anos atrás
Autor

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

Nice! Seems to be fixed with `latest/edge` (2021.9.6)!
Ghost fechado em 3 anos atrás
Faça login para participar desta conversação.
Sem milestone
Não atribuída
2 participantes
Carregando...
Cancelar
Salvar
Ainda não há conteúdo.