trainy-skypilot-nightly 1.0.0.dev20250304__py3-none-any.whl → 1.0.0.dev20250505__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 = 'f3ab8104285c417588763587fad23a587b82c2dc'
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.dev20250304'
38
+ __version__ = '1.0.0.dev20250505'
39
39
  __root_dir__ = os.path.dirname(os.path.abspath(__file__))
40
40
 
41
41
 
@@ -1,22 +1,39 @@
1
- # When using pod@namespace+context, rsync passes args as: {us} -l pod namespace+context
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
- shift
5
- pod=$1
6
- shift
7
- echo "pod: $pod" >&2
8
- encoded_namespace_context=$1
9
- # Revert the encoded namespace+context to the original string.
10
- namespace_context=$(echo "$encoded_namespace_context" | sed 's|%40|@|g' | sed 's|%3A|:|g' | sed 's|%2B|+|g' | sed 's|%2F|/|g')
11
- echo "namespace_context: $namespace_context" >&2
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
- shift
32
+
18
33
  if [ -z "$context" ] || [ "$context_lower" = "none" ]; then
19
- kubectl exec -i $pod -n $namespace -- "$@"
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.2
1
+ Metadata-Version: 2.4
2
2
  Name: trainy-skypilot-nightly
3
- Version: 1.0.0.dev20250304
3
+ Version: 1.0.0.dev20250505
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=NPfMigO2IyBNbrZAHfVW45rzH6pAOXVUkUZ_bSn9YS0,5882
1
+ sky/__init__.py,sha256=kknMaQaVfRTQ4DWVSsr0DSoSkJbbZ8nXDD5Vr9XAqiw,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=hyYDaYSNxYaNvzUQBzC8AidB7nDeojizjkzc_CTxycY,1077
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.dev20250304.dist-info/LICENSE,sha256=dNyvHzw3d571Y56fs2ccVBR-4Farv6ynuUXsrkmsa4o,5503
279
- trainy_skypilot_nightly-1.0.0.dev20250304.dist-info/METADATA,sha256=pY1cyWbmZcoH5IckM1gFyUC08FrEtd5PU98vCN7wLLk,21356
280
- trainy_skypilot_nightly-1.0.0.dev20250304.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
281
- trainy_skypilot_nightly-1.0.0.dev20250304.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
282
- trainy_skypilot_nightly-1.0.0.dev20250304.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
283
- trainy_skypilot_nightly-1.0.0.dev20250304.dist-info/RECORD,,
278
+ trainy_skypilot_nightly-1.0.0.dev20250505.dist-info/licenses/LICENSE,sha256=dNyvHzw3d571Y56fs2ccVBR-4Farv6ynuUXsrkmsa4o,5503
279
+ trainy_skypilot_nightly-1.0.0.dev20250505.dist-info/METADATA,sha256=HCe4JCaJaP1gRBoT8AFCTnSeWmH7b8tnOVCgT2XIAFw,21378
280
+ trainy_skypilot_nightly-1.0.0.dev20250505.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
281
+ trainy_skypilot_nightly-1.0.0.dev20250505.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
282
+ trainy_skypilot_nightly-1.0.0.dev20250505.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
283
+ trainy_skypilot_nightly-1.0.0.dev20250505.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.2)
2
+ Generator: setuptools (80.3.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5