This is an automated email from the ASF dual-hosted git repository.
potiuk 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 1da7f1f433 Pin requests due to incompatibility with docker-py (#39740)
1da7f1f433 is described below
commit 1da7f1f4339241c0a0aa59e158c4cd480c1b2ddf
Author: Elad Kalif <[email protected]>
AuthorDate: Tue May 21 18:49:53 2024 +0300
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 58a9d076b4..a9b83439bf 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 312ec7b4a6..2d0637c708 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": [],