skypilot-nightly 1.0.0.dev20250221__py3-none-any.whl → 1.0.0.dev20250223__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 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 = 'aa3c387f04fbdd4468751b7d66fcb381bd3449dc'
8
+ _SKYPILOT_COMMIT_SHA = '2036622dd0874016a2c8a374326bbf5e0aea93ec'
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.dev20250221'
38
+ __version__ = '1.0.0.dev20250223'
39
39
  __root_dir__ = os.path.dirname(os.path.abspath(__file__))
40
40
 
41
41
 
sky/cli.py CHANGED
@@ -2027,7 +2027,7 @@ def queue(clusters: List[str], skip_finished: bool, all_users: bool):
2027
2027
  clusters = [cluster['name'] for cluster in cluster_records]
2028
2028
 
2029
2029
  unsupported_clusters = []
2030
- logger.info(f'Fetching job queue for {clusters}')
2030
+ logger.info(f'Fetching job queue for: {", ".join(clusters)}')
2031
2031
  job_tables = {}
2032
2032
 
2033
2033
  def _get_job_queue(cluster):
sky/client/cli.py CHANGED
@@ -2027,7 +2027,7 @@ def queue(clusters: List[str], skip_finished: bool, all_users: bool):
2027
2027
  clusters = [cluster['name'] for cluster in cluster_records]
2028
2028
 
2029
2029
  unsupported_clusters = []
2030
- logger.info(f'Fetching job queue for {clusters}')
2030
+ logger.info(f'Fetching job queue for: {", ".join(clusters)}')
2031
2031
  job_tables = {}
2032
2032
 
2033
2033
  def _get_job_queue(cluster):
