From f067aa6d71970db54a6bf356f00ec49c593ed5d4 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Tue, 29 Mar 2022 00:07:29 +0200 Subject: [PATCH] Pin click to fix typer issue (#68808) Co-authored-by: epenet --- homeassistant/package_constraints.txt | 4 ++++ script/gen_requirements_all.py | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 7673e102929..4c74f29fe1a 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -101,3 +101,7 @@ multidict>=6.0.2 # Required for compatibility with point integration - ensure_active_token # https://github.com/home-assistant/core/pull/68176 authlib<1.0 + +# Required for compatibility with typer, used by pyunifiprotect integration +# https://github.com/tiangolo/typer/pull/375 +click<=8.0.4" diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index c48a59f90d3..dd3ff865173 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -118,6 +118,10 @@ multidict>=6.0.2 # Required for compatibility with point integration - ensure_active_token # https://github.com/home-assistant/core/pull/68176 authlib<1.0 + +# Required for compatibility with typer, used by pyunifiprotect integration +# https://github.com/tiangolo/typer/pull/375 +click<=8.0.4" """ IGNORE_PRE_COMMIT_HOOK_ID = (