chutes 0.5.4rc4__py3-none-any.whl → 0.5.4rc6__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.
chutes/_version.py CHANGED
@@ -1 +1 @@
1
- version = "0.5.4.rc4"
1
+ version = "0.5.4.rc6"
chutes/entrypoint/run.py CHANGED
@@ -1111,7 +1111,7 @@ def run_chute(
1111
1111
  # Clean up any bytecode not found in the original image. Probably mainly
1112
1112
  # irrelevant since we disable precompiled bytecode use anyways, but worth
1113
1113
  # as a sanity check/safeguard.
1114
- if not dev:
1114
+ if not (dev or generate_inspecto_hash):
1115
1115
  logger.info("Running bytecode cleanup...")
1116
1116
  try:
1117
1117
  from chutes.cfsv_wrapper import get_cfsv
@@ -1125,16 +1125,6 @@ def run_chute(
1125
1125
  logger.error(f"Bytecode cleanup error: {e}")
1126
1126
  sys.exit(137)
1127
1127
 
1128
- # Prevent the bytecode use from here onwards.
1129
- sys.dont_write_bytecode = True
1130
- os.environ["PYTHONDONTWRITEBYTECODE"] = "1"
1131
-
1132
- # And other sneaky tampering methods.
1133
- os.environ["PYTHONNOUSERSITE"] = "1"
1134
- if "PYTHONSTARTUP" in os.environ:
1135
- logger.warning(f"Clearing PYTHONSTARTUP: {os.environ['PYTHONSTARTUP']}")
1136
- del os.environ["PYTHONSTARTUP"]
1137
-
1138
1128
  # Generate inspecto hash.
1139
1129
  token = get_launch_token()
1140
1130
  token_data = get_launch_token_data()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: chutes
3
- Version: 0.5.4rc4
3
+ Version: 0.5.4rc6
4
4
  Summary: Chutes development kit and CLI.
5
5
  Home-page: https://github.com/rayonlabs/chutes
6
6
  Author: Jon Durbin
@@ -1,5 +1,5 @@
1
1
  chutes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- chutes/_version.py,sha256=05rWD7nUaIAp3kDlUr7zFQ8ROUDyGju83VrVzSxEX9o,22
2
+ chutes/_version.py,sha256=Syy8akTrTSIoceVj9p9q__pYXXN2WkTUSeC85S7PagA,22
3
3
  chutes/cfsv,sha256=vkR_q3qB0hkD8Knv8rqqrb4A29y1muHW2-eNYZiuI-g,892932
4
4
  chutes/cfsv_v2,sha256=fa8-WFqaNeD-BXcCayUjCvR0NNizcc6Ewd6vNmFjPc0,893296
5
5
  chutes/cfsv_v3,sha256=Z4jPya0qXhWNX1zBk-Nay0yjJoDlLXfmAd9NxDGQOAs,1200396
@@ -37,7 +37,7 @@ chutes/entrypoint/logger.py,sha256=MGfKmxni_4daAwFWb7JcSBDXTpmBJE8guACz2uYY6fE,9
37
37
  chutes/entrypoint/login.py,sha256=9d_MzS3ZQ884d4NAc8JGwvyNR6SaUazrpseOTAIhWNU,6076
38
38
  chutes/entrypoint/register.py,sha256=jHwZphEZCLpF4BRXT7iaieBZOvmpByCz25UQd804Kp0,9080
39
39
  chutes/entrypoint/report.py,sha256=-AeUFF8DFoaL14C8lAfVqd97aDH7fLDCzxZo-COYINg,1949
40
- chutes/entrypoint/run.py,sha256=ClulYQ2LpUNrGgtkitLM0siUgWpq2bwbqPKtJXRq_W4,61760
40
+ chutes/entrypoint/run.py,sha256=hefbPtQyCun5d9OTkUll5HdDwqNLUPOBVYb1oe8XgsI,61379
41
41
  chutes/entrypoint/secret.py,sha256=_mtBXm_YL-nDg9XWmg2S4gGU_OdNBub_zb6jpLV7458,1581
42
42
  chutes/entrypoint/share.py,sha256=_1yIdIMwK5khxNZ8WApTRXx1htMi_dg1_VV7j1IVUjs,1532
43
43
  chutes/entrypoint/ssh.py,sha256=ryBRL_-bREyYpV_cZAhhZBFyIgvdWsNIIRwnM_sX41g,2285
@@ -73,9 +73,9 @@ chutes/util/context.py,sha256=_dHVEM6S6CYwgaxrA0yZCplSDA2HuiyNOmedSsyiDWA,355
73
73
  chutes/util/hf.py,sha256=oEw0Z8pWDd_KUZhefF6iLE_5Ikig2AydrPSd6I1lEBM,14262
74
74
  chutes/util/schema.py,sha256=b0NX-hWhc0FKnWD6FObBmQxINrJDFNocKsbGJn79D-8,6699
75
75
  chutes/util/user.py,sha256=WBx6vyw0P32wJ2GFYMjO5oQJPA3jn_XsyRglNJx0PhY,423
76
- chutes-0.5.4rc4.dist-info/LICENSE,sha256=9qFhoY0O1XdKOczAAc7vcveZzk32-a0Wq2_diH_hAD8,1067
77
- chutes-0.5.4rc4.dist-info/METADATA,sha256=MfgGbpX5EgEYyxFscM5E3HgSpzQQQuAVdsdh5FhYbyo,18789
78
- chutes-0.5.4rc4.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
79
- chutes-0.5.4rc4.dist-info/entry_points.txt,sha256=93PU_dKxEGA1hCGaabvRXO9WpyFgon6eqT4wIN91YAU,42
80
- chutes-0.5.4rc4.dist-info/top_level.txt,sha256=oRxU-Kvd5BhaNbBQtqZCp9uzY0FrMBocoL0Q6kokxzA,7
81
- chutes-0.5.4rc4.dist-info/RECORD,,
76
+ chutes-0.5.4rc6.dist-info/LICENSE,sha256=9qFhoY0O1XdKOczAAc7vcveZzk32-a0Wq2_diH_hAD8,1067
77
+ chutes-0.5.4rc6.dist-info/METADATA,sha256=dvI8MoLFPpcLBrvoXdPBfYYsKKiLKTYWhWhDo3tAvGw,18789
78
+ chutes-0.5.4rc6.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
79
+ chutes-0.5.4rc6.dist-info/entry_points.txt,sha256=93PU_dKxEGA1hCGaabvRXO9WpyFgon6eqT4wIN91YAU,42
80
+ chutes-0.5.4rc6.dist-info/top_level.txt,sha256=oRxU-Kvd5BhaNbBQtqZCp9uzY0FrMBocoL0Q6kokxzA,7
81
+ chutes-0.5.4rc6.dist-info/RECORD,,