From e7a0dddc09c3ebad29c73e1c2f66a7c09a6f2b5e Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Thu, 14 Nov 2024 01:57:10 +0100 Subject: [PATCH] Limit temporarily aiohttp to < 3.11.0 (#44006) 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..31a8beb99c79a 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..f43db72b67336 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: