From b7c7b43d447cb0b1b9887a2ba84d86bbb265c959 Mon Sep 17 00:00:00 2001 From: Hedingber Date: Tue, 13 Apr 2021 11:44:24 +0300 Subject: [PATCH] [Requirements] Bound boto3 to <1.17.50 and add botocore explicitly (#863) --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 554e8f48902..b264eac1fe8 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,10 @@ def load_deps(path): # NOTE: These are tested in `automation/package_test/test.py` If # you modify these, make sure to change the corresponding line there. extras_require = { - "s3": ["boto3~=1.9", "s3fs~=0.5.0"], + # from 1.17.50 it requires botocore>=1.20.50,<1.21.0 which conflicts with s3fs 0.5.2 that has aiobotocore>=1.0.1 + # which resolves to 1.3.0 which has botocore>=1.20.49,<1.20.50 + # boto3 1.17.49 has botocore<1.21.0,>=1.20.49, so we must add botocore explictly + "s3": ["boto3~=1.9, <1.17.50", "botocore>=1.20.49,<1.20.50", "s3fs~=0.5.0"], # <12.7.0 from adlfs 0.6.3 "azure-blob-storage": ["azure-storage-blob~=12.0, <12.7.0", "adlfs~=0.7.1"], "azure-key-vault": ["azure-identity~=1.5", "azure-keyvault-secrets~=4.2"],