Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79413 - [home-assistant] broken after upgrade

Attached to Project: Arch Linux
Opened by Bjoern Franke (bjo) - Saturday, 19 August 2023, 15:20 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:19 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Alexander Epaneshnikov (alex19EP)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
2023.08.2 fails to start:

Aug 19 16:22:55 home python[19812]: Processing /usr/share/home-assistant/homeassistant-2023.8.2-py3-none-any.whl
Aug 19 16:22:56 home python[19812]: Collecting aiohttp==3.8.5 (from homeassistant==2023.8.2)
Aug 19 16:22:56 home python[19812]: Obtaining dependency information for aiohttp==3.8.5 from https://files.pythonhosted.org/packages/4c/b8/5c5efbb1d3cb1da3>;
Aug 19 16:22:56 home python[19812]: Downloading aiohttp-3.8.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.7 kB)
Aug 19 16:22:56 home python[19812]: Requirement already satisfied: astral==2.2 in /var/lib/hass/.venv/lib/python3.11/site-packages (from homeassistant==2023.>
Aug 19 16:22:56 home python[19812]: Requirement already satisfied: async-timeout==4.0.2 in /var/lib/hass/.venv/lib/python3.11/site-packages (from homeassista>
Aug 19 16:22:56 home python[19812]: Requirement already satisfied: attrs==22.2.0 in /var/lib/hass/.venv/lib/python3.11/site-packages (from homeassistant==202>
Aug 19 16:22:56 home python[19812]: Requirement already satisfied: atomicwrites-homeassistant==1.4.1 in /var/lib/hass/.venv/lib/python3.11/site-packages (fro>
Aug 19 16:22:56 home python[19812]: Requirement already satisfied: awesomeversion==22.9.0 in /var/lib/hass/.venv/lib/python3.11/site-packages (from homeassis>
Aug 19 16:22:56 home python[19812]: Requirement already satisfied: bcrypt==4.0.1 in /var/lib/hass/.venv/lib/python3.11/site-packages (from homeassistant==202>
Aug 19 16:22:56 home python[19812]: Requirement already satisfied: certifi>=2021.5.30 in /var/lib/hass/.venv/lib/python3.11/site-packages (from homeassistant>
Aug 19 16:22:56 home python[19812]: Requirement already satisfied: ciso8601==2.3.0 in /var/lib/hass/.venv/lib/python3.11/site-packages (from homeassistant==2>
Aug 19 16:22:56 home python[19812]: Requirement already satisfied: httpx==0.24.1 in /var/lib/hass/.venv/lib/python3.11/site-packages (from homeassistant==202>
Aug 19 16:22:56 home python[19812]: Collecting home-assistant-bluetooth==1.10.2 (from homeassistant==2023.8.2)
Aug 19 16:22:56 home python[19812]: Using cached home_assistant_bluetooth-1.10.2.tar.gz (10 kB)
Aug 19 16:22:56 home python[19812]: Installing build dependencies: started
Aug 19 16:23:02 home python[19812]: Installing build dependencies: finished with status 'done'
Aug 19 16:23:02 home python[19812]: Getting requirements to build wheel: started
Aug 19 16:23:02 home python[19812]: Getting requirements to build wheel: finished with status 'done'
Aug 19 16:23:02 home python[19812]: Preparing metadata (pyproject.toml): started
Aug 19 16:23:02 home python[19812]: Preparing metadata (pyproject.toml): finished with status 'done'
Aug 19 16:23:02 home python[19812]: Requirement already satisfied: ifaddr==0.2.0 in /var/lib/hass/.venv/lib/python3.11/site-packages (from homeassistant==202>
Aug 19 16:22:46 home python[19789]: File "/var/lib/hass/.venv/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 1>
Aug 19 16:22:46 home python[19789]: return (c for c in iterator if id(c) not in self._incompatible_ids)
Aug 19 16:22:46 home python[19789]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 19 16:22:46 home python[19789]: File "/var/lib/hass/.venv/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 4>
Aug 19 16:22:46 home python[19789]: candidate = func()
Aug 19 16:22:46 home python[19789]: ^^^^^^
Aug 19 16:22:46 home python[19789]: File "/var/lib/hass/.venv/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _m>
Aug 19 16:22:46 home python[19789]: self._link_candidate_cache[link] = LinkCandidate(
Aug 19 16:22:46 home python[19789]: ^^^^^^^^^^^^^^
Aug 19 16:22:46 home python[19789]: File "/var/lib/hass/.venv/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 268, in>
Aug 19 16:22:46 home python[19789]: cache_entry = factory.get_wheel_cache_entry(link, name)
Aug 19 16:22:46 home python[19789]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 19 16:22:46 home python[19789]: File "/var/lib/hass/.venv/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 540, in ge>
Aug 19 16:22:46 home python[19789]: return self._wheel_cache.get_cache_entry(
Aug 19 16:22:46 home python[19789]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 19 16:22:46 home python[19789]: File "/var/lib/hass/.venv/lib/python3.11/site-packages/pip/_internal/cache.py", line 266, in get_cache_entry
Aug 19 16:22:46 home python[19789]: return CacheEntry(retval, persistent=True)
Aug 19 16:22:46 home python[19789]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 19 16:22:46 home python[19789]: File "/var/lib/hass/.venv/lib/python3.11/site-packages/pip/_internal/cache.py", line 214, in __init__
Aug 19 16:22:46 home python[19789]: self.origin = DirectUrl.from_json(origin_direct_url_path.read_text())
Aug 19 16:22:46 home python[19789]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 19 16:22:46 home python[19789]: File "/var/lib/hass/.venv/lib/python3.11/site-packages/pip/_internal/models/direct_url.py", line 206, in from_json
Aug 19 16:22:46 home python[19789]: return cls.from_dict(json.loads(s))
Aug 19 16:22:46 home python[19789]: ^^^^^^^^^^^^^
Aug 19 16:22:46 home python[19789]: File "/usr/lib/python3.11/json/__init__.py", line 346, in loads
Aug 19 16:22:46 home python[19789]: return _default_decoder.decode(s)
Aug 19 16:22:46 home python[19789]: ^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 19 16:22:46 home python[19789]: File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
Aug 19 16:22:46 home python[19789]: obj, end = self.raw_decode(s, idx=_w(s, 0).end())
Aug 19 16:22:46 home python[19789]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 19 16:22:46 home python[19789]: File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
Aug 19 16:22:46 home python[19789]: raise JSONDecodeError("Expecting value", s, err.value) from None
Aug 19 16:22:46 home python[19789]: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Aug 19 16:22:46 home python[19789]: [notice] A new release of pip available: 22.3.1 -> 23.2.1
Aug 19 16:22:46 home python[19789]: [notice] To update, run: python -m pip install --upgrade pip
Aug 19 16:22:47 home systemd[1]: home-assistant.service: Control process exited, code=exited, status=2/INVALIDARGUMENT

Running "/var/lib/hass/.venv/bin/python -m pip install --upgrade pip" threw

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
homeassistant 2023.6.3 requires pip<23.2,>=21.0, but you have pip 23.2.1 which is incompatible.

But after that, the start went fine:
Aug 19 16:24:06 home python[19871]: Successfully installed PyJWT-2.8.0 PyYAML-6.0.1 aiohttp-3.8.5 cryptography-41.0.3 home-assistant-bluetooth-1.10.2 homeassistant-2023.8.2 lru-dict-1.2.0 orjson-3.9.2 pyOpenSSL-23.2.0 typing-extensions-4.7.1 ulid-transform-0.8.0

How was homeassistant 2023.6.3 still installed? Maybe the package needs some "pip uninstall" for the old version when upgrading?
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:19 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/home-assistant/issues/ 3

Loading...