From 47a9f58b5db9de20332af98731b051df72317016 Mon Sep 17 00:00:00 2001 From: Christopher Bailey Date: Tue, 31 May 2022 22:55:55 -0400 Subject: [PATCH 1/2] Adds package contraint for pydantic --- homeassistant/package_constraints.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index a3d8a00bcfb9..c1bbe51755fb 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -106,3 +106,7 @@ authlib<1.0 # Pin backoff for compatibility until most libraries have been updated # https://github.com/home-assistant/core/pull/70817 backoff<2.0 + +# Breaking change in version +# https://github.com/samuelcolvin/pydantic/issues/4092 +pydantic!=1.9.1 From a4c12d3eadc1cac7f1a09b85fa272053b3f10d41 Mon Sep 17 00:00:00 2001 From: Christopher Bailey Date: Tue, 31 May 2022 23:12:21 -0400 Subject: [PATCH 2/2] Adds contraint to gen_requireements_all --- script/gen_requirements_all.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index adf57f14f974..88524ab63de9 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -126,6 +126,10 @@ # Pin backoff for compatibility until most libraries have been updated # https://github.com/home-assistant/core/pull/70817 backoff<2.0 + +# Breaking change in version +# https://github.com/samuelcolvin/pydantic/issues/4092 +pydantic!=1.9.1 """ IGNORE_PRE_COMMIT_HOOK_ID = (