home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.13k stars 29.8k forks source link

Multiple HACS integration failures after new docker image #107025

Closed ornative closed 8 months ago

ornative commented 8 months ago

The problem

lxml, weatherlink and multiscrape failing to load. Was working fine before this last docker image.

What version of Home Assistant Core has the issue?

core-2024.1.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

lxml, weatherlink, multiscrape

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-01-03 15:25:10.030 ERROR (SyncWorker_10) [homeassistant.util.package] Unable to install package lxml==5.0.0: ERROR: Cannot install lxml==5.0.0 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
2024-01-03 15:25:12.877 ERROR (SyncWorker_10) [homeassistant.util.package] Unable to install package lxml==5.0.0: ERROR: Cannot install lxml==5.0.0 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
2024-01-03 15:25:15.673 ERROR (SyncWorker_10) [homeassistant.util.package] Unable to install package lxml==5.0.0: ERROR: Cannot install lxml==5.0.0 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
2024-01-03 15:25:15.675 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration 'multiscrape': Requirements for multiscrape not found: ['lxml==5.0.0'].
2024-01-03 15:25:16.123 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform custom_components.weatherlink.sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 842, in get_platform
    cache[full_name] = self._import_platform(platform_name)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 859, in _import_platform
    return importlib.import_module(f"{self.pkg_path}.{platform_name}")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/config/custom_components/weatherlink/sensor.py", line 4, in <module>
    from .sensor_air_quality import *
  File "/config/custom_components/weatherlink/sensor_air_quality.py", line 18, in <module>
    class AirQualitySensor(WeatherLinkSensor, abc=True):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 295, in __new__
    return super().__new__(mcs, name, bases, namespace)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen abc>", line 106, in __new__
  File "/config/custom_components/weatherlink/sensor_common.py", line 45, in __init_subclass__
    sensor_name = kwargs.pop("sensor_name")
                  ^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'sensor_name'
2024-01-03 15:25:16.130 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform 'weatherlink.sensor': Platform not found (Exception importing custom_components.weatherlink.sensor).
2024-01-03 15:28:03.280 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package lxml==5.0.0: ERROR: Cannot install lxml==5.0.0 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
2024-01-03 15:28:06.104 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package lxml==5.0.0: ERROR: Cannot install lxml==5.0.0 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
2024-01-03 15:28:08.888 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package lxml==5.0.0: ERROR: Cannot install lxml==5.0.0 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Additional information

No response

bdraco commented 8 months ago

You likely need to update multiscrape https://github.com/danieldotnl/ha-multiscrape/pull/306