sky/client/sdk.py CHANGED
@@ -321,8 +321,7 @@ def launch(
321
321
  many minute of idleness, i.e., no running or pending jobs in the
322
322
  cluster's job queue. Idleness gets reset whenever setting-up/
323
323
  running/pending jobs are found in the job queue. Setting this
324
- flag is equivalent to running
325
- ``sky.launch(..., detach_run=True, ...)`` and then
324
+ flag is equivalent to running ``sky.launch()`` and then
326
325
  ``sky.autostop(idle_minutes=<minutes>)``. If not set, the cluster
327
326
  will not be autostopped.
328
327
  dryrun: if True, do not actually launch the cluster.
@@ -677,8 +676,7 @@ def start(
677
676
  many minute of idleness, i.e., no running or pending jobs in the
678
677
  cluster's job queue. Idleness gets reset whenever setting-up/
679
678
  running/pending jobs are found in the job queue. Setting this
680
- flag is equivalent to running
681
- ``sky.launch(..., detach_run=True, ...)`` and then
679
+ flag is equivalent to running ``sky.launch()`` and then
682
680
  ``sky.autostop(idle_minutes=<minutes>)``. If not set, the
683
681
  cluster will not be autostopped.
684
682
  retry_until_up: whether to retry launching the cluster until it is
@@ -889,7 +887,7 @@ def autostop(
889
887
  @usage_lib.entrypoint
890
888
  @server_common.check_server_healthy_or_start
891
889
  @annotations.client_api
892
- def queue(cluster_name: List[str],
890
+ def queue(cluster_name: str,
893
891
  skip_finished: bool = False,
894
892
  all_users: bool = False) -> server_common.RequestId:
895
893
  """Gets the job queue of a cluster.
sky/core.py CHANGED
@@ -373,8 +373,7 @@ def start(
373
373
  many minute of idleness, i.e., no running or pending jobs in the
374
374
  cluster's job queue. Idleness gets reset whenever setting-up/
375
375
  running/pending jobs are found in the job queue. Setting this
376
- flag is equivalent to running
377
- ``sky.launch(..., detach_run=True, ...)`` and then
376
+ flag is equivalent to running ``sky.launch()`` and then
378
377
  ``sky.autostop(idle_minutes=<minutes>)``. If not set, the
379
378
  cluster will not be autostopped.
380
379
  retry_until_up: whether to retry launching the cluster until it is
sky/server/common.py CHANGED
@@ -168,7 +168,7 @@ def start_api_server_in_background(deploy: bool = False,
168
168
  api_server_cmd += ' --deploy'
169
169
  if host is not None:
170
170
  api_server_cmd += f' --host {host}'
171
- cmd = f'{sys.executable} {api_server_cmd} > {log_path} 2>&1'
171
+ cmd = f'{sys.executable} {api_server_cmd} > {log_path} 2>&1 < /dev/null'
172
172
 
173
173
  # Start the API server process in the background and don't wait for it.
174
174
  # If this is called from a CLI invocation, we need start_new_session=True so
sky/skylet/constants.py CHANGED
@@ -143,7 +143,8 @@ DISABLE_GPU_ECC_COMMAND = (
143
143
  # AWS's Deep Learning AMI's default conda environment.
144
144
  CONDA_INSTALLATION_COMMANDS = (
145
145
  'which conda > /dev/null 2>&1 || '
146
- '{ curl https://repo.anaconda.com/miniconda/Miniconda3-py310_23.11.0-2-Linux-x86_64.sh -o Miniconda3-Linux-x86_64.sh && ' # pylint: disable=line-too-long
146
+ '{ '
147
+ 'curl https://repo.anaconda.com/miniconda/Miniconda3-py310_23.11.0-2-Linux-x86_64.sh -o Miniconda3-Linux-x86_64.sh && ' # pylint: disable=line-too-long
147
148
  # We do not use && for installation of conda and the following init commands
148
149
  # because for some images, conda is already installed, but not initialized.
149
150
  # In this case, we need to initialize conda and set auto_activate_base to
@@ -152,18 +153,10 @@ CONDA_INSTALLATION_COMMANDS = (
152
153
  'eval "$(~/miniconda3/bin/conda shell.bash hook)" && conda init && '
153
154
  # Caller should replace {conda_auto_activate} with either true or false.
154
155
  'conda config --set auto_activate_base {conda_auto_activate} && '
155
- 'conda activate base; }; }; '
156
+ 'conda activate base; }; '
157
+ '}; '
156
158
  'grep "# >>> conda initialize >>>" ~/.bashrc || '
157
159
  '{ conda init && source ~/.bashrc; };'
158
- # If Python version is larger then equal to 3.12, create a new conda env
159
- # with Python 3.10.
160
- # We don't use a separate conda env for SkyPilot dependencies because it is
161
- # costly to create a new conda env, and venv should be a lightweight and
162
- # faster alternative when the python version satisfies the requirement.
163
- '[[ $(python3 --version | cut -d " " -f 2 | cut -d "." -f 2) -ge 12 ]] && '
164
- 'echo "Creating conda env with Python 3.10" && '
165
- f'conda create -y -n {SKY_REMOTE_PYTHON_ENV_NAME} python=3.10 && '
166
- f'conda activate {SKY_REMOTE_PYTHON_ENV_NAME};'
167
160
  # Install uv for venv management and pip installation.
168
161
  f'{SKY_UV_INSTALL_CMD};'
169
162
  # Create a separate conda environment for SkyPilot dependencies.
@@ -173,7 +166,14 @@ CONDA_INSTALLATION_COMMANDS = (
173
166
  # Reference: https://github.com/skypilot-org/skypilot/issues/4097
174
167
  # --seed will include pip and setuptools, which are present in venvs created
175
168
  # with python -m venv.
176
- f'{SKY_UV_CMD} venv --seed {SKY_REMOTE_PYTHON_ENV};'
169
+ # --python 3.10 will ensure the specific python version is downloaded
170
+ # and installed in the venv. SkyPilot requires Python<3.12, and 3.10 is
171
+ # preferred. We have to always pass in `--python` to avoid the issue when a
172
+ # user has `.python_version` file in their home directory, which will cause
173
+ # uv to use the python version specified in the `.python_version` file.
174
+ # TODO(zhwu): consider adding --python-preference only-managed to avoid
175
+ # using the system python, if a user report such issue.
176
+ f'{SKY_UV_CMD} venv --seed {SKY_REMOTE_PYTHON_ENV} --python 3.10;'
177
177
  f'echo "$(echo {SKY_REMOTE_PYTHON_ENV})/bin/python" > {SKY_PYTHON_PATH_FILE};'
178
178
  )
179
179
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: skypilot-nightly
3
- Version: 1.0.0.dev20250221
3
+ Version: 1.0.0.dev20250223
4
4
  Summary: SkyPilot: An intercloud broker for the clouds
5
5
  Author: SkyPilot Team
6
6
  License: Apache 2.0
@@ -1,10 +1,10 @@
1
- sky/__init__.py,sha256=pGbies6z8Ql6Y42iPemF9_7b3Eh9REx7qkqNefvh6Aw,6428
1
+ sky/__init__.py,sha256=Hu_vDGy1SU1rmPpIrAdhs4dqKg0vZvdbTKqe0-DjmC4,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=iwYBgEt3tgsYmOIp-ivPmL2FHoalvhH4Ng--C31ubws,218201
5
+ sky/cli.py,sha256=wB9TA4RKuJMHz9hkXlX8QNh8Gm5EiBmTYYaR7wWnYF0,218213
6
6
  sky/cloud_stores.py,sha256=-95XIqi_ouo7hvoN5mQNP6bGm07MyF6Yk-YP4Txb5wg,24034
7
- sky/core.py,sha256=gw_TrQOxz28sLAJJq6ajPnlRlrKQ2G1DtqLuntMejFU,45508
7
+ sky/core.py,sha256=X83hdpPTiWyEJLamrguCd03PUjkRiGgqTFfEBEQkzWc,45471
8
8
  sky/dag.py,sha256=Yl7Ry26Vql5cv4YMz8g9kOUgtoCihJnw7c8NgZYakMY,3242
9
9
  sky/exceptions.py,sha256=cGepNlBkjjgvi3fazc3DbdYLKhhF_sHCuGX0-hu_QMQ,13685
10
10
  sky/execution.py,sha256=0M4RTEzWn-B9oz221XdZOIGH12XOACmNq0j-WGUT_No,28023
@@ -43,9 +43,9 @@ 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=iwYBgEt3tgsYmOIp-ivPmL2FHoalvhH4Ng--C31ubws,218201
46
+ sky/client/cli.py,sha256=wB9TA4RKuJMHz9hkXlX8QNh8Gm5EiBmTYYaR7wWnYF0,218213
47
47
  sky/client/common.py,sha256=axDic7WOG1e78SdFm5XIwdhX7YNvf3g4k7INrsW3X4s,14611
48
- sky/client/sdk.py,sha256=XYjiVnxZFcNYHgWEHerSqpHyMLLg0HHZPUIklUnAyWw,67068
48
+ sky/client/sdk.py,sha256=U4v8Khu1lf1oUoBuJUhIFnjsFhYM9x8XcKsnVRMtihI,66990
49
49
  sky/clouds/__init__.py,sha256=OW6mJ-9hpJSBORCgt2LippLQEYZHNfnBW1mooRNNvxo,1416
50
50
  sky/clouds/aws.py,sha256=J8tczaTDL239UowN9tUlhI92SeHw01wtFucSckvG63w,54112
51
51
  sky/clouds/azure.py,sha256=bawEw6wOLAVyrjxMD-4UjLCuMj1H5_jH8qggpfZYS54,31703
@@ -228,7 +228,7 @@ sky/serve/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
228
228
  sky/serve/server/core.py,sha256=pRvFadEIH_WTUkTtSmuFoPBP4JFq8Obt68ifi9DWuog,36865
229
229
  sky/serve/server/server.py,sha256=gQGVU9nHYdGbaLhGjIUNIYn4xwKjRASRJkiiTL5AI1Y,3283
230
230
  sky/server/__init__.py,sha256=MPPBqFzXz6Jv5QSk6td_IcvnfXfNErDZVcizu4MLRow,27
231
- sky/server/common.py,sha256=uBshF4a-U8NGgm8XOHTW2YNSq0CsByfdIFgiybU5PEg,17321
231
+ sky/server/common.py,sha256=aCLz5LcSmNO0xISAGhtGs-YF2qzIwgIYKgDlIf6DFyU,17333
232
232
  sky/server/constants.py,sha256=SqhWJMassFyvWAJn2UJHvuA_0_C6f5vngMzZ2KYLsKw,770
233
233
  sky/server/server.py,sha256=0gcIn3jr_4DkHpBJYdNq--uPo9Im8bn2ftxgd8mBMcU,42225
234
234
  sky/server/stream_utils.py,sha256=-3IX1YCgxAFfcvQIV0TCvOn1wbRLWovAx3ckCrsExWU,5651
@@ -250,7 +250,7 @@ sky/skylet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
250
250
  sky/skylet/attempt_skylet.py,sha256=GZ6ITjjA0m-da3IxXXfoHR6n4pjp3X3TOXUqVvSrV0k,2136
251
251
  sky/skylet/autostop_lib.py,sha256=W4CtMira6QnmYToFT5kYTGjNPRZNC-bZPfsF1k3tluE,4480
252
252
  sky/skylet/configs.py,sha256=UtnpmEL0F9hH6PSjhsps7xgjGZ6qzPOfW1p2yj9tSng,1887
253
- sky/skylet/constants.py,sha256=eXT0Ule1N6ZYRGjJmC_idUAzZH3ymZ1JSzDL3USwTAE,17963
253
+ sky/skylet/constants.py,sha256=WB7bKWvMkgyEf9tAzfKwtM8eYR9OEgJtqwgBT3BEoEM,17923
254
254
  sky/skylet/events.py,sha256=pnV3ZiwWhXqTHpU5B5Y9Xwam_7FQDI6IrxgSx7X_NVA,12743
255
255
  sky/skylet/job_lib.py,sha256=8W6GM2zxqGMIoD3AGiXcKsK_7-qouuTojiVL6upSeoA,43728
256
256
  sky/skylet/log_lib.py,sha256=DzOrgY8C7RdEMLC9O9kEKV-iLMb9wVMPSnDha8eMx28,20900
@@ -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.dev20250221.dist-info/LICENSE,sha256=emRJAvE7ngL6x0RhQvlns5wJzGI3NEQ_WMjNmd9TZc4,12170
348
- skypilot_nightly-1.0.0.dev20250221.dist-info/METADATA,sha256=g1zIuQa9_hr9mfnZIQPKliYNNnNlomELACnPKREiPc8,19055
349
- skypilot_nightly-1.0.0.dev20250221.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
350
- skypilot_nightly-1.0.0.dev20250221.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
351
- skypilot_nightly-1.0.0.dev20250221.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
352
- skypilot_nightly-1.0.0.dev20250221.dist-info/RECORD,,
347
+ skypilot_nightly-1.0.0.dev20250223.dist-info/LICENSE,sha256=emRJAvE7ngL6x0RhQvlns5wJzGI3NEQ_WMjNmd9TZc4,12170
348
+ skypilot_nightly-1.0.0.dev20250223.dist-info/METADATA,sha256=U8WMutzRSXP2hdMb3lBOsh3TsuFQGb4UDLNx5GgyAwM,19055
349
+ skypilot_nightly-1.0.0.dev20250223.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
350
+ skypilot_nightly-1.0.0.dev20250223.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
351
+ skypilot_nightly-1.0.0.dev20250223.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
352
+ skypilot_nightly-1.0.0.dev20250223.dist-info/RECORD,,