skypilot-nightly 1.0.0.dev20240531__py3-none-any.whl → 1.0.0.dev2024053101__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 = 'ea5aa50e19a2c316f2c5dd9bc47245c4b2338b71'
8
+ _SKYPILOT_COMMIT_SHA = 'e620ccc418ee69d70e580a703569d7cf0508b0ce'
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.dev20240531'
38
+ __version__ = '1.0.0-dev2024053101'
39
39
  __root_dir__ = os.path.dirname(os.path.abspath(__file__))
40
40
 
41
41
 
sky/cli.py CHANGED
@@ -772,6 +772,8 @@ def _make_task_or_dag_from_entrypoint_with_overrides(
772
772
  else:
773
773
  task = sky.Task(name='sky-cmd', run=entrypoint)
774
774
  task.set_resources({sky.Resources()})
775
+ # env update has been done for DAG in load_chain_dag_from_yaml for YAML.
776
+ task.update_envs(env)
775
777
 
776
778
  # Override.
777
779
  if workdir is not None:
@@ -787,7 +789,6 @@ def _make_task_or_dag_from_entrypoint_with_overrides(
787
789
  task.num_nodes = num_nodes
788
790
  if name is not None:
789
791
  task.name = name
790
- task.update_envs(env)
791
792
  return task
792
793
 
793
794
 
sky/utils/dag_utils.py CHANGED
@@ -70,9 +70,9 @@ def load_chain_dag_from_yaml(
70
70
  Has special handling for an initial section in YAML that contains only the
71
71
  'name' field, which is the DAG name.
72
72
 
73
- 'env_overrides' is in effect only when there's exactly one task. It is a
74
- list of (key, value) pairs that will be used to update the task's 'envs'
75
- section.
73
+ 'env_overrides' is a list of (key, value) pairs that will be used to update
74
+ the task's 'envs' section. If it is a chain dag, the envs will be updated
75
+ for all tasks in the chain.
76
76
 
77
77
  Returns:
78
78
  A chain Dag with 1 or more tasks (an empty entrypoint would create a
@@ -90,12 +90,6 @@ def load_chain_dag_from_yaml(
90
90
  # YAML has only `name: xxx`. Still instantiate a task.
91
91
  configs = [{'name': dag_name}]
92
92
 
93
- if len(configs) > 1:
94
- # TODO(zongheng): in a chain DAG of N tasks, cli.py currently makes the
95
- # decision to not apply overrides. Here we maintain this behavior. We
96
- # can listen to user feedback to change this.
97
- env_overrides = None
98
-
99
93
  current_task = None
100
94
  with dag_lib.Dag() as dag:
101
95
  for task_config in configs:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: skypilot-nightly
3
- Version: 1.0.0.dev20240531
3
+ Version: 1.0.0.dev2024053101
4
4
  Summary: SkyPilot: An intercloud broker for the clouds
5
5
  Author: SkyPilot Team
6
6
  License: Apache 2.0
@@ -1,7 +1,7 @@
1
- sky/__init__.py,sha256=_7LinSQToPUX9Wmou0DisqWZUT0JU9fPQn9SB0VxCy0,5588
1
+ sky/__init__.py,sha256=JsZC-jmxDHFRuZWryJ5Ktt9MWnJo2RqMdktIzikC5Ws,5590
2
2
  sky/authentication.py,sha256=LM8vOdxE7KkZSdkCw6Pi9tnCobHk8qnX2Mggi-rSSe8,21408
3
3
  sky/check.py,sha256=COsYRQbsJ78QGYlSdiqeYjK1nsipBvBcotqJlYhuQ68,9079
4
- sky/cli.py,sha256=-auY1_yTFJxPg8Y3DREmtQxwwf4crly7SWieWrkUXkc,200458
4
+ sky/cli.py,sha256=H2Rcsb3ZqRAz7QoeYrC8adDiLNoYGMSpdXt26UnK4m4,200543
5
5
  sky/cloud_stores.py,sha256=KEt1EN6RtF7j5-QqmMAf2KYVX65APAdfPWY_6CVgBOg,11806
6
6
  sky/core.py,sha256=VbTyO2AEEP-00nf-JQejWSBlVyq-SdYF9hoZ33jlDXY,34233
7
7
  sky/dag.py,sha256=d3gF030wYmit01jxszEygT4EvKJUky3DBlG3PfWPp_w,2529
@@ -244,7 +244,7 @@ sky/utils/command_runner.py,sha256=9xQuN5w_D706NUw-NtZi96tb12odfX_uoYNGlb261vI,2
244
244
  sky/utils/command_runner.pyi,sha256=C3feaqF93xjEzuBH4Xpa0LHp4su8JNr3GeXOZb0NjUw,5560
245
245
  sky/utils/common_utils.py,sha256=kqYNgs1zbNJ9c7qkfWd_9w6Y3cx1ln-U7V2RZeZYDi0,23848
246
246
  sky/utils/controller_utils.py,sha256=JFhAt2E_Xe7uIn0cMfXhqWWt5EcdGvhyZ-JMFoJ351E,34620
247
- sky/utils/dag_utils.py,sha256=-JmGlGpQuFPRCBVSG2EabyeGKf1kSWSNDGXitgBz860,5731
247
+ sky/utils/dag_utils.py,sha256=ddSmnOjE9yMpaSC5jlC-x_tq1hPsVYJzBTyDch_cpr4,5487
248
248
  sky/utils/db_utils.py,sha256=AOvMmBEN9cF4I7CoXihPCtus4mU2VDGjBQSVMMgzKlA,2786
249
249
  sky/utils/env_options.py,sha256=1VXyd3bhiUgGfCpmmTqM9PagRo1ILBH4-pzIxmIeE6E,861
250
250
  sky/utils/kubernetes_enums.py,sha256=imGqHSa8O07zD_6xH1SDMM7dBU5lF5fzFFlQuQy00QM,1384
@@ -267,9 +267,9 @@ sky/utils/kubernetes/gpu_labeler.py,sha256=MEUv0U4ACDcNwtFVltlv017XJMjxx1Bndf6fL
267
267
  sky/utils/kubernetes/k8s_gpu_labeler_job.yaml,sha256=KPqp23B-zQ2SZK03jdHeF9fLTogMEFxotE35IosIpRg,1186
268
268
  sky/utils/kubernetes/k8s_gpu_labeler_setup.yaml,sha256=VLKT2KKimZu1GDg_4AIlIt488oMQvhRZWwsj9vBbPUg,3812
269
269
  sky/utils/kubernetes/ssh_jump_lifecycle_manager.py,sha256=RFLJ3k7MR5UN4SKHykQ0lV9SgXumoULpKYIAt1vh-HU,6560
270
- skypilot_nightly-1.0.0.dev20240531.dist-info/LICENSE,sha256=emRJAvE7ngL6x0RhQvlns5wJzGI3NEQ_WMjNmd9TZc4,12170
271
- skypilot_nightly-1.0.0.dev20240531.dist-info/METADATA,sha256=lPWvrHJsfOPfpXvVfTmYgQwoLyaX96pnjCNWAhZhDbk,17739
272
- skypilot_nightly-1.0.0.dev20240531.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
273
- skypilot_nightly-1.0.0.dev20240531.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
274
- skypilot_nightly-1.0.0.dev20240531.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
275
- skypilot_nightly-1.0.0.dev20240531.dist-info/RECORD,,
270
+ skypilot_nightly-1.0.0.dev2024053101.dist-info/LICENSE,sha256=emRJAvE7ngL6x0RhQvlns5wJzGI3NEQ_WMjNmd9TZc4,12170
271
+ skypilot_nightly-1.0.0.dev2024053101.dist-info/METADATA,sha256=7ygdKz5YBSZ0M3IGD7JUbtAp6QWA8VMogH_a-7izJXE,17741
272
+ skypilot_nightly-1.0.0.dev2024053101.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
273
+ skypilot_nightly-1.0.0.dev2024053101.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
274
+ skypilot_nightly-1.0.0.dev2024053101.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
275
+ skypilot_nightly-1.0.0.dev2024053101.dist-info/RECORD,,