diff --git a/airflow/providers/databricks/provider.yaml b/airflow/providers/databricks/provider.yaml index eed304c8790b2..849a3cc28b216 100644 --- a/airflow/providers/databricks/provider.yaml +++ b/airflow/providers/databricks/provider.yaml @@ -53,7 +53,10 @@ dependencies: - apache-airflow>=2.4.0 - apache-airflow-providers-common-sql>=1.5.0 - requests>=2.27,<3 - - databricks-sql-connector>=2.0.0, <3.0.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 + - databricks-sql-connector>=2.0.0, <3.0.0, !=2.9.0 - aiohttp>=3.6.3, <4 integrations: diff --git a/generated/provider_dependencies.json b/generated/provider_dependencies.json index a8e1bf10cdfcd..ee7a3822672e1 100644 --- a/generated/provider_dependencies.json +++ b/generated/provider_dependencies.json @@ -299,7 +299,7 @@ "aiohttp>=3.6.3, <4", "apache-airflow-providers-common-sql>=1.5.0", "apache-airflow>=2.4.0", - "databricks-sql-connector>=2.0.0, <3.0.0", + "databricks-sql-connector>=2.0.0, <3.0.0, !=2.9.0", "requests>=2.27,<3" ], "cross-providers-deps": [