modal 0.73.60__py3-none-any.whl → 0.73.61__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 CHANGED
@@ -27,7 +27,7 @@ class _Client:
27
27
  _snapshotted: bool
28
28
 
29
29
  def __init__(
30
- self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.73.60"
30
+ self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.73.61"
31
31
  ): ...
32
32
  def is_closed(self) -> bool: ...
33
33
  @property
@@ -85,7 +85,7 @@ class Client:
85
85
  _snapshotted: bool
86
86
 
87
87
  def __init__(
88
- self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.73.60"
88
+ self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.73.61"
89
89
  ): ...
90
90
  def is_closed(self) -> bool: ...
91
91
  @property
modal/image.py CHANGED
@@ -85,6 +85,8 @@ AUTO_DOCKERIGNORE = _AutoDockerIgnoreSentinel()
85
85
  COPY_DEPRECATION_MESSAGE_PATTERN = """modal.Image.copy_* methods will soon be deprecated.
86
86
 
87
87
  Use {replacement} instead, which is functionally and performance-wise equivalent.
88
+
89
+ See https://modal.com/docs/guide/modal-1-0-migration for more details.
88
90
  """
89
91
 
90
92
 
@@ -801,7 +803,7 @@ class _Image(_Object, type_prefix="im"):
801
803
  works in a `Dockerfile`.
802
804
  """
803
805
  deprecation_warning(
804
- (2024, 1, 13), COPY_DEPRECATION_MESSAGE_PATTERN.format(replacement="image.add_local_file"), pending=True
806
+ (2025, 1, 13), COPY_DEPRECATION_MESSAGE_PATTERN.format(replacement="image.add_local_file"), pending=True
805
807
  )
806
808
  basename = str(Path(local_path).name)
807
809
 
@@ -911,7 +913,7 @@ class _Image(_Object, type_prefix="im"):
911
913
  ```
912
914
  """
913
915
  deprecation_warning(
914
- (2024, 1, 13), COPY_DEPRECATION_MESSAGE_PATTERN.format(replacement="image.add_local_dir"), pending=True
916
+ (2025, 1, 13), COPY_DEPRECATION_MESSAGE_PATTERN.format(replacement="image.add_local_dir"), pending=True
915
917
  )
916
918
 
917
919
  def build_dockerfile(version: ImageBuilderVersion) -> DockerfileSpec:
@@ -1418,7 +1420,7 @@ class _Image(_Object, type_prefix="im"):
1418
1420
  "`Image.conda` is deprecated."
1419
1421
  " Please use the faster and more reliable `Image.micromamba` constructor instead."
1420
1422
  )
1421
- deprecation_error((2024, 5, 2), message)
1423
+ deprecation_error((2025, 5, 2), message)
1422
1424
 
1423
1425
  def conda_install(
1424
1426
  self,
@@ -1433,7 +1435,7 @@ class _Image(_Object, type_prefix="im"):
1433
1435
  "`Image.conda_install` is deprecated."
1434
1436
  " Please use the faster and more reliable `Image.micromamba_install` instead."
1435
1437
  )
1436
- deprecation_error((2024, 5, 2), message)
1438
+ deprecation_error((2025, 5, 2), message)
1437
1439
 
1438
1440
  def conda_update_from_environment(
1439
1441
  self,
@@ -1448,7 +1450,7 @@ class _Image(_Object, type_prefix="im"):
1448
1450
  "Image.conda_update_from_environment` is deprecated."
1449
1451
  " Please use the `Image.micromamba_install` method (with the `spec_file` parameter) instead."
1450
1452
  )
1451
- deprecation_error((2024, 5, 2), message)
1453
+ deprecation_error((2025, 5, 2), message)
1452
1454
 
1453
1455
  @staticmethod
