Skip to content

Commit

Permalink
Pin requests due to incompatibility with docker-py (#39740)
Browse files Browse the repository at this point in the history
* Pin requests due to incompatibility with docker-py

* fix

(cherry picked from commit 1da7f1f)
  • Loading branch information
eladkal authored and utkarsharma2 committed Jul 8, 2024
1 parent c1136eb commit 8d9126e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions airflow/providers/docker/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ dependencies:
- apache-airflow>=2.6.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
Expand Down
3 changes: 2 additions & 1 deletion generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,8 @@
"deps": [
"apache-airflow>=2.6.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": [],
Expand Down

0 comments on commit 8d9126e

Please sign in to comment.