From 3792b8b3ca547c47c5d0aa73128a8ceef9a167a5 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Fri, 21 Jan 2022 00:11:22 +0100 Subject: [PATCH] Add version constraint for google-auth (#64583) --- homeassistant/package_constraints.txt | 4 ++++ script/gen_requirements_all.py | 4 ++++ script/pip_check | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index eac78fd63e0..0796a126e69 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -92,3 +92,7 @@ pytest_asyncio==1000000000.0.0 # https://github.com/jkeljo/sisyphus-control/issues/6 python-engineio>=3.13.1,<4.0 python-socketio>=4.6.0,<5.0 + +# Resolve a dependency conflict with cachetools. +# Version 2.4.0 bumps the allowed dependency range. +google-auth>=2.4.0 diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index 7452af2ba2f..8ddd442da4d 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -117,6 +117,10 @@ pytest_asyncio==1000000000.0.0 # https://github.com/jkeljo/sisyphus-control/issues/6 python-engineio>=3.13.1,<4.0 python-socketio>=4.6.0,<5.0 + +# Resolve a dependency conflict with cachetools. +# Version 2.4.0 bumps the allowed dependency range. +google-auth>=2.4.0 """ IGNORE_PRE_COMMIT_HOOK_ID = ( diff --git a/script/pip_check b/script/pip_check index 5864d6f00c0..1b2be961321 100755 --- a/script/pip_check +++ b/script/pip_check @@ -3,7 +3,7 @@ PIP_CACHE=$1 # Number of existing dependency conflicts # Update if a PR resolve one! -DEPENDENCY_CONFLICTS=14 +DEPENDENCY_CONFLICTS=13 PIP_CHECK=$(pip check --cache-dir=$PIP_CACHE) LINE_COUNT=$(echo "$PIP_CHECK" | wc -l)