Fix point by adding authlib constraint (#68176)

* Fix point by pinning authlib

* Use constraint
This commit is contained in:
Marc Mueller 2022-03-15 15:56:08 +01:00 committed by GitHub
parent db4b69663f
commit aabf46b1b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 0 deletions

View file

@ -97,6 +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()
except ConnectTimeout as err:
_LOGGER.debug("Connection Timeout")

View file

@ -95,3 +95,7 @@ python-socketio>=4.6.0,<5.0
# Constrain multidict to avoid typing issues
# 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

View file

@ -115,6 +115,10 @@ python-socketio>=4.6.0,<5.0
# Constrain multidict to avoid typing issues
# 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
"""
IGNORE_PRE_COMMIT_HOOK_ID = (