Hi!
I can’t get any update after 2023.2.5 working, I have tried several versions with the same result.
Most of my integrations won’t start and give similar errors in the logs, I’ll include an example below.
My home assistant runs as a VM in Unraid so I can make a backup and try stuff if needed. Upgrading always ends in rolling back to 2023.2.5. I don’t experience any issues in this version.
Any advice?
Example of error log:
Logger: homeassistant.setup
Source: setup.py:94
First occurred: 12:18:42 (1 occurrences)
Last logged: 12:18:42
Error during setup of component afvalbeheer
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/requirements.py", line 35, in __init__
parsed = parse_requirement(requirement_string)
File "/usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_parser.py", line 64, in parse_requirement
return _parse_requirement(Tokenizer(source, rules=DEFAULT_RULES))
File "/usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_parser.py", line 82, in _parse_requirement
url, specifier, marker = _parse_requirement_details(tokenizer)
File "/usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_parser.py", line 126, in _parse_requirement_details
marker = _parse_requirement_marker(
File "/usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_parser.py", line 147, in _parse_requirement_marker
tokenizer.raise_syntax_error(
File "/usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_tokenizer.py", line 163, in raise_syntax_error
raise ParserSyntaxError(
pkg_resources.extern.packaging._tokenizer.ParserSyntaxError: Expected end or semicolon (after name and no valid version specifier)
requests>==2.20.0
^
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/util/package.py", line 40, in is_installed
pkg_resources.get_distribution(package)
File "/usr/local/lib/python3.10/site-packages/pkg_resources/__init__.py", line 524, in get_distribution
dist = Requirement.parse(dist)
File "/usr/local/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3211, in parse
(req,) = parse_requirements(s)
File "/usr/local/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3170, in __init__
super(Requirement, self).__init__(requirement_string)
File "/usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/requirements.py", line 37, in __init__
raise InvalidRequirement(str(e)) from e
pkg_resources.extern.packaging.requirements.InvalidRequirement: Expected end or semicolon (after name and no valid version specifier)
requests>==2.20.0
^
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 257, in _async_setup_component
result = await task
File "/config/custom_components/afvalbeheer/__init__.py", line 87, in async_setup
await hass.helpers.discovery.async_load_platform(
File "/usr/src/homeassistant/homeassistant/helpers/discovery.py", line 159, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/usr/src/homeassistant/homeassistant/setup.py", line 94, in async_setup_component
return await setup_tasks[domain]
ValueError: not enough values to unpack (expected 1, got 0)