From fb5f0f189a8c42c5886686a5d7fba801e39369db Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Mon, 4 Dec 2023 10:00:37 +0100 Subject: [PATCH] Remove pytest-asyncio upper-binding limitatin Thahnks to our report and bisecting the reason (it was caused by bad handling of the "test*.txt" handling) we can now remove the upper-binding for pytest-asyncio as 0.23.2 version has been released --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 28847e9ba2c23..96f3f4c703e0d 100644 --- a/setup.py +++ b/setup.py @@ -475,9 +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 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.0", + # Pytest-asyncio 0.23.0 and 0.23.1 break test collection + # See https://github.com/pytest-dev/pytest-asyncio/issues/703 for details. + "pytest-asyncio!=0.23.0,!=0.23.1", "pytest-cov", "pytest-httpx", "pytest-icdiff",