Skip to content

Commit

Permalink
Limit Pytest-asyncio to < 0.23.1 (#36037)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
potiuk authored and Cloud Composer Team committed Sep 20, 2024
1 parent 280a77e commit 892d48a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 892d48a

Please sign in to comment.