FS#72000 - Home-Assistant 2021.9.0-1 requires python-httpx 0.19.0
Attached to Project:
Community Packages
Opened by Rudolf Springorum (rudspring) - Friday, 03 September 2021, 15:45 GMT
Last edited by Maxime Gauduin (Alucryd) - Saturday, 04 September 2021, 10:39 GMT
Opened by Rudolf Springorum (rudspring) - Friday, 03 September 2021, 15:45 GMT
Last edited by Maxime Gauduin (Alucryd) - Saturday, 04 September 2021, 10:39 GMT
|
Details
Description: Home-Assistant 2021.9.0-1 requires python-httpx
0.19.0?
Additional info: * package version(s): home-assistant 2021.9.0-1 * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: When upgrading home-assistant (2021.8.4-1 => 2021.9.0-1) the application does not start, it keeps looping. In log I read: "pkg_resources.DistributionNotFound: The 'httpx>=0.19.0' distribution was not found and is required by homeassistant" LOGGING: > sudo journalctl -u home-assistant -f -n0 Sep 03 16:43:51 waterfront systemd[1]: Started Home assistant. Sep 03 16:43:53 waterfront hass[18024]: Traceback (most recent call last): Sep 03 16:43:53 waterfront hass[18024]: File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 568, in _build_master Sep 03 16:43:53 waterfront hass[18024]: ws.require(__requires__) Sep 03 16:43:53 waterfront hass[18024]: File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 886, in require Sep 03 16:43:53 waterfront hass[18024]: needed = self.resolve(parse_requirements(requirements)) Sep 03 16:43:53 waterfront hass[18024]: File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 777, in resolve Sep 03 16:43:53 waterfront hass[18024]: raise VersionConflict(dist, req).with_context(dependent_req) Sep 03 16:43:53 waterfront hass[18024]: pkg_resources.ContextualVersionConflict: (httpx 0.18.2 (/usr/lib/python3.9/site-packages), Requirement.parse('httpx>=0.19.0'), {'homeassistant'}) Sep 03 16:43:53 waterfront hass[18024]: During handling of the above exception, another exception occurred: Sep 03 16:43:53 waterfront hass[18024]: Traceback (most recent call last): Sep 03 16:43:53 waterfront hass[18024]: File "/usr/bin/hass", line 33, in <module> Sep 03 16:43:53 waterfront hass[18024]: sys.exit(load_entry_point('homeassistant==2021.9.0', 'console_scripts', 'hass')()) Sep 03 16:43:53 waterfront hass[18024]: File "/usr/lib/python3.9/site-packages/homeassistant/__main__.py", line 280, in main Sep 03 16:43:53 waterfront hass[18024]: args = get_arguments() Sep 03 16:43:53 waterfront hass[18024]: File "/usr/lib/python3.9/site-packages/homeassistant/__main__.py", line 61, in get_arguments Sep 03 16:43:53 waterfront hass[18024]: import homeassistant.config as config_util Sep 03 16:43:53 waterfront hass[18024]: File "/usr/lib/python3.9/site-packages/homeassistant/config.py", line 19, in <module> Sep 03 16:43:53 waterfront hass[18024]: from homeassistant import auth Sep 03 16:43:53 waterfront hass[18024]: File "/usr/lib/python3.9/site-packages/homeassistant/auth/__init__.py", line 11, in <module> Sep 03 16:43:53 waterfront hass[18024]: from homeassistant import data_entry_flow Sep 03 16:43:53 waterfront hass[18024]: File "/usr/lib/python3.9/site-packages/homeassistant/data_entry_flow.py", line 13, in <module> Sep 03 16:43:53 waterfront hass[18024]: from .core import HomeAssistant, callback Sep 03 16:43:53 waterfront hass[18024]: File "/usr/lib/python3.9/site-packages/homeassistant/core.py", line 63, in <module> Sep 03 16:43:53 waterfront hass[18024]: from homeassistant.util import location Sep 03 16:43:53 waterfront hass[18024]: File "/usr/lib/python3.9/site-packages/homeassistant/util/location.py", line 13, in <module> Sep 03 16:43:53 waterfront hass[18024]: import aiohttp Sep 03 16:43:53 waterfront hass[18024]: File "/usr/lib/python3.9/site-packages/aiohttp/__init__.py", line 213, in <module> Sep 03 16:43:53 waterfront hass[18024]: from .worker import GunicornUVLoopWebWorker, GunicornWebWorker Sep 03 16:43:53 waterfront hass[18024]: File "/usr/lib/python3.9/site-packages/aiohttp/worker.py", line 11, in <module> Sep 03 16:43:53 waterfront hass[18024]: from gunicorn.config import AccessLogFormat as GunicornAccessLogFormat Sep 03 16:43:53 waterfront hass[18024]: File "/usr/lib/python3.9/site-packages/gunicorn/config.py", line 20, in <module> Sep 03 16:43:53 waterfront hass[18024]: from gunicorn import __version__, util Sep 03 16:43:53 waterfront hass[18024]: File "/usr/lib/python3.9/site-packages/gunicorn/util.py", line 25, in <module> Sep 03 16:43:53 waterfront hass[18024]: import pkg_resources Sep 03 16:43:53 waterfront hass[18024]: File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3243, in <module> Sep 03 16:43:53 waterfront hass[18024]: def _initialize_master_working_set(): Sep 03 16:43:53 waterfront hass[18024]: File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3226, in _call_aside Sep 03 16:43:53 waterfront hass[18024]: f(*args, **kwargs) Sep 03 16:43:53 waterfront hass[18024]: File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set Sep 03 16:43:53 waterfront hass[18024]: working_set = WorkingSet._build_master() Sep 03 16:43:53 waterfront hass[18024]: File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 570, in _build_master Sep 03 16:43:53 waterfront hass[18024]: return cls._build_from_requirements(__requires__) Sep 03 16:43:53 waterfront hass[18024]: File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 583, in _build_from_requirements Sep 03 16:43:53 waterfront hass[18024]: dists = ws.resolve(reqs, Environment()) Sep 03 16:43:53 waterfront hass[18024]: File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 772, in resolve Sep 03 16:43:53 waterfront hass[18024]: raise DistributionNotFound(req, requirers) Sep 03 16:43:53 waterfront hass[18024]: pkg_resources.DistributionNotFound: The 'httpx>=0.19.0' distribution was not found and is required by homeassistant Sep 03 16:43:53 waterfront systemd[1]: home-assistant.service: Main process exited, code=exited, status=1/FAILURE Sep 03 16:43:53 waterfront systemd[1]: home-assistant.service: Failed with result 'exit-code'. Sep 03 16:43:53 waterfront systemd[1]: home-assistant.service: Consumed 2.089s CPU time. Sep 03 16:43:53 waterfront systemd[1]: home-assistant.service: Scheduled restart job, restart counter is at 44. Sep 03 16:43:53 waterfront systemd[1]: Stopped Home assistant. |
This task depends upon
Comment by
Maxime Gauduin (Alucryd) -
Saturday, 04 September 2021, 10:38 GMT
Thanks for the heads up, I just pushed an updated httpx in
[community] :)