trainy-skypilot-nightly 1.0.0.dev20250304__py3-none-any.whl → 1.0.0.dev20250506__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/utils/kubernetes/rsync_helper.sh +29 -12
- {trainy_skypilot_nightly-1.0.0.dev20250304.dist-info → trainy_skypilot_nightly-1.0.0.dev20250506.dist-info}/METADATA +3 -2
- {trainy_skypilot_nightly-1.0.0.dev20250304.dist-info → trainy_skypilot_nightly-1.0.0.dev20250506.dist-info}/RECORD +8 -8
- {trainy_skypilot_nightly-1.0.0.dev20250304.dist-info → trainy_skypilot_nightly-1.0.0.dev20250506.dist-info}/WHEEL +1 -1
- {trainy_skypilot_nightly-1.0.0.dev20250304.dist-info → trainy_skypilot_nightly-1.0.0.dev20250506.dist-info}/entry_points.txt +0 -0
- {trainy_skypilot_nightly-1.0.0.dev20250304.dist-info → trainy_skypilot_nightly-1.0.0.dev20250506.dist-info/licenses}/LICENSE +0 -0
- {trainy_skypilot_nightly-1.0.0.dev20250304.dist-info → trainy_skypilot_nightly-1.0.0.dev20250506.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 = 'a26f0df402e8bb677b7d5ffb5c29bfdebacb1e64'
|
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.dev20250506'
|
39
39
|
__root_dir__ = os.path.dirname(os.path.abspath(__file__))
|
40
40
|
|
41
41
|
|
@@ -1,22 +1,39 @@
|
|
1
|
-
#
|
2
|
-
# We need to split the pod@namespace+context into pod, namespace and context
|
1
|
+
# We need to determine the pod, namespace and context from the args
|
3
2
|
# For backward compatibility, we use + as the separator between namespace and context and add handling when context is not provided
|
4
|
-
|
5
|
-
pod
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
3
|
+
if [ "$1" = "-l" ]; then
|
4
|
+
# -l pod namespace+context ...
|
5
|
+
# used by normal rsync
|
6
|
+
shift
|
7
|
+
pod=$1
|
8
|
+
shift
|
9
|
+
encoded_namespace_context=$1
|
10
|
+
shift
|
11
|
+
echo "pod: $pod" >&2
|
12
|
+
# Revert the encoded namespace+context to the original string.
|
13
|
+
namespace_context=$(echo "$encoded_namespace_context" | sed 's|%40|@|g' | sed 's|%3A|:|g' | sed 's|%2B|+|g' | sed 's|%2F|/|g')
|
14
|
+
echo "namespace_context: $namespace_context" >&2
|
15
|
+
else
|
16
|
+
# pod@namespace+context ...
|
17
|
+
# used by openrsync
|
18
|
+
encoded_pod_namespace_context=$1
|
19
|
+
shift
|
20
|
+
pod_namespace_context=$(echo "$encoded_pod_namespace_context" | sed 's|%40|@|g' | sed 's|%3A|:|g' | sed 's|%2B|+|g' | sed 's|%2F|/|g')
|
21
|
+
echo "pod_namespace_context: $pod_namespace_context" >&2
|
22
|
+
pod=$(echo $pod_namespace_context | cut -d@ -f1)
|
23
|
+
echo "pod: $pod" >&2
|
24
|
+
namespace_context=$(echo $pod_namespace_context | cut -d@ -f2-)
|
25
|
+
echo "namespace_context: $namespace_context" >&2
|
26
|
+
fi
|
12
27
|
namespace=$(echo $namespace_context | cut -d+ -f1)
|
13
28
|
echo "namespace: $namespace" >&2
|
14
29
|
context=$(echo $namespace_context | grep '+' >/dev/null && echo $namespace_context | cut -d+ -f2- || echo "")
|
15
30
|
echo "context: $context" >&2
|
16
31
|
context_lower=$(echo "$context" | tr '[:upper:]' '[:lower:]')
|
17
|
-
|
32
|
+
|
18
33
|
if [ -z "$context" ] || [ "$context_lower" = "none" ]; then
|
19
|
-
|
34
|
+
# If context is none, it means we are using incluster auth. In this case,
|
35
|
+
# use need to set KUBECONFIG to /dev/null to avoid using kubeconfig file.
|
36
|
+
kubectl exec -i $pod -n $namespace --kubeconfig=/dev/null -- "$@"
|
20
37
|
else
|
21
38
|
kubectl exec -i $pod -n $namespace --context=$context -- "$@"
|
22
39
|
fi
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: trainy-skypilot-nightly
|
3
|
-
Version: 1.0.0.
|
3
|
+
Version: 1.0.0.dev20250506
|
4
4
|
Summary: SkyPilot: An intercloud broker for the clouds
|
5
5
|
Author: SkyPilot Team
|
6
6
|
License: Apache 2.0
|
@@ -144,6 +144,7 @@ Dynamic: classifier
|
|
144
144
|
Dynamic: description
|
145
145
|
Dynamic: description-content-type
|
146
146
|
Dynamic: license
|
147
|
+
Dynamic: license-file
|
147
148
|
Dynamic: project-url
|
148
149
|
Dynamic: provides-extra
|
149
150
|
Dynamic: requires-dist
|
@@ -1,4 +1,4 @@
|
|
1
|
-
sky/__init__.py,sha256=
|
1
|
+
sky/__init__.py,sha256=duhy3Flln8zYnn081uzcwk3e0Y7m3vSBJ_d5frS91YM,5882
|
2
2
|
sky/admin_policy.py,sha256=hPo02f_A32gCqhUueF0QYy1fMSSKqRwYEg_9FxScN_s,3248
|
3
3
|
sky/authentication.py,sha256=pAdCT60OxxiXI9KXDyP2lQ9u9vMc6aMtq5Xi2h_hbdw,20984
|
4
4
|
sky/check.py,sha256=D3Y3saIFAYVvPxuBHnVgJEO0fUVDxgjwuMBaO-D778k,9472
|
@@ -273,11 +273,11 @@ sky/utils/kubernetes/generate_kubeconfig.sh,sha256=livvxDKV-_xx8-dYWNyo4wlg3sOld
|
|
273
273
|
sky/utils/kubernetes/gpu_labeler.py,sha256=j9tdIG98nwJ6WJXNhpLUUFcg-6RYe1pNiE_bLvLIB5Q,6999
|
274
274
|
sky/utils/kubernetes/k8s_gpu_labeler_job.yaml,sha256=k0TBoQ4zgf79-sVkixKSGYFHQ7ZWF5gdVIZPupCCo9A,1224
|
275
275
|
sky/utils/kubernetes/k8s_gpu_labeler_setup.yaml,sha256=VLKT2KKimZu1GDg_4AIlIt488oMQvhRZWwsj9vBbPUg,3812
|
276
|
-
sky/utils/kubernetes/rsync_helper.sh,sha256=
|
276
|
+
sky/utils/kubernetes/rsync_helper.sh,sha256=eaQOyvDq_RmcRHBqB9tH6LyDuYC310IVp97C5nqrTQg,1793
|
277
277
|
sky/utils/kubernetes/ssh_jump_lifecycle_manager.py,sha256=RFLJ3k7MR5UN4SKHykQ0lV9SgXumoULpKYIAt1vh-HU,6560
|
278
|
-
trainy_skypilot_nightly-1.0.0.
|
279
|
-
trainy_skypilot_nightly-1.0.0.
|
280
|
-
trainy_skypilot_nightly-1.0.0.
|
281
|
-
trainy_skypilot_nightly-1.0.0.
|
282
|
-
trainy_skypilot_nightly-1.0.0.
|
283
|
-
trainy_skypilot_nightly-1.0.0.
|
278
|
+
trainy_skypilot_nightly-1.0.0.dev20250506.dist-info/licenses/LICENSE,sha256=dNyvHzw3d571Y56fs2ccVBR-4Farv6ynuUXsrkmsa4o,5503
|
279
|
+
trainy_skypilot_nightly-1.0.0.dev20250506.dist-info/METADATA,sha256=aWrwIDk03mftaqwd4yGQKAKzLwsXE2HiEdB2Jqmr6us,21378
|
280
|
+
trainy_skypilot_nightly-1.0.0.dev20250506.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
|
281
|
+
trainy_skypilot_nightly-1.0.0.dev20250506.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
|
282
|
+
trainy_skypilot_nightly-1.0.0.dev20250506.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
|
283
|
+
trainy_skypilot_nightly-1.0.0.dev20250506.dist-info/RECORD,,
|
File without changes
|
File without changes
|