core: Home Assistant Core Update Breaks iAqualink Integration
The problem
After updating to HA Core 2022.11 Jandy iAqualink fails to start. There seems to be an issue with missing python dependency ‘httpx’.
What version of Home Assistant Core has the issue?
core-2022.11
What was the last working version of Home Assistant Core?
core-2022.10.5
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
iAqualink
Link to integration documentation on our website
https://www.home-assistant.io/integrations/iaqualink
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
2022-11-02 20:47:56.153 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry <email> for iaqualink
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 365, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/iaqualink/__init__.py", line 76, in async_setup_entry
await aqualink.login()
File "/usr/local/lib/python3.10/site-packages/iaqualink/client.py", line 126, in login
r = await self._send_login_request()
File "/usr/local/lib/python3.10/site-packages/iaqualink/client.py", line 121, in _send_login_request
return await self.send_request(
File "/usr/local/lib/python3.10/site-packages/iaqualink/client.py", line 92, in send_request
self._client = httpx.AsyncClient(
File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1386, in __init__
raise ImportError(
ImportError: Using http2=True, but the 'h2' package is not installed. Make sure to install httpx using `pip install httpx[http2]`.
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 5
- Comments: 17 (1 by maintainers)
Commits related to this issue
- Add missing h2 dep to iaqualink fixes #81439 — committed to bdraco/home-assistant by bdraco 2 years ago
- Add missing h2 dep to iaqualink (#81630) fixes https://github.com/home-assistant/core/issues/81439 — committed to home-assistant/core by bdraco 2 years ago
- Add missing h2 dep to iaqualink (#81630) fixes https://github.com/home-assistant/core/issues/81439 — committed to home-assistant/core by bdraco 2 years ago
What do we do if we’re running HAOS?
I SSH’d in and installed the missing http2 package, but it’s still not working after a reload.
Same issue
Hi, im having the same issue and have the below in the log file since updating to the latest core. 2022-11-03 14:42:53.183 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry email address here for iaqualink File “/usr/src/homeassistant/homeassistant/components/iaqualink/init.py”, line 76, in async_setup_entry File “/usr/local/lib/python3.10/site-packages/iaqualink/client.py”, line 126, in login File “/usr/local/lib/python3.10/site-packages/iaqualink/client.py”, line 121, in _send_login_request File “/usr/local/lib/python3.10/site-packages/iaqualink/client.py”, line 92, in send_request