skypilot-nightly 1.0.0.dev20240908__py3-none-any.whl → 1.0.0.dev20240910__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 = '272226b6ce372d2bdbd85ff32288c1f0197d89b1'
8
+ _SKYPILOT_COMMIT_SHA = 'db9aeb029d07cf7452751b4658af46e187985a98'
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.dev20240908'
38
+ __version__ = '1.0.0.dev20240910'
39
39
  __root_dir__ = os.path.dirname(os.path.abspath(__file__))
40
40
 
41
41
 
@@ -70,6 +70,7 @@ def _load_config():
70
70
  global _configured
71
71
  if _configured:
72
72
  return
73
+ urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
73
74
  try:
74
75
  # Load in-cluster config if running in a pod
75
76
  # Kubernetes set environment variables for service discovery do not
sky/data/storage.py CHANGED
@@ -1447,6 +1447,20 @@ class S3Store(AbstractStore):
1447
1447
  s3_client.create_bucket(**create_bucket_config)
1448
1448
  logger.info(
1449
1449
  f'Created S3 bucket {bucket_name!r} in {region or "us-east-1"}')
1450
+
1451
+ # Add AWS tags configured in config.yaml to the bucket.
1452
+ # This is useful for cost tracking and external cleanup.
1453
+ bucket_tags = skypilot_config.get_nested(('aws', 'labels'), {})
1454
+ if bucket_tags:
1455
+ s3_client.put_bucket_tagging(
1456
+ Bucket=bucket_name,
1457
+ Tagging={
1458
+ 'TagSet': [{
1459
+ 'Key': k,
1460
+ 'Value': v
1461
+ } for k, v in bucket_tags.items()]
1462
+ })
1463
+
1450
1464
  except aws.botocore_exceptions().ClientError as e:
1451
1465
  with ux_utils.print_exception_no_traceback():
