Skip to content

Commit

Permalink
separate boto3 and awscli
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelvll committed May 4, 2024
1 parent b540017 commit 2b9af1c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions sky/utils/controller_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,12 @@ def _get_cloud_dependencies_installation_commands(
# characters from the previous message.
empty_str = ' ' * 5
aws_dependencies_installation = (
'pip list | grep boto3 > /dev/null 2>&1 || '
'pip install "urllib3<2" awscli>=1.27.10 botocore>=1.29.10 '
'boto3>=1.26.1 "colorama<0.4.5" > /dev/null 2>&1')
'pip list | grep boto3 > /dev/null 2>&1 || botocore>=1.29.10 '
'boto3>=1.26.1; '
# Need to separate the installation of awscli from above because some
# other clouds will install boto3 but not awscli.
'pip list | grep awscli> /dev/null 2>&1 || pip install "urllib3<2" '
'awscli>=1.27.10 "colorama<0.4.5" > /dev/null 2>&1')
for cloud in sky_check.get_cached_enabled_clouds_or_refresh():
if isinstance(
clouds,
Expand Down

0 comments on commit 2b9af1c

Please sign in to comment.