From 1ed40e3174646ba835423b9308d8d6489f83b6bc Mon Sep 17 00:00:00 2001 From: Yika Date: Wed, 11 Dec 2024 10:47:23 -0800 Subject: [PATCH] Not mutate azure dep list at runtime (#4457) --- sky/utils/controller_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sky/utils/controller_utils.py b/sky/utils/controller_utils.py index 3f0bd5c5ed7..0166a16ff16 100644 --- a/sky/utils/controller_utils.py +++ b/sky/utils/controller_utils.py @@ -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.