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

potiuk pushed a commit to branch v2-8-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 305a516d636ca63b3df370f8cb8bc5764ed6e83b
Author: Elad Kalif <[email protected]>
AuthorDate: Fri Mar 15 12:50:51 2024 +0200

    Limit azure-cosmos (#38175)
    
    (cherry picked from commit 832571c6f3de2bd69ab11b13877ae20f6cddf1d6)
---
 airflow/providers/microsoft/azure/provider.yaml | 3 ++-
 generated/provider_dependencies.json            | 2 +-
 pyproject.toml                                  | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/airflow/providers/microsoft/azure/provider.yaml 
b/airflow/providers/microsoft/azure/provider.yaml
index ffe397024d..f2240df6cf 100644
--- a/airflow/providers/microsoft/azure/provider.yaml
+++ b/airflow/providers/microsoft/azure/provider.yaml
@@ -75,7 +75,8 @@ dependencies:
   - apache-airflow>=2.6.0
   - adlfs>=2023.10.0
   - azure-batch>=8.0.0
-  - azure-cosmos>=4.0.0
+  # azure-cosmos 4.6.0 fail on mypy, limit version till we fix the issue
+  - azure-cosmos>=4.0.0,<4.6.0
   - azure-mgmt-cosmosdb
   - azure-datalake-store>=0.0.45
   - azure-identity>=1.3.1
diff --git a/generated/provider_dependencies.json 
b/generated/provider_dependencies.json
index 7c0010eb2b..76dd3a9d12 100644
--- a/generated/provider_dependencies.json
+++ b/generated/provider_dependencies.json
@@ -686,7 +686,7 @@
       "adlfs>=2023.10.0",
       "apache-airflow>=2.6.0",
       "azure-batch>=8.0.0",
-      "azure-cosmos>=4.0.0",
+      "azure-cosmos>=4.0.0,<4.6.0",
       "azure-datalake-store>=0.0.45",
       "azure-identity>=1.3.1",
       "azure-keyvault-secrets>=4.1.0",
diff --git a/pyproject.toml b/pyproject.toml
index 2a3cac3008..d673d7b613 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -798,7 +798,7 @@ microsoft-azure = [ # source: 
airflow/providers/microsoft/azure/provider.yaml
   "adal>=1.2.7",
   "adlfs>=2023.10.0",
   "azure-batch>=8.0.0",
-  "azure-cosmos>=4.0.0",
+  "azure-cosmos>=4.0.0,<4.6.0",
   "azure-datalake-store>=0.0.45",
   "azure-identity>=1.3.1",
   "azure-keyvault-secrets>=4.1.0",

Reply via email to