From b4e2dd4e063549da5cdfe940e0dafc7cae17bdd9 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 5 Apr 2023 08:03:47 -1000 Subject: [PATCH] Add constraint for websockets to <11.0 (#90868) --- homeassistant/package_constraints.txt | 5 +++++ script/gen_requirements_all.py | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 731b57e4cf6..a1867bef133 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -157,3 +157,8 @@ uamqp==1.6.0;python_version<'3.11' # faust-cchardet: Ensure we have a version we can build wheels # 2.1.18 is the first version that works with our wheel builder faust-cchardet>=2.1.18 + +# websockets 11.0 is missing files in the source distribution +# which break wheel builds +# https://github.com/aaugustin/websockets/issues/1329 +websockets<11.0 diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index 564d0e2eb00..b31674d04e8 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -162,6 +162,11 @@ uamqp==1.6.0;python_version<'3.11' # faust-cchardet: Ensure we have a version we can build wheels # 2.1.18 is the first version that works with our wheel builder faust-cchardet>=2.1.18 + +# websockets 11.0 is missing files in the source distribution +# which break wheel builds +# https://github.com/aaugustin/websockets/issues/1329 +websockets<11.0 """ IGNORE_PRE_COMMIT_HOOK_ID = (