From 99c0ef9ab879c3dc45547c24b9dff21d3a48af14 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 8ec6f3cc67d..ffc4f7da828 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -99,3 +99,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 a8d1d40a7d5..d5d67643b0d 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -128,6 +128,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 = (