From b8be931def7b33fe692c8e02845ed2b27f713289 Mon Sep 17 00:00:00 2001 From: Elad Kalif <45845474+eladkal@users.noreply.github.com> Date: Tue, 21 May 2024 18:49:53 +0300 Subject: [PATCH] Pin requests due to incompatibility with docker-py (#39740) * Pin requests due to incompatibility with docker-py * fix --- airflow/providers/docker/provider.yaml | 4 ++++ generated/provider_dependencies.json | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/airflow/providers/docker/provider.yaml b/airflow/providers/docker/provider.yaml index 58a9d076b40cc..a9b83439bf177 100644 --- a/airflow/providers/docker/provider.yaml +++ b/airflow/providers/docker/provider.yaml @@ -69,6 +69,10 @@ dependencies: - apache-airflow>=2.7.0 - docker>=6 - python-dotenv>=0.21.0 + # requests 2.32.0 has an incompatibility with python lib docker + # https://github.com/psf/requests/issues/6707 and https://github.com/docker/docker-py/issues/3256 + # once resolved remove this dependency + - requests>=2.27.0,<2.32.0 integrations: - integration-name: Docker diff --git a/generated/provider_dependencies.json b/generated/provider_dependencies.json index 312ec7b4a664c..2d0637c70828b 100644 --- a/generated/provider_dependencies.json +++ b/generated/provider_dependencies.json @@ -443,7 +443,8 @@ "deps": [ "apache-airflow>=2.7.0", "docker>=6", - "python-dotenv>=0.21.0" + "python-dotenv>=0.21.0", + "requests>=2.27.0,<2.32.0" ], "devel-deps": [], "cross-providers-deps": [],