modal 0.73.153__py3-none-any.whl → 0.73.154__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.
modal/client.py CHANGED
@@ -2,6 +2,7 @@
2
2
  import asyncio
3
3
  import os
4
4
  import platform
5
+ import sys
5
6
  import warnings
6
7
  from collections.abc import AsyncGenerator, AsyncIterator, Collection, Mapping
7
8
  from typing import (
@@ -42,10 +43,13 @@ def _get_metadata(client_type: int, credentials: Optional[tuple[str, str]], vers
42
43
  system, release = uname.system, uname.release
43
44
  platform_str = "-".join(s.replace("-", "_") for s in (system, release, uname.machine))
44
45
 
46
+ # sys.version_info is structured unlike sys.version or platform.python_version()
47
+ python_version = "%d.%d.%d" % (sys.version_info.major, sys.version_info.minor, sys.version_info.micro)
48
+
45
49
  metadata = {
46
50
  "x-modal-client-version": version,
47
51
  "x-modal-client-type": str(client_type),
48
- "x-modal-python-version": platform.python_version(),
52
+ "x-modal-python-version": python_version,
49
53
  "x-modal-node": platform.node(),
50
54
  "x-modal-platform": platform_str,
51
55
  }
modal/client.pyi CHANGED
@@ -31,7 +31,7 @@ class _Client:
31
31
  server_url: str,
32
32
  client_type: int,
33
33
  credentials: typing.Optional[tuple[str, str]],
34
- version: str = "0.73.153",
34
+ version: str = "0.73.154",
35
35
  ): ...
36
36
  def is_closed(self) -> bool: ...
37
37
  @property
@@ -93,7 +93,7 @@ class Client:
93
93
  server_url: str,
94
94
  client_type: int,
95
95
  credentials: typing.Optional[tuple[str, str]],
96
- version: str = "0.73.153",
96
+ version: str = "0.73.154",
97
97
  ): ...
98
98
  def is_closed(self) -> bool: ...
99
99
  @property
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: modal
3
- Version: 0.73.153
3
+ Version: 0.73.154
4
4
  Summary: Python client library for Modal
5
5
  Author-email: Modal Labs <support@modal.com>
6
6
  License: Apache-2.0
@@ -22,8 +22,8 @@ modal/_watcher.py,sha256=K6LYnlmSGQB4tWWI9JADv-tvSvQ1j522FwT71B51CX8,3584
22
22
  modal/app.py,sha256=w00bV9cjABAsS2ExE7zb1jY6Q_snXYmdKa3xRFg8iXA,47428
23
23
  modal/app.pyi,sha256=pUEqciyGZ446sc_QoG8XcQ_oc6oU-U4dqjkxjhgOX98,26968
24
24
  modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
25
- modal/client.py,sha256=j9D3hNis1lfhnz9lVFGgJgowbH3PaGUzNKgHPWYG778,15372
26
- modal/client.pyi,sha256=Dczs34fQ26c7FfvYNIh-J2tJ_dRr8cU9mXxdAaRi01o,7661
25
+ modal/client.py,sha256=U-YKSw0n7J1ZLREt9cbEJCtmHe5YoPKFxl0xlkan2yc,15565
26
+ modal/client.pyi,sha256=D8xS7ewMyVVAjdr638fGCCH6RyrkelfCbvOxD5Jniyk,7661
27
27
  modal/cloud_bucket_mount.py,sha256=YOe9nnvSr4ZbeCn587d7_VhE9IioZYRvF9VYQTQux08,5914
28
28
  modal/cloud_bucket_mount.pyi,sha256=30T3K1a89l6wzmEJ_J9iWv9SknoGqaZDx59Xs-ZQcmk,1607
29
29
  modal/cls.py,sha256=OE6lPrKmaZDvyctfmZ__nCIw-b7AWxSmoOHMqlrrI7A,32723
@@ -170,10 +170,10 @@ modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0y
170
170
  modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
171
171
  modal_version/__init__.py,sha256=wiJQ53c-OMs0Xf1UeXOxQ7FwlV1VzIjnX6o-pRYZ_Pk,470
172
172
  modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
173
- modal_version/_version_generated.py,sha256=El1Nrty7LSIKoXovG4pHQwKL4a4U5umDs4yoT54TZtw,150
174
- modal-0.73.153.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
175
- modal-0.73.153.dist-info/METADATA,sha256=0BMwSBRB84YZKMzvZBRnZLKRB5Jm8uMBWISLM5Zxgb8,2453
176
- modal-0.73.153.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
177
- modal-0.73.153.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
178
- modal-0.73.153.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
179
- modal-0.73.153.dist-info/RECORD,,
173
+ modal_version/_version_generated.py,sha256=MPFgj7rq4_hedH0XbHOMLAe6Gl0Wh_XWvTJonI3R2LU,150
174
+ modal-0.73.154.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
175
+ modal-0.73.154.dist-info/METADATA,sha256=zfO3tSl_CYhT_li_QheQWaCs3kcO4kyOCbCloXSs_V0,2453
176
+ modal-0.73.154.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
177
+ modal-0.73.154.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
178
+ modal-0.73.154.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
179
+ modal-0.73.154.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  # Copyright Modal Labs 2025
2
2
 
3
3
  # Note: Reset this value to -1 whenever you make a minor `0.X` release of the client.
4
- build_number = 153 # git: 82e1ba5
4
+ build_number = 154 # git: 825cc3b