From f561baa1fe653739612f893209cf26b518461235 Mon Sep 17 00:00:00 2001 From: Zhanghao Wu Date: Mon, 6 Nov 2023 14:06:27 -0600 Subject: [PATCH] Update google-api-python-client version for discardLocalSsd --- sky/setup_files/setup.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sky/setup_files/setup.py b/sky/setup_files/setup.py index 920faf66132..261c7c9ed4d 100644 --- a/sky/setup_files/setup.py +++ b/sky/setup_files/setup.py @@ -219,9 +219,10 @@ def parse_readme(readme: str) -> str: 'azure-cli>=2.31.0', 'azure-core', 'azure-identity>=1.13.0', 'azure-mgmt-network' ] + local_ray, - # 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'] + + # We need google-api-python-client>=2.69.0 to enable 'discardLocalSsd' + # parameter for stopping instances. + # Reference: https://github.com/googleapis/google-api-python-client/commit/f6e9d3869ed605b06f7cbf2e8cf2db25108506e6 + 'gcp': ['google-api-python-client>=2.69.0', 'google-cloud-storage'] + local_ray, 'ibm': [ 'ibm-cloud-sdk-core', 'ibm-vpc', 'ibm-platform-services', 'ibm-cos-sdk'