From 9845b40a755170eeee3537ac2c2676511ec54689 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Sun, 3 Dec 2023 23:56:47 +0100 Subject: [PATCH] Limit Pytest-asyncio to < 0.23.1 (#36037) Seems that pytest-asyncio 0.23.1 break our asyncio tests. We are temporarily limiting it until https://github.com/pytest-dev/pytest-asyncio/issues/703 is solved or answered. --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 3819185ec49a7..61be0684c43c7 100644 --- a/setup.py +++ b/setup.py @@ -475,7 +475,9 @@ def write_version(filename: str = str(AIRFLOW_SOURCES_ROOT / "airflow" / "git_ve "beautifulsoup4>=4.7.1", "coverage>=7.2", "pytest>=7.1", - "pytest-asyncio", + # Pytest-asyncio 0.23.1 breaks our tests. The limitation should be removed when the issue is fixed: + # https://github.com/pytest-dev/pytest-asyncio/issues/703 + "pytest-asyncio<0.23.1", "pytest-cov", "pytest-httpx", "pytest-icdiff",