From fa27a5a81ea9225b5855357998e91fc226edefc5 Mon Sep 17 00:00:00 2001 From: Yika Luo Date: Tue, 10 Dec 2024 16:26:25 -0800 Subject: [PATCH] Not mutate azure dep list at runtime --- 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.