mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 08:47:57 +00:00
Fix authlib version constraint required by point (#97228)
This commit is contained in:
parent
b31cfe0b24
commit
55beb26190
@ -97,9 +97,8 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||
token_saver=token_saver,
|
||||
)
|
||||
try:
|
||||
# pylint: disable-next=fixme
|
||||
# TODO Remove authlib constraint when refactoring this code
|
||||
await session.ensure_active_token()
|
||||
# the call to user() implicitly calls ensure_active_token() in authlib
|
||||
await session.user()
|
||||
except ConnectTimeout as err:
|
||||
_LOGGER.debug("Connection Timeout")
|
||||
raise ConfigEntryNotReady from err
|
||||
|
@ -121,10 +121,6 @@ python-socketio>=4.6.0,<5.0
|
||||
# https://github.com/home-assistant/core/pull/67046
|
||||
multidict>=6.0.2
|
||||
|
||||
# Required for compatibility with point integration - ensure_active_token
|
||||
# https://github.com/home-assistant/core/pull/68176
|
||||
authlib<1.0
|
||||
|
||||
# Version 2.0 added typing, prevent accidental fallbacks
|
||||
backoff>=2.0
|
||||
|
||||
|
@ -123,10 +123,6 @@ python-socketio>=4.6.0,<5.0
|
||||
# https://github.com/home-assistant/core/pull/67046
|
||||
multidict>=6.0.2
|
||||
|
||||
# Required for compatibility with point integration - ensure_active_token
|
||||
# https://github.com/home-assistant/core/pull/68176
|
||||
authlib<1.0
|
||||
|
||||
# Version 2.0 added typing, prevent accidental fallbacks
|
||||
backoff>=2.0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user