skypilot-nightly 1.0.0.dev20240908__py3-none-any.whl → 1.0.0.dev20240909__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/data/storage.py +14 -0
- sky/provision/__init__.py +2 -2
- {skypilot_nightly-1.0.0.dev20240908.dist-info → skypilot_nightly-1.0.0.dev20240909.dist-info}/METADATA +1 -1
- {skypilot_nightly-1.0.0.dev20240908.dist-info → skypilot_nightly-1.0.0.dev20240909.dist-info}/RECORD +9 -9
- {skypilot_nightly-1.0.0.dev20240908.dist-info → skypilot_nightly-1.0.0.dev20240909.dist-info}/LICENSE +0 -0
- {skypilot_nightly-1.0.0.dev20240908.dist-info → skypilot_nightly-1.0.0.dev20240909.dist-info}/WHEEL +0 -0
- {skypilot_nightly-1.0.0.dev20240908.dist-info → skypilot_nightly-1.0.0.dev20240909.dist-info}/entry_points.txt +0 -0
- {skypilot_nightly-1.0.0.dev20240908.dist-info → skypilot_nightly-1.0.0.dev20240909.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 = 'e79d0225916b1ab8039945c83746ed9e85852c02'
|
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.dev20240909'
|
39
39
|
__root_dir__ = os.path.dirname(os.path.abspath(__file__))
|
40
40
|
|
41
41
|
|
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
|
-
**
|
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
|
-
**
|
196
|
+
**credentials,
|
197
197
|
)
|
{skypilot_nightly-1.0.0.dev20240908.dist-info → skypilot_nightly-1.0.0.dev20240909.dist-info}/RECORD
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
sky/__init__.py,sha256=
|
1
|
+
sky/__init__.py,sha256=bCPEmnSqXuWZOUoh70PlrdobKwJF7Lim7CBLSIzd7M8,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
|
@@ -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=
|
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=
|
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.
|
274
|
-
skypilot_nightly-1.0.0.
|
275
|
-
skypilot_nightly-1.0.0.
|
276
|
-
skypilot_nightly-1.0.0.
|
277
|
-
skypilot_nightly-1.0.0.
|
278
|
-
skypilot_nightly-1.0.0.
|
273
|
+
skypilot_nightly-1.0.0.dev20240909.dist-info/LICENSE,sha256=emRJAvE7ngL6x0RhQvlns5wJzGI3NEQ_WMjNmd9TZc4,12170
|
274
|
+
skypilot_nightly-1.0.0.dev20240909.dist-info/METADATA,sha256=FhimTH-U6Fs0tosDVtP0tZweDAeyE_jTP0h79BrNh40,18870
|
275
|
+
skypilot_nightly-1.0.0.dev20240909.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
276
|
+
skypilot_nightly-1.0.0.dev20240909.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
|
277
|
+
skypilot_nightly-1.0.0.dev20240909.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
|
278
|
+
skypilot_nightly-1.0.0.dev20240909.dist-info/RECORD,,
|
File without changes
|
{skypilot_nightly-1.0.0.dev20240908.dist-info → skypilot_nightly-1.0.0.dev20240909.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|