1454
1456
  def micromamba(
modal/mount.py CHANGED
@@ -51,6 +51,8 @@ PYTHON_STANDALONE_VERSIONS: dict[str, tuple[str, str]] = {
51
51
  MOUNT_DEPRECATION_MESSAGE_PATTERN = """modal.Mount usage will soon be deprecated.
52
52
 
53
53
  Use {replacement} instead, which is functionally and performance-wise equivalent.
54
+
55
+ See https://modal.com/docs/guide/modal-1-0-migration for more details.
54
56
  """
55
57
 
56
58
 
@@ -408,7 +410,7 @@ class _Mount(_Object, type_prefix="mo"):
408
410
  ```
409
411
  """
410
412
  deprecation_warning(
411
- (2024, 1, 8), MOUNT_DEPRECATION_MESSAGE_PATTERN.format(replacement="image.add_local_dir"), pending=True
413
+ (2025, 1, 8), MOUNT_DEPRECATION_MESSAGE_PATTERN.format(replacement="image.add_local_dir"), pending=True
412
414
  )
413
415
  return _Mount._from_local_dir(local_path, remote_path=remote_path, condition=condition, recursive=recursive)
414
416
 
@@ -465,7 +467,7 @@ class _Mount(_Object, type_prefix="mo"):
465
467
  ```
466
468
  """
467
469
  deprecation_warning(
468
- (2024, 1, 8), MOUNT_DEPRECATION_MESSAGE_PATTERN.format(replacement="image.add_local_file"), pending=True
470
+ (2025, 1, 8), MOUNT_DEPRECATION_MESSAGE_PATTERN.format(replacement="image.add_local_file"), pending=True
469
471
  )
470
472
  return _Mount._from_local_file(local_path, remote_path)
471
473
 
@@ -636,7 +638,7 @@ class _Mount(_Object, type_prefix="mo"):
636
638
  ```
637
639
  """
638
640
  deprecation_warning(
639
- (2024, 1, 8),
641
+ (2025, 1, 8),
640
642
  MOUNT_DEPRECATION_MESSAGE_PATTERN.format(replacement="image.add_local_python_source"),
641
643
  pending=True,
642
644
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: modal
3
- Version: 0.73.60
3
+ Version: 0.73.61
4
4
  Summary: Python client library for Modal
5
5
  Author-email: Modal Labs <support@modal.com>
6
6
  License: Apache-2.0
@@ -22,7 +22,7 @@ modal/app.py,sha256=o5mHoHtn41nkvskX_ekJkyfG6MXwj5rqerRi_nnPd0w,44725
22
22
  modal/app.pyi,sha256=0MMCgskIL4r3eq8oBcfm2lLyeao2gXjS3iXaIfmaJ-o,25959
23
23
  modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
24
24
  modal/client.py,sha256=8SQawr7P1PNUCq1UmJMUQXG2jIo4Nmdcs311XqrNLRE,15276
25
- modal/client.pyi,sha256=1CPEH12Sd1qSXv-sJSAR_fneIU1tsiBHWO1pPbvFU6o,7593
25
+ modal/client.pyi,sha256=1tmiNTBt14hiXWmV0rBishziTKrAXDTBQiizWnbLeTU,7593
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=wztMTYkhJyW9iUVqx4_Gga4bJJpUiPgGsS6iacUqy-A,30001
@@ -43,11 +43,11 @@ modal/file_pattern_matcher.py,sha256=trosX-Bp7dOubudN1bLLhRAoidWy1TcoaR4Pv8CedWw
43
43
  modal/functions.py,sha256=kcNHvqeGBxPI7Cgd57NIBBghkfbeFJzXO44WW0jSmao,325
44
44
  modal/functions.pyi,sha256=p9H14D_n2lAjeVvymu74wDWsL_BnpBrT0BunbAlwviw,14247
45
45
  modal/gpu.py,sha256=Kbhs_u49FaC2Zi0TjCdrpstpRtT5eZgecynmQi5IZVE,6752
46
- modal/image.py,sha256=EtYt7_Rjgi71gt_SutqF8KSjnzWgP5P1Z7XsV-eIoFw,91470
46
+ modal/image.py,sha256=W3SnV-DjUuaWwUWkk9keQko7jZ_p_pYERqdeMXNccSk,91542
47
47
  modal/image.pyi,sha256=Oc2ndYHSdQTcRpZKHSfTdj-m_2oQAsnc2EWTthbNn-s,26380
48
48
  modal/io_streams.py,sha256=QkQiizKRzd5bnbKQsap31LJgBYlAnj4-XkV_50xPYX0,15079
49
49
  modal/io_streams.pyi,sha256=bJ7ZLmSmJ0nKoa6r4FJpbqvzdUVa0lEe0Fa-MMpMezU,5071
50
- modal/mount.py,sha256=hNoy7J-E2C-CkSmbKldfL_zg8db8nP8cVzRj_35Rsp0,32124
50
+ modal/mount.py,sha256=JII0zTS1fPCcCbZgO18okkOuTDqYCxY1DIVa6i1E9cI,32196
51
51
  modal/mount.pyi,sha256=CmHa7zKSxHA_7-vMQLnGfw_ZXvAvHlafvUEVJcQ1LQA,12535
52
52
  modal/network_file_system.py,sha256=WXdyL7du_fvjvuG6hSAREyJ83sSEP2xSLAIAhBsisdI,14869
53
53
  modal/network_file_system.pyi,sha256=4N3eqMbTSlqmS8VV_aJK-uvrgJC8xnf_YtW5FHfRfc8,8156
@@ -168,10 +168,10 @@ modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0y
168
168
  modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
169
169
  modal_version/__init__.py,sha256=wiJQ53c-OMs0Xf1UeXOxQ7FwlV1VzIjnX6o-pRYZ_Pk,470
170
170
  modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
171
- modal_version/_version_generated.py,sha256=V-DKFV-EVtvOiXhn-ISihhVMq-5OT53YYBaMrglIF74,149
172
- modal-0.73.60.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
173
- modal-0.73.60.dist-info/METADATA,sha256=pq_suW-PHg14I5hXFkFJ1HjSGE8QSTaJ1h9FQ_j2cEU,2452
174
- modal-0.73.60.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
175
- modal-0.73.60.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
176
- modal-0.73.60.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
177
- modal-0.73.60.dist-info/RECORD,,
171
+ modal_version/_version_generated.py,sha256=m-kmH3hR9GQw2dfTtDW0jIJKJ_BOmscevyKDx0WGtwU,149
172
+ modal-0.73.61.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
173
+ modal-0.73.61.dist-info/METADATA,sha256=JLspZljtzlcxRU_kj4sM0MccAa6A9Bvpn_9opUlHwlo,2452
174
+ modal-0.73.61.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
175
+ modal-0.73.61.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
176
+ modal-0.73.61.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
177
+ modal-0.73.61.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 = 60 # git: 821ea54
4
+ build_number = 61 # git: 48df650