This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 5f8f25b34c Ecldude databrick connector 2.9.0 due to a bug (#33311)
5f8f25b34c is described below

commit 5f8f25b34c9e8c0d4845b014fc8f1b00cc2e766f
Author: Jarek Potiuk <[email protected]>
AuthorDate: Fri Aug 11 11:13:24 2023 +0200

    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
    https://github.com/databricks/databricks-sql-python/issues/190
    The 2.9.1 (to be released soon) already contains the fix.
---
 airflow/providers/databricks/provider.yaml | 5 ++++-
 generated/provider_dependencies.json       | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/airflow/providers/databricks/provider.yaml 
b/airflow/providers/databricks/provider.yaml
index eed304c879..849a3cc28b 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 a8e1bf10cd..ee7a382267 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": [

Reply via email to