This is an automated email from the ASF dual-hosted git repository.
eladkal pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 9845b40a75 Limit Pytest-asyncio to < 0.23.1 (#36037)
9845b40a75 is described below
commit 9845b40a755170eeee3537ac2c2676511ec54689
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Dec 3 23:56:47 2023 +0100
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 3819185ec4..61be0684c4 100644
--- a/setup.py
+++ b/setup.py
@@ -475,7 +475,9 @@ _devel_only_tests = [
"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",