diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index d2699d02ed0..2e2b9657800 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -79,3 +79,7 @@ regex==2021.8.28 # anyio has a bug that was fixed in 3.3.1 # can remove after httpx/httpcore updates its anyio version pin anyio>=3.3.1 + +# websockets 10.0 is broken with AWS +# https://github.com/aaugustin/websockets/issues/1065 +websockets==9.1 diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index 939806d379e..3d2ace4c240 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -106,6 +106,10 @@ regex==2021.8.28 # anyio has a bug that was fixed in 3.3.1 # can remove after httpx/httpcore updates its anyio version pin anyio>=3.3.1 + +# websockets 10.0 is broken with AWS +# https://github.com/aaugustin/websockets/issues/1065 +websockets==9.1 """ IGNORE_PRE_COMMIT_HOOK_ID = (