Skip to content

Commit 13bb685

Browse files
potiukCloud Composer Team
authored and
Cloud Composer Team
committed
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. GitOrigin-RevId: 9845b40a755170eeee3537ac2c2676511ec54689
1 parent 2aae59b commit 13bb685

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,9 @@ def write_version(filename: str = str(AIRFLOW_SOURCES_ROOT / "airflow" / "git_ve
475475
"beautifulsoup4>=4.7.1",
476476
"coverage>=7.2",
477477
"pytest>=7.1",
478-
"pytest-asyncio",
478+
# Pytest-asyncio 0.23.1 breaks our tests. The limitation should be removed when the issue is fixed:
479+
# https://github.com/pytest-dev/pytest-asyncio/issues/703
480+
"pytest-asyncio<0.23.1",
479481
"pytest-cov",
480482
"pytest-httpx",
481483
"pytest-icdiff",

0 commit comments

Comments
 (0)