Skip to content

Commit ba125b3

Browse files
eladkalutkarsharma2
authored andcommitted
Pin requests due to incompatibility with docker-py (#39740)
* Pin requests due to incompatibility with docker-py * fix (cherry picked from commit 1da7f1f)
1 parent 5f8012e commit ba125b3

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

airflow/providers/docker/provider.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ dependencies:
6767
- apache-airflow>=2.6.0
6868
- docker>=6
6969
- python-dotenv>=0.21.0
70+
# requests 2.32.0 has an incompatibility with python lib docker
71+
# https://github.com/psf/requests/issues/6707 and https://github.com/docker/docker-py/issues/3256
72+
# once resolved remove this dependency
73+
- requests>=2.27.0,<2.32.0
7074

7175
integrations:
7276
- integration-name: Docker

generated/provider_dependencies.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,8 @@
432432
"deps": [
433433
"apache-airflow>=2.6.0",
434434
"docker>=6",
435-
"python-dotenv>=0.21.0"
435+
"python-dotenv>=0.21.0",
436+
"requests>=2.27.0,<2.32.0"
436437
],
437438
"devel-deps": [],
438439
"cross-providers-deps": [],

0 commit comments

Comments
 (0)