truss 0.11.10rc500__py3-none-any.whl → 0.11.10rc502__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.

Potentially problematic release.


This version of truss might be problematic. Click here for more details.

@@ -26,7 +26,9 @@ ENV HOME=${HOME:-/root}
26
26
  ENV APP_HOME=/{{ app_username }}
27
27
  RUN mkdir -p ${APP_HOME} {{ control_server_dir }}
28
28
  {# Create a non-root user to run model containers. #}
29
- RUN useradd -u {{ app_user_uid }} -ms /bin/bash {{ app_username }}
29
+ RUN ( which useradd >/dev/null 2>&1 && useradd -u {{ app_user_uid }} -ms /bin/bash {{ app_username }} ) || \
30
+ ( which adduser >/dev/null 2>&1 && adduser -u {{ app_user_uid }} -s /bin/sh -D {{ app_username }} ) || \
31
+ { echo "ERROR: Could not create non-root user"; exit 1; }
30
32
  {% endblock %} {#- endblock user_setup #}
31
33
 
32
34
  {#- at the very beginning, set non-interactive mode for apt #}
@@ -48,7 +50,7 @@ NB(nikhil): We use a semi-complex uv installation command across the board:
48
50
  %}
49
51
 
50
52
  {% block fail_fast %}
51
- RUN grep -w 'ID=debian\|ID_LIKE=debian' /etc/os-release || { echo "ERROR: Supplied base image is not a debian image"; exit 1; }
53
+ # RUN grep -w 'ID=debian\|ID_LIKE=debian' /etc/os-release || { echo "ERROR: Supplied base image is not a debian image"; exit 1; }
52
54
  RUN {{ python_exec_path }} -c "import sys; \
53
55
  sys.exit(0) \
54
56
  if sys.version_info.major == {{ supported_python_major_version_in_custom_base_image }} \
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: truss
3
- Version: 0.11.10rc500
3
+ Version: 0.11.10rc502
4
4
  Summary: A seamless bridge from model development to model delivery
5
5
  Project-URL: Repository, https://github.com/basetenlabs/truss
6
6
  Project-URL: Homepage, https://truss.baseten.co
@@ -66,7 +66,7 @@ truss/remote/baseten/utils/time.py,sha256=Ry9GMjYnbIGYVIGwtmv4V8ljWjvdcaCf5NOQzl
66
66
  truss/remote/baseten/utils/transfer.py,sha256=d3VptuQb6M1nyS6kz0BAfeOYDLkMKUjatJXpY-mp-As,1548
67
67
  truss/templates/README.md.jinja,sha256=N7CJdyldZuJamj5jLh47le0hFBdu9irVsTBqoxhPNPQ,2476
68
68
  truss/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
69
- truss/templates/base.Dockerfile.jinja,sha256=DgvNqmkt5QRrqy7a9hw6HffmVTUrdGl06oVZ4eeha5Y,5253
69
+ truss/templates/base.Dockerfile.jinja,sha256=eMoS2MhjN0a8NVc7Ryd_wtWQN8orK4BnSCOE7znt_Vg,5468
70
70
  truss/templates/cache.Dockerfile.jinja,sha256=1qZqDo1phrcqi-Vwol-VafYJkADsBbQWU6huQ-_1x00,1146
71
71
  truss/templates/cache_requirements.txt,sha256=xoPoJ-OVnf1z6oq_RVM3vCr3ionByyqMLj7wGs61nUs,87
72
72
  truss/templates/copy_cache_files.Dockerfile.jinja,sha256=Os5zFdYLZ_AfCRGq4RcpVTObOTwL7zvmwYcvOzd_Zqo,126
@@ -370,8 +370,8 @@ truss_train/deployment.py,sha256=lWWANSuzBWu2M4oK4qD7n-oVR1JKdmw2Pn5BJQHg-Ck,307
370
370
  truss_train/loader.py,sha256=0o66EjBaHc2YY4syxxHVR4ordJWs13lNXnKjKq2wq0U,1630
371
371
  truss_train/public_api.py,sha256=9N_NstiUlmBuLUwH_fNG_1x7OhGCytZLNvqKXBlStrM,1220
372
372
  truss_train/restore_from_checkpoint.py,sha256=8hdPm-WSgkt74HDPjvCjZMBpvA9MwtoYsxVjOoa7BaM,1176
373
- truss-0.11.10rc500.dist-info/METADATA,sha256=r5CBFbt58s_-RKflr6vpSPiGBxKyP_SsEllzlh3d5oQ,6683
374
- truss-0.11.10rc500.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
375
- truss-0.11.10rc500.dist-info/entry_points.txt,sha256=-MwKfHHQHQ6j0HqIgvxrz3CehCmczDLTD-OsRHnjjuU,130
376
- truss-0.11.10rc500.dist-info/licenses/LICENSE,sha256=FTqGzu85i-uw1Gi8E_o0oD60bH9yQ_XIGtZbA1QUYiw,1064
377
- truss-0.11.10rc500.dist-info/RECORD,,
373
+ truss-0.11.10rc502.dist-info/METADATA,sha256=tT2RajB0xnuR0i2mo3WCyx2Gj25l9UJ1aMtPuvqOTQk,6683
374
+ truss-0.11.10rc502.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
375
+ truss-0.11.10rc502.dist-info/entry_points.txt,sha256=-MwKfHHQHQ6j0HqIgvxrz3CehCmczDLTD-OsRHnjjuU,130
376
+ truss-0.11.10rc502.dist-info/licenses/LICENSE,sha256=FTqGzu85i-uw1Gi8E_o0oD60bH9yQ_XIGtZbA1QUYiw,1064
377
+ truss-0.11.10rc502.dist-info/RECORD,,