modal 1.1.4.dev12__py3-none-any.whl → 1.1.4.dev14__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/builder/2025.06.txt +1 -0
- modal/client.pyi +2 -2
- modal/mount.py +17 -11
- modal/mount.pyi +4 -0
- {modal-1.1.4.dev12.dist-info → modal-1.1.4.dev14.dist-info}/METADATA +1 -1
- {modal-1.1.4.dev12.dist-info → modal-1.1.4.dev14.dist-info}/RECORD +11 -11
- modal_version/__init__.py +1 -1
- {modal-1.1.4.dev12.dist-info → modal-1.1.4.dev14.dist-info}/WHEEL +0 -0
- {modal-1.1.4.dev12.dist-info → modal-1.1.4.dev14.dist-info}/entry_points.txt +0 -0
- {modal-1.1.4.dev12.dist-info → modal-1.1.4.dev14.dist-info}/licenses/LICENSE +0 -0
- {modal-1.1.4.dev12.dist-info → modal-1.1.4.dev14.dist-info}/top_level.txt +0 -0
modal/builder/2025.06.txt
CHANGED
modal/client.pyi
CHANGED
@@ -33,7 +33,7 @@ class _Client:
|
|
33
33
|
server_url: str,
|
34
34
|
client_type: int,
|
35
35
|
credentials: typing.Optional[tuple[str, str]],
|
36
|
-
version: str = "1.1.4.
|
36
|
+
version: str = "1.1.4.dev14",
|
37
37
|
):
|
38
38
|
"""mdmd:hidden
|
39
39
|
The Modal client object is not intended to be instantiated directly by users.
|
@@ -164,7 +164,7 @@ class Client:
|
|
164
164
|
server_url: str,
|
165
165
|
client_type: int,
|
166
166
|
credentials: typing.Optional[tuple[str, str]],
|
167
|
-
version: str = "1.1.4.
|
167
|
+
version: str = "1.1.4.dev14",
|
168
168
|
):
|
169
169
|
"""mdmd:hidden
|
170
170
|
The Modal client object is not intended to be instantiated directly by users.
|
modal/mount.py
CHANGED
@@ -866,6 +866,7 @@ async def _create_single_client_dependency_mount(
|
|
866
866
|
uv_python_platform: str,
|
867
867
|
check_if_exists: bool = True,
|
868
868
|
allow_overwrite: bool = False,
|
869
|
+
dry_run: bool = False,
|
869
870
|
):
|
870
871
|
import tempfile
|
871
872
|
|
@@ -930,17 +931,20 @@ async def _create_single_client_dependency_mount(
|
|
930
931
|
remote_path=REMOTE_SITECUSTOMIZE_PATH,
|
931
932
|
)
|
932
933
|
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
934
|
+
if not dry_run:
|
935
|
+
try:
|
936
|
+
await python_mount._deploy.aio(
|
937
|
+
mount_name,
|
938
|
+
api_pb2.DEPLOYMENT_NAMESPACE_GLOBAL,
|
939
|
+
environment_name=profile_environment,
|
940
|
+
allow_overwrite=allow_overwrite,
|
941
|
+
client=client,
|
942
|
+
)
|
943
|
+
print(f"✅ Deployed mount {mount_name} to global namespace.")
|
944
|
+
except GRPCError as e:
|
945
|
+
print(f"⚠️ Mount creation failed with {e.status}: {e.message}")
|
946
|
+
else:
|
947
|
+
print(f"Dry run - skipping deployment of mount {mount_name}")
|
944
948
|
|
945
949
|
|
946
950
|
async def _create_client_dependency_mounts(
|
@@ -948,6 +952,7 @@ async def _create_client_dependency_mounts(
|
|
948
952
|
python_versions: list[str] = list(PYTHON_STANDALONE_VERSIONS),
|
949
953
|
builder_versions: list[str] = ["2025.06"], # Reenable "PREVIEW" during testing
|
950
954
|
check_if_exists=True,
|
955
|
+
dry_run=False,
|
951
956
|
):
|
952
957
|
arch = "x86_64"
|
953
958
|
platform_tags = [
|
@@ -971,6 +976,7 @@ async def _create_client_dependency_mounts(
|
|
971
976
|
# in theory we may need to do at some point (hopefully not, but...)
|
972
977
|
check_if_exists=check_if_exists and builder_version != "PREVIEW",
|
973
978
|
allow_overwrite=builder_version == "PREVIEW",
|
979
|
+
dry_run=dry_run,
|
974
980
|
)
|
975
981
|
)
|
976
982
|
await TaskContext.gather(*coros)
|
modal/mount.pyi
CHANGED
@@ -568,12 +568,14 @@ async def _create_single_client_dependency_mount(
|
|
568
568
|
uv_python_platform: str,
|
569
569
|
check_if_exists: bool = True,
|
570
570
|
allow_overwrite: bool = False,
|
571
|
+
dry_run: bool = False,
|
571
572
|
): ...
|
572
573
|
async def _create_client_dependency_mounts(
|
573
574
|
client=None,
|
574
575
|
python_versions: list[str] = ["3.9", "3.10", "3.11", "3.12", "3.13"],
|
575
576
|
builder_versions: list[str] = ["2025.06"],
|
576
577
|
check_if_exists=True,
|
578
|
+
dry_run=False,
|
577
579
|
): ...
|
578
580
|
|
579
581
|
class __create_client_dependency_mounts_spec(typing_extensions.Protocol):
|
@@ -584,6 +586,7 @@ class __create_client_dependency_mounts_spec(typing_extensions.Protocol):
|
|
584
586
|
python_versions: list[str] = ["3.9", "3.10", "3.11", "3.12", "3.13"],
|
585
587
|
builder_versions: list[str] = ["2025.06"],
|
586
588
|
check_if_exists=True,
|
589
|
+
dry_run=False,
|
587
590
|
): ...
|
588
591
|
async def aio(
|
589
592
|
self,
|
@@ -592,6 +595,7 @@ class __create_client_dependency_mounts_spec(typing_extensions.Protocol):
|
|
592
595
|
python_versions: list[str] = ["3.9", "3.10", "3.11", "3.12", "3.13"],
|
593
596
|
builder_versions: list[str] = ["2025.06"],
|
594
597
|
check_if_exists=True,
|
598
|
+
dry_run=False,
|
595
599
|
): ...
|
596
600
|
|
597
601
|
create_client_dependency_mounts: __create_client_dependency_mounts_spec
|
@@ -22,7 +22,7 @@ modal/app.py,sha256=hJU3DGzP5GwYRmBj57XajljkQtLxkKftxXih2TYRcKo,48047
|
|
22
22
|
modal/app.pyi,sha256=0U2xVKD3yfHe5l2bcihTDjPl__tzOvx1AIYOTebu-5o,43375
|
23
23
|
modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
|
24
24
|
modal/client.py,sha256=kyAIVB3Ay-XKJizQ_1ufUFB__EagV0MLmHJpyYyJ7J0,18636
|
25
|
-
modal/client.pyi,sha256=
|
25
|
+
modal/client.pyi,sha256=kGB9JpKQXn-NZA0MnjEGpaV4YltaQWgzT__RzvQnq5E,15831
|
26
26
|
modal/cloud_bucket_mount.py,sha256=YOe9nnvSr4ZbeCn587d7_VhE9IioZYRvF9VYQTQux08,5914
|
27
27
|
modal/cloud_bucket_mount.pyi,sha256=-qSfYAQvIoO_l2wsCCGTG5ZUwQieNKXdAO00yP1-LYU,7394
|
28
28
|
modal/cls.py,sha256=1mBcExFrLDTZwkD3Dzu8F26_CL0CGktOV9pE60Y8g_E,40689
|
@@ -45,8 +45,8 @@ modal/image.py,sha256=nXN9k_6gApHFy8-Bk_XT2Zu3jsDsGVrC3QcuiDC4yRY,103543
|
|
45
45
|
modal/image.pyi,sha256=vKdb5PpYM8wcpq9PQegeVMjrPLzAipuV4q994NZiL84,69325
|
46
46
|
modal/io_streams.py,sha256=ut9tY_yEtiBsgQ40u_72Ns87IZHfbMxfnh8t6U9RSGA,16204
|
47
47
|
modal/io_streams.pyi,sha256=aOun_jUFKHSJyUY6-7gKvNoxzcULsa8_hxdtEO7v-gk,13980
|
48
|
-
modal/mount.py,sha256=
|
49
|
-
modal/mount.pyi,sha256=
|
48
|
+
modal/mount.py,sha256=3WpYaaCBGLyawW2uhQzB4jXRBQEsuuRMxnCFsXSa9_k,37470
|
49
|
+
modal/mount.pyi,sha256=y4jbfYwvD4NsLIxP8i0sua_98kNRPk1w1YlRiHqgrdo,20580
|
50
50
|
modal/network_file_system.py,sha256=S5WhQEUv55u0YDpgeEQP-PGIcq2o1gJZVBHAO5vSR2Q,14933
|
51
51
|
modal/network_file_system.pyi,sha256=Td_IobHr84iLo_9LZKQ4tNdUB60yjX8QWBaFiUvhfi8,17685
|
52
52
|
modal/object.py,sha256=bTeskuY8JFrESjU4_UL_nTwYlBQdOLmVaOX3X6EMxsg,164
|
@@ -120,7 +120,7 @@ modal/builder/2023.12.312.txt,sha256=zWWUVgVQ92GXBKNYYr2-5vn9rlnXcmkqlwlX5u1eTYw
|
|
120
120
|
modal/builder/2023.12.txt,sha256=OjsbXFkCSdkzzryZP82Q73osr5wxQ6EUzmGcK7twfkA,502
|
121
121
|
modal/builder/2024.04.txt,sha256=6NnrbIE-mflwMyKyQ0tsWeY8XFE1kSW9oE8DVDoD8QU,544
|
122
122
|
modal/builder/2024.10.txt,sha256=qD-5cVIVM9wXesJ6JC89Ew-3m2KjEElUz3jaw_MddRo,296
|
123
|
-
modal/builder/2025.06.txt,sha256=
|
123
|
+
modal/builder/2025.06.txt,sha256=XM4z76RPnrcbCx3o3sqXijWnumyOGiTCLGhKaaS4xz0,325
|
124
124
|
modal/builder/PREVIEW.txt,sha256=XM4z76RPnrcbCx3o3sqXijWnumyOGiTCLGhKaaS4xz0,325
|
125
125
|
modal/builder/README.md,sha256=9tK76KP0Uph7O0M5oUgsSwEZDj5y-dcUPsnpR0Sc-Ik,854
|
126
126
|
modal/builder/base-images.json,sha256=JYSDAgHTl-WrV_TZW5icY-IJEnbe2eQ4CZ_KN6EOZKU,1304
|
@@ -153,7 +153,7 @@ modal/experimental/__init__.py,sha256=dPBPpxsmjZMLF3YjRrXoTvT01pl65wxi4UdFZsOem3
|
|
153
153
|
modal/experimental/flash.py,sha256=viXQumCIFp5VFsPFURdFTBTjP_QnsAi8nSWXAMmfjeQ,19744
|
154
154
|
modal/experimental/flash.pyi,sha256=A8_qJGtGoXEzKDdHbvhmCw7oqfneFEvJQK3ZdTOvUdU,10830
|
155
155
|
modal/experimental/ipython.py,sha256=TrCfmol9LGsRZMeDoeMPx3Hv3BFqQhYnmD_iH0pqdhk,2904
|
156
|
-
modal-1.1.4.
|
156
|
+
modal-1.1.4.dev14.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
157
157
|
modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
|
158
158
|
modal_docs/gen_cli_docs.py,sha256=c1yfBS_x--gL5bs0N4ihMwqwX8l3IBWSkBAKNNIi6bQ,3801
|
159
159
|
modal_docs/gen_reference_docs.py,sha256=d_CQUGQ0rfw28u75I2mov9AlS773z9rG40-yq5o7g2U,6359
|
@@ -176,10 +176,10 @@ modal_proto/options_pb2.pyi,sha256=l7DBrbLO7q3Ir-XDkWsajm0d0TQqqrfuX54i4BMpdQg,1
|
|
176
176
|
modal_proto/options_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
177
177
|
modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0yJSI,247
|
178
178
|
modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
179
|
-
modal_version/__init__.py,sha256=
|
179
|
+
modal_version/__init__.py,sha256=pcltjmm0uxHcJ1athApXQfH9RdFPfvwjbNhF-bSYBh0,121
|
180
180
|
modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
|
181
|
-
modal-1.1.4.
|
182
|
-
modal-1.1.4.
|
183
|
-
modal-1.1.4.
|
184
|
-
modal-1.1.4.
|
185
|
-
modal-1.1.4.
|
181
|
+
modal-1.1.4.dev14.dist-info/METADATA,sha256=bQv_By8iCGfZsnAAOS6mJWtRIerN8gkHcdkKukxdhAc,2460
|
182
|
+
modal-1.1.4.dev14.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
183
|
+
modal-1.1.4.dev14.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
|
184
|
+
modal-1.1.4.dev14.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
|
185
|
+
modal-1.1.4.dev14.dist-info/RECORD,,
|
modal_version/__init__.py
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|