modal 1.0.3.dev21__py3-none-any.whl → 1.0.3.dev24__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.pyi +2 -2
- modal/experimental/__init__.py +6 -4
- modal/mount.py +6 -2
- modal/mount.pyi +9 -3
- {modal-1.0.3.dev21.dist-info → modal-1.0.3.dev24.dist-info}/METADATA +1 -1
- {modal-1.0.3.dev21.dist-info → modal-1.0.3.dev24.dist-info}/RECORD +11 -11
- modal_version/__init__.py +1 -1
- {modal-1.0.3.dev21.dist-info → modal-1.0.3.dev24.dist-info}/WHEEL +0 -0
- {modal-1.0.3.dev21.dist-info → modal-1.0.3.dev24.dist-info}/entry_points.txt +0 -0
- {modal-1.0.3.dev21.dist-info → modal-1.0.3.dev24.dist-info}/licenses/LICENSE +0 -0
- {modal-1.0.3.dev21.dist-info → modal-1.0.3.dev24.dist-info}/top_level.txt +0 -0
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 = "1.0.3.
|
34
|
+
version: str = "1.0.3.dev24",
|
35
35
|
): ...
|
36
36
|
def is_closed(self) -> bool: ...
|
37
37
|
@property
|
@@ -94,7 +94,7 @@ class Client:
|
|
94
94
|
server_url: str,
|
95
95
|
client_type: int,
|
96
96
|
credentials: typing.Optional[tuple[str, str]],
|
97
|
-
version: str = "1.0.3.
|
97
|
+
version: str = "1.0.3.dev24",
|
98
98
|
): ...
|
99
99
|
def is_closed(self) -> bool: ...
|
100
100
|
@property
|
modal/experimental/__init__.py
CHANGED
@@ -94,8 +94,9 @@ async def raw_dockerfile_image(
|
|
94
94
|
|
95
95
|
Unlike for `modal.Image.from_dockerfile`, the provided recipe will not be embellished with
|
96
96
|
steps to install dependencies for the Modal client package. As a consequence, the resulting
|
97
|
-
Image cannot be used with a modal Function unless those dependencies are
|
98
|
-
|
97
|
+
Image cannot be used with a modal Function unless those dependencies are already included
|
98
|
+
as part of the base Dockerfile recipe or are added in a subsequent layer. The Image _can_ be
|
99
|
+
directly used with a modal Sandbox, which does not need the Modal client.
|
99
100
|
|
100
101
|
We expect to support this experimental function until the `2025.04` Modal Image Builder is
|
101
102
|
stable, at which point Modal Image recipes will no longer install the client dependencies
|
@@ -127,8 +128,9 @@ async def raw_registry_image(
|
|
127
128
|
|
128
129
|
Unlike for `modal.Image.from_registry`, the provided recipe will not be embellished with
|
129
130
|
steps to install dependencies for the Modal client package. As a consequence, the resulting
|
130
|
-
Image cannot be used with a modal Function unless those dependencies are
|
131
|
-
|
131
|
+
Image cannot be used with a modal Function unless those dependencies are already included
|
132
|
+
as part of the registry Image or are added in a subsequent layer. The Image _can_ be
|
133
|
+
directly used with a modal Sandbox, which does not need the Modal client.
|
132
134
|
|
133
135
|
We expect to support this experimental function until the `2025.04` Modal Image Builder is
|
134
136
|
stable, at which point Modal Image recipes will no longer install the client dependencies
|
modal/mount.py
CHANGED
@@ -900,9 +900,13 @@ async def _create_single_mount(
|
|
900
900
|
print(f"✅ Deployed mount {mount_name} to global namespace.")
|
901
901
|
|
902
902
|
|
903
|
-
async def _create_client_dependency_mounts(
|
903
|
+
async def _create_client_dependency_mounts(
|
904
|
+
client=None,
|
905
|
+
check_if_exists=True,
|
906
|
+
python_versions: list[str] = list(PYTHON_STANDALONE_VERSIONS),
|
907
|
+
):
|
904
908
|
coros = []
|
905
|
-
for python_version in
|
909
|
+
for python_version in python_versions:
|
906
910
|
# glibc >= 2.17
|
907
911
|
coros.append(
|
908
912
|
_create_single_mount(
|
modal/mount.pyi
CHANGED
@@ -317,11 +317,17 @@ async def _create_single_mount(
|
|
317
317
|
uv_python_platform: str = None,
|
318
318
|
check_if_exists: bool = True,
|
319
319
|
): ...
|
320
|
-
async def _create_client_dependency_mounts(
|
320
|
+
async def _create_client_dependency_mounts(
|
321
|
+
client=None, check_if_exists=True, python_versions: list[str] = ["3.9", "3.10", "3.11", "3.12", "3.13"]
|
322
|
+
): ...
|
321
323
|
|
322
324
|
class __create_client_dependency_mounts_spec(typing_extensions.Protocol):
|
323
|
-
def __call__(
|
324
|
-
|
325
|
+
def __call__(
|
326
|
+
self, /, client=None, check_if_exists=True, python_versions: list[str] = ["3.9", "3.10", "3.11", "3.12", "3.13"]
|
327
|
+
): ...
|
328
|
+
async def aio(
|
329
|
+
self, /, client=None, check_if_exists=True, python_versions: list[str] = ["3.9", "3.10", "3.11", "3.12", "3.13"]
|
330
|
+
): ...
|
325
331
|
|
326
332
|
create_client_dependency_mounts: __create_client_dependency_mounts_spec
|
327
333
|
|
@@ -22,7 +22,7 @@ modal/app.py,sha256=NZ_rJ9TuMfiNiLg8-gOFgufD5flGtXWPHOZI0gdD3hE,46585
|
|
22
22
|
modal/app.pyi,sha256=4-b_vbe3lNAqQPcMRpQCEDsE1zsVkQRJGUql9B7HvbM,22659
|
23
23
|
modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
|
24
24
|
modal/client.py,sha256=OwISJvkgMb-rHm9Gc4i-7YcDgGiZgwJ7F_PzwZH7a6Q,16847
|
25
|
-
modal/client.pyi,sha256=
|
25
|
+
modal/client.pyi,sha256=43v25eJLQ_Z9I34eUX--3bAkw88bBRuiy-Y9jFxZMSY,8459
|
26
26
|
modal/cloud_bucket_mount.py,sha256=YOe9nnvSr4ZbeCn587d7_VhE9IioZYRvF9VYQTQux08,5914
|
27
27
|
modal/cloud_bucket_mount.pyi,sha256=30T3K1a89l6wzmEJ_J9iWv9SknoGqaZDx59Xs-ZQcmk,1607
|
28
28
|
modal/cls.py,sha256=dBbeARwOWftlKd1cwtM0cHFtQWSWkwVXwVmOV4w0SyI,37907
|
@@ -45,8 +45,8 @@ modal/image.py,sha256=yrI9DCw7GAck3d788GCHJom-_yU55zNu7reNapBhlgE,93284
|
|
45
45
|
modal/image.pyi,sha256=2xjB6XOZDtm_chDdd90UoIj8pnDt5hCg6bOmu5fNaA4,25625
|
46
46
|
modal/io_streams.py,sha256=YDZVQSDv05DeXg5TwcucC9Rj5hQBx2GXdluan9rIUpw,15467
|
47
47
|
modal/io_streams.pyi,sha256=1UK6kWLREASQfq-wL9wSp5iqjLU0egRZPDn4LXs1PZY,5136
|
48
|
-
modal/mount.py,sha256=
|
49
|
-
modal/mount.pyi,sha256=
|
48
|
+
modal/mount.py,sha256=HbSN-45SWLB7MvIeGcBDKa5nP0Z3wFyKIRX-B37Epw4,34637
|
49
|
+
modal/mount.pyi,sha256=h4yzzppRKvD3JuTTjm9hE2Ye_aUKueTV09F5I_Regjg,13364
|
50
50
|
modal/network_file_system.py,sha256=lgtmHYjzA5gDMx0tysH0-WJB2Ao9JD2W15NyYK2A7_w,14612
|
51
51
|
modal/network_file_system.pyi,sha256=58DiUqHGlARmI3cz-Yo7IFObKKFIiGh5UIU5JxGNFfc,8333
|
52
52
|
modal/object.py,sha256=bTeskuY8JFrESjU4_UL_nTwYlBQdOLmVaOX3X6EMxsg,164
|
@@ -138,7 +138,7 @@ modal/cli/volume.py,sha256=h0Lk4CWe37L8X1kOpCj_KXfGGCEZf799fkX6Tbd6BPg,10734
|
|
138
138
|
modal/cli/programs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
|
139
139
|
modal/cli/programs/run_jupyter.py,sha256=44Lpvqk2l3hH-uOkmAOzw60NEsfB5uaRDWDKVshvQhs,2682
|
140
140
|
modal/cli/programs/vscode.py,sha256=KbTAaIXyQBVCDXxXjmBHmKpgXkUw0q4R4KkJvUjCYgk,3380
|
141
|
-
modal/experimental/__init__.py,sha256=
|
141
|
+
modal/experimental/__init__.py,sha256=qO5CqJNSIqSRD5WaoN8l1D-qZ7HRSrGzg85BH6hroiI,8410
|
142
142
|
modal/experimental/ipython.py,sha256=epLUZeDSdE226TH_tU3igRKCiVuQi99mUOrIJ4SemOE,2792
|
143
143
|
modal/requirements/2023.12.312.txt,sha256=zWWUVgVQ92GXBKNYYr2-5vn9rlnXcmkqlwlX5u1eTYw,400
|
144
144
|
modal/requirements/2023.12.txt,sha256=OjsbXFkCSdkzzryZP82Q73osr5wxQ6EUzmGcK7twfkA,502
|
@@ -147,7 +147,7 @@ modal/requirements/2024.10.txt,sha256=qD-5cVIVM9wXesJ6JC89Ew-3m2KjEElUz3jaw_MddR
|
|
147
147
|
modal/requirements/PREVIEW.txt,sha256=qD-5cVIVM9wXesJ6JC89Ew-3m2KjEElUz3jaw_MddRo,296
|
148
148
|
modal/requirements/README.md,sha256=9tK76KP0Uph7O0M5oUgsSwEZDj5y-dcUPsnpR0Sc-Ik,854
|
149
149
|
modal/requirements/base-images.json,sha256=57vMSqzMbLBxw5tFWSaMiIkkVEps4JfX5PAtXGnkS4U,740
|
150
|
-
modal-1.0.3.
|
150
|
+
modal-1.0.3.dev24.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
151
151
|
modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
|
152
152
|
modal_docs/gen_cli_docs.py,sha256=c1yfBS_x--gL5bs0N4ihMwqwX8l3IBWSkBAKNNIi6bQ,3801
|
153
153
|
modal_docs/gen_reference_docs.py,sha256=d_CQUGQ0rfw28u75I2mov9AlS773z9rG40-yq5o7g2U,6359
|
@@ -170,10 +170,10 @@ modal_proto/options_pb2.pyi,sha256=l7DBrbLO7q3Ir-XDkWsajm0d0TQqqrfuX54i4BMpdQg,1
|
|
170
170
|
modal_proto/options_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
171
171
|
modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0yJSI,247
|
172
172
|
modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
173
|
-
modal_version/__init__.py,sha256=
|
173
|
+
modal_version/__init__.py,sha256=LglP0cU1I6VAn0uI9VPGDXvhz2h45TCqu4ebPFoUM_s,121
|
174
174
|
modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
|
175
|
-
modal-1.0.3.
|
176
|
-
modal-1.0.3.
|
177
|
-
modal-1.0.3.
|
178
|
-
modal-1.0.3.
|
179
|
-
modal-1.0.3.
|
175
|
+
modal-1.0.3.dev24.dist-info/METADATA,sha256=dPiMg28XeMsI9ozHMRgkuxbMg02Bblt0Vukjq58ddyM,2455
|
176
|
+
modal-1.0.3.dev24.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
177
|
+
modal-1.0.3.dev24.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
|
178
|
+
modal-1.0.3.dev24.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
|
179
|
+
modal-1.0.3.dev24.dist-info/RECORD,,
|
modal_version/__init__.py
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|