diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 5082fe5559d..cf1a20e1925 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -84,3 +84,6 @@ anyio>=3.3.1 # websockets 10.0 is broken with AWS # https://github.com/aaugustin/websockets/issues/1065 websockets==9.1 + +# pytest_asyncio breaks our test suite. We rely on pytest-aiohttp instead +pytest_asyncio==1000000000.0.0 diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index 3deec512b4f..dd8bc989874 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -110,6 +110,9 @@ anyio>=3.3.1 # websockets 10.0 is broken with AWS # https://github.com/aaugustin/websockets/issues/1065 websockets==9.1 + +# pytest_asyncio breaks our test suite. We rely on pytest-aiohttp instead +pytest_asyncio==1000000000.0.0 """ IGNORE_PRE_COMMIT_HOOK_ID = (