diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index e68407ca389..9606d51aefd 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -183,3 +183,7 @@ pandas==2.1.4 # chacha20poly1305-reuseable==0.12.0 is incompatible with cryptography==42.0.x chacha20poly1305-reuseable>=0.12.1 + +# pycountry<23.12.11 imports setuptools at run time +# https://github.com/pycountry/pycountry/blob/ea69bab36f00df58624a0e490fdad4ccdc14268b/HISTORY.txt#L39 +pycountry>=23.12.11 diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index aea5548aa76..8db6aee8a96 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -177,6 +177,10 @@ pandas==2.1.4 # chacha20poly1305-reuseable==0.12.0 is incompatible with cryptography==42.0.x chacha20poly1305-reuseable>=0.12.1 + +# pycountry<23.12.11 imports setuptools at run time +# https://github.com/pycountry/pycountry/blob/ea69bab36f00df58624a0e490fdad4ccdc14268b/HISTORY.txt#L39 +pycountry>=23.12.11 """ GENERATED_MESSAGE = (