skypilot-nightly 1.0.0.dev20250227__py3-none-any.whl → 1.0.0.dev20250228__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sky/__init__.py +2 -2
- sky/cli.py +8 -4
- sky/client/cli.py +8 -4
- {skypilot_nightly-1.0.0.dev20250227.dist-info → skypilot_nightly-1.0.0.dev20250228.dist-info}/METADATA +1 -1
- {skypilot_nightly-1.0.0.dev20250227.dist-info → skypilot_nightly-1.0.0.dev20250228.dist-info}/RECORD +9 -9
- {skypilot_nightly-1.0.0.dev20250227.dist-info → skypilot_nightly-1.0.0.dev20250228.dist-info}/LICENSE +0 -0
- {skypilot_nightly-1.0.0.dev20250227.dist-info → skypilot_nightly-1.0.0.dev20250228.dist-info}/WHEEL +0 -0
- {skypilot_nightly-1.0.0.dev20250227.dist-info → skypilot_nightly-1.0.0.dev20250228.dist-info}/entry_points.txt +0 -0
- {skypilot_nightly-1.0.0.dev20250227.dist-info → skypilot_nightly-1.0.0.dev20250228.dist-info}/top_level.txt +0 -0
sky/__init__.py
CHANGED
@@ -5,7 +5,7 @@ from typing import Optional
|
|
5
5
|
import urllib.request
|
6
6
|
|
7
7
|
# Replaced with the current commit when building the wheels.
|
8
|
-
_SKYPILOT_COMMIT_SHA = '
|
8
|
+
_SKYPILOT_COMMIT_SHA = '0f178b2af47ec2b185bc685cce6965c675613cc7'
|
9
9
|
|
10
10
|
|
11
11
|
def _get_git_commit():
|
@@ -35,7 +35,7 @@ def _get_git_commit():
|
|
35
35
|
|
36
36
|
|
37
37
|
__commit__ = _get_git_commit()
|
38
|
-
__version__ = '1.0.0.
|
38
|
+
__version__ = '1.0.0.dev20250228'
|
39
39
|
__root_dir__ = os.path.dirname(os.path.abspath(__file__))
|
40
40
|
|
41
41
|
|
sky/cli.py
CHANGED
@@ -133,7 +133,11 @@ def _get_cluster_records_and_set_ssh_config(
|
|
133
133
|
# Update the SSH config for all clusters
|
134
134
|
for record in cluster_records:
|
135
135
|
handle = record['handle']
|
136
|
-
|
136
|
+
# During the failover, even though a cluster does not exist, the handle
|
137
|
+
# can still exist in the record, and we check for credentials to avoid
|
138
|
+
# updating the SSH config for non-existent clusters.
|
139
|
+
if (handle is not None and handle.cached_external_ips is not None and
|
140
|
+
'credentials' in record):
|
137
141
|
credentials = record['credentials']
|
138
142
|
if isinstance(handle.launched_resources.cloud, clouds.Kubernetes):
|
139
143
|
# Replace the proxy command to proxy through the SkyPilot API
|
@@ -169,9 +173,9 @@ def _get_cluster_records_and_set_ssh_config(
|
|
169
173
|
handle.ssh_user,
|
170
174
|
)
|
171
175
|
else:
|
172
|
-
# If the cluster is not UP or does not have
|
173
|
-
# the cluster from the SSH config.
|
174
|
-
cluster_utils.SSHConfigHelper.remove_cluster(
|
176
|
+
# If the cluster is not UP or does not have credentials available,
|
177
|
+
# we need to remove the cluster from the SSH config.
|
178
|
+
cluster_utils.SSHConfigHelper.remove_cluster(record['name'])
|
175
179
|
|
176
180
|
# Clean up SSH configs for clusters that do not exist.
|
177
181
|
#
|
sky/client/cli.py
CHANGED
@@ -133,7 +133,11 @@ def _get_cluster_records_and_set_ssh_config(
|
|
133
133
|
# Update the SSH config for all clusters
|
134
134
|
for record in cluster_records:
|
135
135
|
handle = record['handle']
|
136
|
-
|
136
|
+
# During the failover, even though a cluster does not exist, the handle
|
137
|
+
# can still exist in the record, and we check for credentials to avoid
|
138
|
+
# updating the SSH config for non-existent clusters.
|
139
|
+
if (handle is not None and handle.cached_external_ips is not None and
|
140
|
+
'credentials' in record):
|
137
141
|
credentials = record['credentials']
|
138
142
|
if isinstance(handle.launched_resources.cloud, clouds.Kubernetes):
|
139
143
|
# Replace the proxy command to proxy through the SkyPilot API
|
@@ -169,9 +173,9 @@ def _get_cluster_records_and_set_ssh_config(
|
|
169
173
|
handle.ssh_user,
|
170
174
|
)
|
171
175
|
else:
|
172
|
-
# If the cluster is not UP or does not have
|
173
|
-
# the cluster from the SSH config.
|
174
|
-
cluster_utils.SSHConfigHelper.remove_cluster(
|
176
|
+
# If the cluster is not UP or does not have credentials available,
|
177
|
+
# we need to remove the cluster from the SSH config.
|
178
|
+
cluster_utils.SSHConfigHelper.remove_cluster(record['name'])
|
175
179
|
|
176
180
|
# Clean up SSH configs for clusters that do not exist.
|
177
181
|
#
|
{skypilot_nightly-1.0.0.dev20250227.dist-info → skypilot_nightly-1.0.0.dev20250228.dist-info}/RECORD
RENAMED
@@ -1,8 +1,8 @@
|
|
1
|
-
sky/__init__.py,sha256=
|
1
|
+
sky/__init__.py,sha256=jLsjhG2RasaqPtD_RYBd_LfTFzhUYIB8j6WkrjZVbKY,6428
|
2
2
|
sky/admin_policy.py,sha256=hPo02f_A32gCqhUueF0QYy1fMSSKqRwYEg_9FxScN_s,3248
|
3
3
|
sky/authentication.py,sha256=hCEqi77nprQEg3ktfRL51xiiw16zwZOmFEDB_Z7fWVU,22384
|
4
4
|
sky/check.py,sha256=NDKx_Zm7YRxPjMv82wz3ESLnGIPljaACyqVdVNM0PzY,11258
|
5
|
-
sky/cli.py,sha256=
|
5
|
+
sky/cli.py,sha256=K28Bowflmjhir2e3hIPbZhsnfqvBsANSeBSnEXFoy10,219929
|
6
6
|
sky/cloud_stores.py,sha256=-95XIqi_ouo7hvoN5mQNP6bGm07MyF6Yk-YP4Txb5wg,24034
|
7
7
|
sky/core.py,sha256=X83hdpPTiWyEJLamrguCd03PUjkRiGgqTFfEBEQkzWc,45471
|
8
8
|
sky/dag.py,sha256=Yl7Ry26Vql5cv4YMz8g9kOUgtoCihJnw7c8NgZYakMY,3242
|
@@ -43,7 +43,7 @@ sky/benchmark/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
43
43
|
sky/benchmark/benchmark_state.py,sha256=X8CXmuU9KgsDRhKedhFgjeRMUFWtQsjFs1qECvPG2yg,8723
|
44
44
|
sky/benchmark/benchmark_utils.py,sha256=o4RymqSceq5mLEZL0upQM6NVEzJJQzj9s9tTm49uUTc,26365
|
45
45
|
sky/client/__init__.py,sha256=pz6xvVSd9X-gwqbsDL0E9QOojYqM0KAD0j-NCyCIF1k,38
|
46
|
-
sky/client/cli.py,sha256=
|
46
|
+
sky/client/cli.py,sha256=K28Bowflmjhir2e3hIPbZhsnfqvBsANSeBSnEXFoy10,219929
|
47
47
|
sky/client/common.py,sha256=axDic7WOG1e78SdFm5XIwdhX7YNvf3g4k7INrsW3X4s,14611
|
48
48
|
sky/client/sdk.py,sha256=U4v8Khu1lf1oUoBuJUhIFnjsFhYM9x8XcKsnVRMtihI,66990
|
49
49
|
sky/clouds/__init__.py,sha256=OW6mJ-9hpJSBORCgt2LippLQEYZHNfnBW1mooRNNvxo,1416
|
@@ -344,9 +344,9 @@ sky/utils/kubernetes/k8s_gpu_labeler_setup.yaml,sha256=VLKT2KKimZu1GDg_4AIlIt488
|
|
344
344
|
sky/utils/kubernetes/kubernetes_deploy_utils.py,sha256=iAjfyPclOs8qlALACcfxLpRAO9CZ-h16leFqXZ6tNaY,10096
|
345
345
|
sky/utils/kubernetes/rsync_helper.sh,sha256=h4YwrPFf9727CACnMJvF3EyK_0OeOYKKt4su_daKekw,1256
|
346
346
|
sky/utils/kubernetes/ssh_jump_lifecycle_manager.py,sha256=Kq1MDygF2IxFmu9FXpCxqucXLmeUrvs6OtRij6XTQbo,6554
|
347
|
-
skypilot_nightly-1.0.0.
|
348
|
-
skypilot_nightly-1.0.0.
|
349
|
-
skypilot_nightly-1.0.0.
|
350
|
-
skypilot_nightly-1.0.0.
|
351
|
-
skypilot_nightly-1.0.0.
|
352
|
-
skypilot_nightly-1.0.0.
|
347
|
+
skypilot_nightly-1.0.0.dev20250228.dist-info/LICENSE,sha256=emRJAvE7ngL6x0RhQvlns5wJzGI3NEQ_WMjNmd9TZc4,12170
|
348
|
+
skypilot_nightly-1.0.0.dev20250228.dist-info/METADATA,sha256=IBTEc-5NtZ9KP63RfsWsMmXI6qzs7ZBSdi9bAN8QfAc,19236
|
349
|
+
skypilot_nightly-1.0.0.dev20250228.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
|
350
|
+
skypilot_nightly-1.0.0.dev20250228.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
|
351
|
+
skypilot_nightly-1.0.0.dev20250228.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
|
352
|
+
skypilot_nightly-1.0.0.dev20250228.dist-info/RECORD,,
|
File without changes
|
{skypilot_nightly-1.0.0.dev20250227.dist-info → skypilot_nightly-1.0.0.dev20250228.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|