From d3d0d32fbc2dfc6cecaca3e7b29004d310852bf5 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Thu, 14 Nov 2024 01:29:26 +0100 Subject: [PATCH] Limit temporarily aiohttp to < 3.11.0 Because of aio-libs/aiohttp#9866 some tests are failing. This PR can be reverted when pnuckowski/aioresponses#262 is merged and released --- generated/provider_dependencies.json | 2 +- providers/src/airflow/providers/http/provider.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/generated/provider_dependencies.json b/generated/provider_dependencies.json index 0fd840c1a9f13..b7a58fef7a905 100644 --- a/generated/provider_dependencies.json +++ b/generated/provider_dependencies.json @@ -751,7 +751,7 @@ }, "http": { "deps": [ - "aiohttp>=3.9.2", + "aiohttp>=3.9.2,<3.11.0\"", "apache-airflow>=2.8.0", "asgiref>=2.3.0", "requests-toolbelt>=0.4.0", diff --git a/providers/src/airflow/providers/http/provider.yaml b/providers/src/airflow/providers/http/provider.yaml index 51dc4d4db681b..bad640137a674 100644 --- a/providers/src/airflow/providers/http/provider.yaml +++ b/providers/src/airflow/providers/http/provider.yaml @@ -67,7 +67,8 @@ dependencies: # release it as a requirement for airflow - requests>=2.27.0,<3 - requests-toolbelt>=0.4.0 - - aiohttp>=3.9.2 + # Limit temporarily aiohttp to <3.11.0 because of https://github.com/aio-libs/aiohttp/issues/9866 + - aiohttp>=3.9.2,<3.11.0" - asgiref>=2.3.0 integrations: