Skip to content

Commit

Permalink
Not mutate azure dep list at runtime (#4457)
Browse files Browse the repository at this point in the history
  • Loading branch information
yika-luo authored Dec 11, 2024
1 parent bc4a42e commit 1ed40e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sky/utils/controller_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ def _get_cloud_dependencies_installation_commands(
f'{constants.SKY_UV_INSTALL_CMD} >/dev/null 2>&1')

for cloud in sky_check.get_cached_enabled_clouds_or_refresh():
cloud_python_dependencies: List[str] = dependencies.extras_require[
cloud.canonical_name()]
cloud_python_dependencies: List[str] = copy.deepcopy(
dependencies.extras_require[cloud.canonical_name()])

if isinstance(cloud, clouds.Azure):
# azure-cli cannot be normally installed by uv.
Expand Down

0 comments on commit 1ed40e3

Please sign in to comment.