Skip to content

Commit 5f8f25b

Browse files
authored
Ecldude databrick connector 2.9.0 due to a bug (#33311)
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 databricks/databricks-sql-python#190 The 2.9.1 (to be released soon) already contains the fix.
1 parent 09d478e commit 5f8f25b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

airflow/providers/databricks/provider.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ dependencies:
5353
- apache-airflow>=2.4.0
5454
- apache-airflow-providers-common-sql>=1.5.0
5555
- requests>=2.27,<3
56-
- databricks-sql-connector>=2.0.0, <3.0.0
56+
# The connector 2.9.0 released on Aug 10, 2023 has a bug that it does not properly declare urllib3 and
57+
# it needs to be excluded. See https://github.com/databricks/databricks-sql-python/issues/190
58+
# The 2.9.1 (to be released soon) already contains the fix
59+
- databricks-sql-connector>=2.0.0, <3.0.0, !=2.9.0
5760
- aiohttp>=3.6.3, <4
5861

5962
integrations:

generated/provider_dependencies.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@
299299
"aiohttp>=3.6.3, <4",
300300
"apache-airflow-providers-common-sql>=1.5.0",
301301
"apache-airflow>=2.4.0",
302-
"databricks-sql-connector>=2.0.0, <3.0.0",
302+
"databricks-sql-connector>=2.0.0, <3.0.0, !=2.9.0",
303303
"requests>=2.27,<3"
304304
],
305305
"cross-providers-deps": [

0 commit comments

Comments
 (0)