Skip to content

Commit f4c4a06

Browse files
potiukephraimbuddy
authored andcommitted
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 pytest-dev/pytest-asyncio#703 is solved or answered. (cherry picked from commit 9845b40)
1 parent d265100 commit f4c4a06

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,9 @@ def write_version(filename: str = str(AIRFLOW_SOURCES_ROOT / "airflow" / "git_ve
484484
"beautifulsoup4>=4.7.1",
485485
"coverage>=7.2",
486486
"pytest>=7.1",
487-
"pytest-asyncio",
487+
# Pytest-asyncio 0.23.1 breaks our tests. The limitation should be removed when the issue is fixed:
488+
# https://github.com/pytest-dev/pytest-asyncio/issues/703
489+
"pytest-asyncio<0.23.1",
488490
"pytest-cov",
489491
"pytest-httpx",
490492
"pytest-icdiff",

0 commit comments

Comments
 (0)