From cc18b9a2d8b7075d4003e95614f6994d4f60c7e6 Mon Sep 17 00:00:00 2001 From: Luke Lashley Date: Mon, 1 Jan 2024 23:00:17 -0500 Subject: [PATCH] Constrain dacite to at least 1.7.0 (#105709) --- 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 4e521e6b95d..7ba253f8dc9 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -189,3 +189,7 @@ charset-normalizer==3.2.0 # lxml 5.0.0 currently does not build on alpine 3.18 # https://bugs.launchpad.net/lxml/+bug/2047718 lxml==4.9.4 + +# dacite: Ensure we have a version that is able to handle type unions for +# Roborock, NAM, Brother, and GIOS. +dacite>=1.7.0 diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index 101c9294706..3cecff68fb0 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -183,6 +183,10 @@ charset-normalizer==3.2.0 # lxml 5.0.0 currently does not build on alpine 3.18 # https://bugs.launchpad.net/lxml/+bug/2047718 lxml==4.9.4 + +# dacite: Ensure we have a version that is able to handle type unions for +# Roborock, NAM, Brother, and GIOS. +dacite>=1.7.0 """ GENERATED_MESSAGE = (