1452
1466
  raise exceptions.StorageBucketCreateError(
sky/provision/__init__.py CHANGED
@@ -186,12 +186,12 @@ def get_cluster_info(
186
186
  def get_command_runners(
187
187
  provider_name: str,
188
188
  cluster_info: common.ClusterInfo,
189
- **crednetials: Dict[str, Any],
189
+ **credentials: Dict[str, Any],
190
190
  ) -> List[command_runner.CommandRunner]:
191
191
  """Get a command runner for the given cluster."""
192
192
  ip_list = cluster_info.get_feasible_ips()
193
193
  port_list = cluster_info.get_ssh_ports()
194
194
  return command_runner.SSHCommandRunner.make_runner_list(
195
195
  node_list=zip(ip_list, port_list),
196
- **crednetials,
196
+ **credentials,
197
197
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: skypilot-nightly
3
- Version: 1.0.0.dev20240908
3
+ Version: 1.0.0.dev20240910
4
4
  Summary: SkyPilot: An intercloud broker for the clouds
5
5
  Author: SkyPilot Team
6
6
  License: Apache 2.0
@@ -1,4 +1,4 @@
1
- sky/__init__.py,sha256=1Kl0CVeFEoU5_d-HLuNGXhw2f1xNALzBLEsQa3VgLpE,5588
1
+ sky/__init__.py,sha256=1P9XVfl4r3K7EIYSUhBNklKq1GMllfu12NpjVYt1XU4,5588
2
2
  sky/authentication.py,sha256=PXKsabUKnvhoTNoNwZzo66qjCLAsuc5pQ8esVu0IYh8,20424
3
3
  sky/check.py,sha256=sqUCow5Gqqtp2ouk7tZ3whwDOK23wqyUJvcxMBsich8,9080
4
4
  sky/cli.py,sha256=2cOw3lXzRA-uLlEH-eK7N_1VmUpf1LR4Ztu-ZaKu3Is,201673
@@ -23,7 +23,7 @@ sky/adaptors/cudo.py,sha256=WGvIQrlzJkGDe02Ve7pygA56tHwUc4kwS3XHW8kMFAA,239
23
23
  sky/adaptors/docker.py,sha256=_kzpZ0fkWHqqQAVVl0llTsCE31KYz3Sjn8psTBQHVkA,468
24
24
  sky/adaptors/gcp.py,sha256=OQ9RaqjR0r0iaWYpjvEtIx5vnEhyB4LhUCwbtdxsmVk,3115
25
25
  sky/adaptors/ibm.py,sha256=H87vD6izq_wQI8oQC7cx9iVtRgPi_QkAcrfa1Z3PNqU,4906
26
- sky/adaptors/kubernetes.py,sha256=U327KmsZ9khbxQ7vVZja5yqI8BV2rhJxgd2yNk4WTow,5846
26
+ sky/adaptors/kubernetes.py,sha256=oKldZUS1WHrTXu5G5uLVQXcaOGSAXbR07CbLF5oejks,5918
27
27
  sky/adaptors/oci.py,sha256=n_zcrippTZRbTIhN3euD5sqNYn43G397zMavaJyEYbk,1480
28
28
  sky/adaptors/runpod.py,sha256=4Nt_BfZhJAKQNA3wO8cxvvNI8x4NsDGHu_4EhRDlGYQ,225
29
29
  sky/adaptors/vsphere.py,sha256=zJP9SeObEoLrpgHW2VHvZE48EhgVf8GfAEIwBeaDMfM,2129
@@ -90,7 +90,7 @@ sky/data/__init__.py,sha256=Nhaf1NURisXpZuwWANa2IuCyppIuc720FRwqSE2oEwY,184
90
90
  sky/data/data_transfer.py,sha256=MBmjey9_p2L3IKNKTi8um09SlZe32n4wK3CkVnlTVvo,7346
91
91
  sky/data/data_utils.py,sha256=-P5GsDH_m4slrCz4vHdgiFezIys8ufzvhEKePJwfjFc,28597
92
92
  sky/data/mounting_utils.py,sha256=44YkYIIgArEkyvxCtfmXXumybrU8bmn1TfLXWv_eldI,11480
93
- sky/data/storage.py,sha256=WkWnvvhIPDrRryCjY2Q72DIrnnD4mimtIVeMhlqBbkg,161968
93
+ sky/data/storage.py,sha256=JYeEWQtCXg9h6CjCaAsINV1MXcvFswuUgf3c0GOZQSs,162523
94
94
  sky/data/storage_utils.py,sha256=-s0iQhV8JVx1J2gWtoBFrN04MGv2oVYxo_Hw43R2BSY,6867
95
95
  sky/jobs/__init__.py,sha256=9cqFutVlfjQb7t8hzG-ZlQmMlbmfMirn0KNBxIFnJYQ,1398
96
96
  sky/jobs/constants.py,sha256=YLgcCg_RHSYr_rfsI_4UIdXk78KKKOK29Oem88t5j8I,1350
@@ -102,7 +102,7 @@ sky/jobs/utils.py,sha256=ZB2dJxtJ4hbCRdxHmy8wrmtXIvvGGE80kk5BQTOQWkQ,35653
102
102
  sky/jobs/dashboard/dashboard.py,sha256=HFShuaxKir97QTeK2x37h6bsY6ncaFaNEg1USZqJPdc,3050
103
103
  sky/jobs/dashboard/static/favicon.ico,sha256=uYlvgxSM7gjBmXpZ8wydvZUPAbJiiix-rc2Xe5mma9s,15086
104
104
  sky/jobs/dashboard/templates/index.html,sha256=DBKMYEkkJ6sgLYod9ro7drgL8Y_neDsCx_WbwhWDsWM,9837
105
- sky/provision/__init__.py,sha256=Ap-ujmdXavCg2tMB0akwSxHJF1eaR6F_hjiw2miWamk,6146
105
+ sky/provision/__init__.py,sha256=ZBahWZgLw63EvYGBpxTJNnys_bb7TpdtQpESWRyoWC8,6146
106
106
  sky/provision/common.py,sha256=E8AlSUFcn0FYQq1erNmoVfMAdsF9tP2yxfyk-9PLvQU,10286
107
107
  sky/provision/constants.py,sha256=DvHj3wpqdpaSBHMOGIfVWLLWGJoz0eOQAx73DwYMNEk,531
108
108
  sky/provision/docker_utils.py,sha256=Z7vDUs9Yjqks_CsWrACcTgABIZuFi3EJVFwkU0WsdD0,18832
@@ -270,9 +270,9 @@ sky/utils/kubernetes/k8s_gpu_labeler_job.yaml,sha256=KPqp23B-zQ2SZK03jdHeF9fLTog
270
270
  sky/utils/kubernetes/k8s_gpu_labeler_setup.yaml,sha256=VLKT2KKimZu1GDg_4AIlIt488oMQvhRZWwsj9vBbPUg,3812
271
271
  sky/utils/kubernetes/rsync_helper.sh,sha256=1ad-m4s8QTPxaBQxNIL8AGDfX4un6T0dxZgk-R7OLyE,154
272
272
  sky/utils/kubernetes/ssh_jump_lifecycle_manager.py,sha256=RFLJ3k7MR5UN4SKHykQ0lV9SgXumoULpKYIAt1vh-HU,6560
273
- skypilot_nightly-1.0.0.dev20240908.dist-info/LICENSE,sha256=emRJAvE7ngL6x0RhQvlns5wJzGI3NEQ_WMjNmd9TZc4,12170
274
- skypilot_nightly-1.0.0.dev20240908.dist-info/METADATA,sha256=AHL5p8IX89jNkescYQXgHbZ9RCtSeYZEKmDgS-D1iZA,18870
275
- skypilot_nightly-1.0.0.dev20240908.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
276
- skypilot_nightly-1.0.0.dev20240908.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
277
- skypilot_nightly-1.0.0.dev20240908.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
278
- skypilot_nightly-1.0.0.dev20240908.dist-info/RECORD,,
273
+ skypilot_nightly-1.0.0.dev20240910.dist-info/LICENSE,sha256=emRJAvE7ngL6x0RhQvlns5wJzGI3NEQ_WMjNmd9TZc4,12170
274
+ skypilot_nightly-1.0.0.dev20240910.dist-info/METADATA,sha256=rMdtN2Lw_X-n2vTbiZVm9TYgYsHmZW3YEbkoZnYunqs,18870
275
+ skypilot_nightly-1.0.0.dev20240910.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
276
+ skypilot_nightly-1.0.0.dev20240910.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
277
+ skypilot_nightly-1.0.0.dev20240910.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
278
+ skypilot_nightly-1.0.0.dev20240910.dist-info/RECORD,,