From 684653d14b53c31a0eb2276ab4e67e77762e073c Mon Sep 17 00:00:00 2001 From: Kaxil Naik Date: Thu, 21 May 2020 21:58:57 +0100 Subject: [PATCH] Pin Version of Azure Cosmos to <4 (#8956) Old Repo: https://github.com/Azure/azure-cosmos-python New Repo: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/cosmos/azure-cosmos azure-cosmos==4.0.0 was released on 20 May 2020 that breaks Airflow (cherry picked from commit dd7204066fb3fbf6c47df4c101b99a44502c7e8e) --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index de8115ed1267b..04037f2a0106f 100644 --- a/setup.py +++ b/setup.py @@ -225,7 +225,7 @@ def write_version(filename=os.path.join(*[my_dir, "airflow", "git_version"])): 'azure-mgmt-containerinstance>=1.5.0' ] azure_cosmos = [ - 'azure-cosmos>=3.0.1' + 'azure-cosmos>=3.0.1,<4', ] azure_data_lake = [ 'azure-datalake-store>=0.0.45'