Closed coreuter closed 1 month ago
There are a lot of updates recently in the httpx package which I use for loading the data. Some mirrors don't update them in due time which produces this error. This is therefore not a direct error in my integration I can however pin the version to a specific one to prevent this error.
Thanks for your quick response!
Are you talking about this package? It was last updated on August 27, 2024. The issue first occurred on September 25, 2024 – after upgrading to 2024.10.0b0 – and still persists.
Although my knowledge in this area is limited, I just did a bit of experimenting and installed simple_dwd_weatherforecast
manually inside the container with plain pip (ssh'ed into the Home Assistant OS server, exec'ed into the container, and ran pip install simple_dwd_weatherforecast
). After a ha core restart
, the dwd_weather integration worked again. However, after I did a ha core rebuild
, it no longer worked and failed with above mentioned errors. What I noticed is that with pip stream_inflate-0.0.23
is installed. But with uv it tries to install stream-inflate==0.0.37
, which fails.
No, it is stream-inflate which is used by stream-unzip and not httpx, my error.
I'll release a new version, which hopefully pins the package to an older version, which is sufficient for now.
I've pinned the version now.
An update to v2.1.12 was provided via HACS, but I had to manually change the requirements in manifest.json from "simple_dwd_weatherforecast==2.1.5"
to "simple_dwd_weatherforecast==2.1.6"
after installing the update via HACS.
The integration now loads , but the following warning is logged:
However, it does not seem to affect the functionality of dwd_weather. Never mind. I don't know why, but after a few restarts the error disappeared.
Thanks a lot for the quick fix!
Version of home_assistant
The problem first occurred with 2024.10.0b1 and persists until now (2024.10.0b4).
Version of the custom_component
v2.1.10 and v2.1.11
Describe the bug
The integration no longer works/does not load at all. I'm not sure whether it's the integration, the
simple_dwd_weatherforecast
dependency, or the new dependency resolution method in 2024.10.0b that is causing the problem. I suspect the latter because the problem first appeared with dwd_weather v2.1.10 after installing HA 2024.10.0b1. No other custom integrations that are installed have reported a similar issue.Debug log
custom_components.dwd_weather: debug
was set, but no dwd_weather log output other than what is listed below was logged.