Skip to content

Commit

Permalink
Pin requests due to incompatibility with docker-py
Browse files Browse the repository at this point in the history
  • Loading branch information
eladkal committed May 21, 2024
1 parent a81504e commit a356ef4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
4 changes: 3 additions & 1 deletion airflow/providers/databricks/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ versions:
dependencies:
- apache-airflow>=2.7.0
- apache-airflow-providers-common-sql>=1.10.0
- requests>=2.27.0,<3
# requests 2.32.0 has an incompatibility with python lib docker
# https://github.com/psf/requests/issues/6707
- requests>=2.27.0,<2.32.0
# The connector 2.9.0 released on Aug 10, 2023 has a bug that it does not properly declare urllib3 and
# it needs to be excluded. See https://github.com/databricks/databricks-sql-python/issues/190
# The 2.9.1 (to be released soon) already contains the fix
Expand Down
4 changes: 3 additions & 1 deletion airflow/providers/http/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ dependencies:
- apache-airflow>=2.7.0
# The 2.26.0 release of requests got rid of the chardet LGPL mandatory dependency, allowing us to
# release it as a requirement for airflow
- requests>=2.27.0,<3
# Also, requests 2.32.0 has an incompatibility with python lib docker
# https://github.com/psf/requests/issues/6707
- requests>=2.27.0,<2.32.0
- requests_toolbelt
- aiohttp>=3.9.2
- asgiref
Expand Down
4 changes: 3 additions & 1 deletion airflow/providers/influxdb/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ description: |
dependencies:
- apache-airflow>=2.7.0
- influxdb-client>=1.19.0
- requests>=2.27.0,<3
# requests 2.32.0 has an incompatibility with python lib docker
# https://github.com/psf/requests/issues/6707
- requests>=2.27.0,<2.32.0

state: ready
source-date-epoch: 1715384445
Expand Down
6 changes: 3 additions & 3 deletions generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@
"apache-airflow-providers-common-sql>=1.10.0",
"apache-airflow>=2.7.0",
"databricks-sql-connector>=2.0.0, <3.0.0, !=2.9.0",
"requests>=2.27.0,<3"
"requests>=2.27.0,<2.32.0"
],
"devel-deps": [
"deltalake>=0.12.0"
Expand Down Expand Up @@ -638,7 +638,7 @@
"aiohttp>=3.9.2",
"apache-airflow>=2.7.0",
"asgiref",
"requests>=2.27.0,<3",
"requests>=2.27.0,<2.32.0",
"requests_toolbelt"
],
"devel-deps": [],
Expand All @@ -659,7 +659,7 @@
"deps": [
"apache-airflow>=2.7.0",
"influxdb-client>=1.19.0",
"requests>=2.27.0,<3"
"requests>=2.27.0,<2.32.0"
],
"devel-deps": [],
"cross-providers-deps": [],
Expand Down

0 comments on commit a356ef4

Please sign in to comment.