From 25319a6bcee6c86cd8d21b83259e404cb24cf711 Mon Sep 17 00:00:00 2001 From: olharuban Date: Wed, 9 Oct 2024 21:20:20 +0100 Subject: [PATCH] update databricks-sql-connector to 3.0.0 for databricks provider --- generated/provider_dependencies.json | 2 +- providers/src/airflow/providers/databricks/provider.yaml | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/generated/provider_dependencies.json b/generated/provider_dependencies.json index dc7aedc3b980b..75005dacb819e 100644 --- a/generated/provider_dependencies.json +++ b/generated/provider_dependencies.json @@ -434,7 +434,7 @@ "aiohttp>=3.9.2, <4", "apache-airflow-providers-common-sql>=1.10.0", "apache-airflow>=2.8.0", - "databricks-sql-connector>=2.0.0, <3.0.0, !=2.9.0", + "databricks-sql-connector>=3.0.0", "mergedeep>=1.3.4", "pandas>=1.5.3,<2.2;python_version<\"3.9\"", "pandas>=2.1.2,<2.2;python_version>=\"3.9\"", diff --git a/providers/src/airflow/providers/databricks/provider.yaml b/providers/src/airflow/providers/databricks/provider.yaml index fe2bb9f7fde45..ff35323617845 100644 --- a/providers/src/airflow/providers/databricks/provider.yaml +++ b/providers/src/airflow/providers/databricks/provider.yaml @@ -74,10 +74,7 @@ dependencies: - apache-airflow>=2.8.0 - apache-airflow-providers-common-sql>=1.10.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 - - databricks-sql-connector>=2.0.0, <3.0.0, !=2.9.0 + - databricks-sql-connector>=3.0.0 - aiohttp>=3.9.2, <4 - mergedeep>=1.3.4 - pandas>=2.1.2,<2.2;python_version>="3.9"