diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 0c13da70715..fa16d1ddeba 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -187,3 +187,6 @@ 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 + +# scapy<2.5.0 will not work with python3.12 +scapy>=2.5.0 diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index 6537bc652ac..9a9ff6821c7 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -180,6 +180,9 @@ 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 + +# scapy<2.5.0 will not work with python3.12 +scapy>=2.5.0 """ GENERATED_MESSAGE = (