From 8508a39c2272fd956c2405bd959e0ba4b625c0b9 Mon Sep 17 00:00:00 2001 From: Jens Scheffler Date: Thu, 2 Jan 2025 12:30:41 +0100 Subject: [PATCH] Workaround problems after release of pytest-asyncio 0.25.1 with Python 3.12 --- hatch_build.py | 2 +- task_sdk/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hatch_build.py b/hatch_build.py index c174673b9d277..f5101365828a9 100644 --- a/hatch_build.py +++ b/hatch_build.py @@ -258,7 +258,7 @@ "deepdiff>=8.1.1", "jmespath>=0.7.0", "kgb>=7.0.0", - "pytest-asyncio>=0.23.6", + "pytest-asyncio>=0.23.6,!=0.25.1", "pytest-cov>=4.1.0", "pytest-custom-exit-code>=0.3.0", "pytest-icdiff>=0.9", diff --git a/task_sdk/pyproject.toml b/task_sdk/pyproject.toml index a27f4cb7c91ed..e2eefdd5fcfdc 100644 --- a/task_sdk/pyproject.toml +++ b/task_sdk/pyproject.toml @@ -79,7 +79,7 @@ namespace-packages = ["src/airflow"] [tool.uv] dev-dependencies = [ "kgb>=7.1.1", - "pytest-asyncio>=0.24.0", + "pytest-asyncio>=0.24.0,!=0.25.1", "pytest-mock>=3.14.0", "pytest-unordered>=0.6.1", "pytest>=8.3.3",