From 009a28ba7a357c2c7e7afea18b11d7ca495ddc0c Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Mon, 6 Dec 2021 22:07:56 -0800 Subject: [PATCH] Block pytest_asyncio (#61141) --- homeassistant/package_constraints.txt | 3 +++ script/gen_requirements_all.py | 3 +++ 2 files changed, 6 insertions(+) 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 = (