Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eladkal committed May 21, 2024
1 parent a356ef4 commit 3772ada
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 13 deletions.
4 changes: 1 addition & 3 deletions airflow/providers/databricks/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ versions:
dependencies:
- apache-airflow>=2.7.0
- apache-airflow-providers-common-sql>=1.10.0
# 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>=2.27.0,<3
# 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: 4 additions & 0 deletions airflow/providers/docker/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions airflow/providers/http/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ 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
# 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>=2.27.0,<3
- requests_toolbelt
- aiohttp>=3.9.2
- asgiref
Expand Down
4 changes: 1 addition & 3 deletions airflow/providers/influxdb/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ description: |
dependencies:
- apache-airflow>=2.7.0
- influxdb-client>=1.19.0
# 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>=2.27.0,<3

state: ready
source-date-epoch: 1715384445
Expand Down
9 changes: 5 additions & 4 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,<2.32.0"
"requests>=2.27.0,<3"
],
"devel-deps": [
"deltalake>=0.12.0"
Expand Down Expand Up @@ -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": [],
Expand Down Expand Up @@ -638,7 +639,7 @@
"aiohttp>=3.9.2",
"apache-airflow>=2.7.0",
"asgiref",
"requests>=2.27.0,<2.32.0",
"requests>=2.27.0,<3",
"requests_toolbelt"
],
"devel-deps": [],
Expand All @@ -659,7 +660,7 @@
"deps": [
"apache-airflow>=2.7.0",
"influxdb-client>=1.19.0",
"requests>=2.27.0,<2.32.0"
"requests>=2.27.0,<3"
],
"devel-deps": [],
"cross-providers-deps": [],
Expand Down

0 comments on commit 3772ada

Please sign in to comment.