From 5285b8f173e27aca72c718617ad0d7dd63eefb0b Mon Sep 17 00:00:00 2001 From: Tian Xia Date: Wed, 27 Sep 2023 13:57:55 -0700 Subject: [PATCH] [Core] Fix version requirements for `google-api-python-client` (#2577) fix --- sky/setup_files/setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sky/setup_files/setup.py b/sky/setup_files/setup.py index a8e1770d88f..6ab6346a329 100644 --- a/sky/setup_files/setup.py +++ b/sky/setup_files/setup.py @@ -135,7 +135,9 @@ def parse_readme(readme: str) -> str: 'azure-cli>=2.31.0', 'azure-core', 'azure-identity>=1.13.0', 'azure-mgmt-network' ], - 'gcp': ['google-api-python-client', 'google-cloud-storage'], + # We need google-api-python-client>=2.19.1 to enable 'reason' attribute + # of googleapiclient.errors.HttpError, which is widely used in our system. + 'gcp': ['google-api-python-client>=2.19.1', 'google-cloud-storage'], 'ibm': [ 'ibm-cloud-sdk-core', 'ibm-vpc', 'ibm-platform-services', 'ibm-cos-sdk' ],