From 2b175a37a76b00501391f69ef238fe3692eecce4 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 28 Oct 2021 14:32:22 -0500 Subject: [PATCH] Add package constraint to websockets (#58626) --- 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 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 = (