FS#69411 - [home-assistant] requires pip < 20.3
Attached to Project:
Community Packages
Opened by Christoph Haag (haagch) - Saturday, 23 January 2021, 03:20 GMT
Last edited by Maxime Gauduin (Alucryd) - Wednesday, 14 April 2021, 16:50 GMT
Opened by Christoph Haag (haagch) - Saturday, 23 January 2021, 03:20 GMT
Last edited by Maxime Gauduin (Alucryd) - Wednesday, 14 April 2021, 16:50 GMT
|
Details
https://github.com/home-assistant/core/pull/43771
Currently arch has python-pip 20.3-1 Restarting home-assistant after an update loops forever with the message pkg_resources.DistributionNotFound: The 'pip<20.3,>=8.0.3' distribution was not found and is required by homeassistant Downgrading to python-pip-20.2.4-1 helps for now. |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Wednesday, 14 April 2021, 16:50 GMT
Reason for closing: Fixed
Additional comments about closing: 2021.4.4-1
Wednesday, 14 April 2021, 16:50 GMT
Reason for closing: Fixed
Additional comments about closing: 2021.4.4-1
> sed 's/,<20.3//g' -i setup.py requirements.txt homeassistant/package_constraints.txt
Description:
I updated my Home-Assistant installation today (2021/01/28) and it looks like it can't start anymore, as the installed pip version (which was updated a day after the home-assistant package) is too new.
According to upstream this won't ne resolved anytime soon.
Additional info:
* package version(s)
python-pip 20.3.1-1
home-assistant 2021.1.5-1
* config and/or log files etc.
# journalctl -eu home-assistant.service
...
Jan 28 10:51:29 hass hass[9044]: pkg_resources.DistributionNotFound: The 'pip<20.3,>=8.0.3' distribution was not found and is required by homeassistant
* link to upstream bug report, if any
https://github.com/home-assistant/core/issues/45444
Steps to reproduce:
Start home-assistant.service
from what I gather from the gh issue discussion this doesn't have an imminent upstream fix.
I've created a patch and added it to the PKGBUILD on my fork of the community repo. Commit can be seen here:
https://github.com/kiriakos/svntogit-community/commit/99ff08feabdf5956d4ab113473a053e5d7d05bfb
That PKGBUILD runs flawlessly for me. I'm aware that the way I apply the patch is different to the other mechanism, I'm happy to discuss what makes sense here. I think we will have to implement some sort of stopgap measure for now right? Happy to help!
your update / patch is still not in community repository. how long do we need wait?
thanks