modal 1.0.6.dev18__tar.gz → 1.0.6.dev19__tar.gz
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 modal might be problematic. Click here for more details.
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/PKG-INFO +1 -1
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/client.pyi +2 -2
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/image.py +2 -1
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/image.pyi +19 -13
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/mount.py +4 -3
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/requirements/base-images.json +11 -1
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal.egg-info/PKG-INFO +1 -1
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_version/__init__.py +1 -1
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/LICENSE +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/README.md +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/__init__.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/__main__.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_clustered_functions.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_clustered_functions.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_container_entrypoint.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_functions.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_ipython.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_location.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_object.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_output.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_partial_function.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_pty.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_resolver.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_resources.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_runtime/__init__.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_runtime/asgi.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_runtime/container_io_manager.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_runtime/container_io_manager.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_runtime/execution_context.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_runtime/execution_context.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_runtime/gpu_memory_snapshot.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_runtime/telemetry.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_runtime/user_code_imports.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_serialization.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_traceback.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_tunnel.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_tunnel.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_type_manager.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_utils/__init__.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_utils/app_utils.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_utils/async_utils.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_utils/blob_utils.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_utils/bytes_io_segment_payload.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_utils/deprecation.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_utils/docker_utils.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_utils/function_utils.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_utils/git_utils.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_utils/grpc_testing.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_utils/grpc_utils.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_utils/hash_utils.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_utils/http_utils.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_utils/jwt_utils.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_utils/logger.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_utils/mount_utils.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_utils/name_utils.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_utils/package_utils.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_utils/pattern_utils.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_utils/rand_pb_testing.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_utils/shell_utils.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_utils/time_utils.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_vendor/__init__.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_vendor/a2wsgi_wsgi.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_vendor/cloudpickle.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_vendor/tblib.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/_watcher.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/app.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/app.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/call_graph.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/__init__.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/_download.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/_traceback.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/app.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/cluster.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/config.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/container.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/dict.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/entry_point.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/environment.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/import_refs.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/launch.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/network_file_system.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/profile.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/programs/__init__.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/programs/run_jupyter.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/programs/vscode.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/queues.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/run.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/secret.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/token.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/utils.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cli/volume.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/client.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cloud_bucket_mount.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cloud_bucket_mount.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cls.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/cls.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/config.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/container_process.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/container_process.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/dict.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/dict.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/environments.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/environments.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/exception.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/experimental/__init__.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/experimental/ipython.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/file_io.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/file_io.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/file_pattern_matcher.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/functions.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/functions.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/gpu.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/io_streams.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/io_streams.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/mount.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/network_file_system.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/network_file_system.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/object.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/object.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/output.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/parallel_map.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/parallel_map.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/partial_function.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/partial_function.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/proxy.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/proxy.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/py.typed +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/queue.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/queue.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/requirements/2023.12.312.txt +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/requirements/2023.12.txt +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/requirements/2024.04.txt +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/requirements/2024.10.txt +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/requirements/PREVIEW.txt +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/requirements/README.md +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/retries.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/runner.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/runner.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/running_app.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/sandbox.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/sandbox.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/schedule.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/scheduler_placement.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/secret.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/secret.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/serving.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/serving.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/snapshot.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/snapshot.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/stream_type.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/token_flow.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/token_flow.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/volume.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal/volume.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal.egg-info/SOURCES.txt +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal.egg-info/dependency_links.txt +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal.egg-info/entry_points.txt +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal.egg-info/requires.txt +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal.egg-info/top_level.txt +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_docs/__init__.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_docs/gen_cli_docs.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_docs/gen_reference_docs.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_docs/mdmd/__init__.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_docs/mdmd/mdmd.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_docs/mdmd/signatures.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_proto/__init__.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_proto/api.proto +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_proto/api_grpc.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_proto/api_pb2.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_proto/api_pb2.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_proto/api_pb2_grpc.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_proto/api_pb2_grpc.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_proto/modal_api_grpc.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_proto/modal_options_grpc.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_proto/options.proto +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_proto/options_grpc.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_proto/options_pb2.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_proto/options_pb2.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_proto/options_pb2_grpc.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_proto/options_pb2_grpc.pyi +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_proto/py.typed +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/modal_version/__main__.py +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/pyproject.toml +0 -0
- {modal-1.0.6.dev18 → modal-1.0.6.dev19}/setup.cfg +0 -0
|
@@ -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.6.
|
|
34
|
+
version: str = "1.0.6.dev19",
|
|
35
35
|
):
|
|
36
36
|
"""mdmd:hidden
|
|
37
37
|
The Modal client object is not intended to be instantiated directly by users.
|
|
@@ -160,7 +160,7 @@ class Client:
|
|
|
160
160
|
server_url: str,
|
|
161
161
|
client_type: int,
|
|
162
162
|
credentials: typing.Optional[tuple[str, str]],
|
|
163
|
-
version: str = "1.0.6.
|
|
163
|
+
version: str = "1.0.6.dev19",
|
|
164
164
|
):
|
|
165
165
|
"""mdmd:hidden
|
|
166
166
|
The Modal client object is not intended to be instantiated directly by users.
|
|
@@ -56,7 +56,7 @@ if typing.TYPE_CHECKING:
|
|
|
56
56
|
import modal._functions
|
|
57
57
|
|
|
58
58
|
# This is used for both type checking and runtime validation
|
|
59
|
-
ImageBuilderVersion = Literal["2023.12", "2024.04", "2024.10", "PREVIEW"]
|
|
59
|
+
ImageBuilderVersion = Literal["2023.12", "2024.04", "2024.10", "2025.06", "PREVIEW"]
|
|
60
60
|
|
|
61
61
|
# Note: we also define supported Python versions via logic at the top of the package __init__.py
|
|
62
62
|
# so that we fail fast / clearly in unsupported containers. Additionally, we enumerate the supported
|
|
@@ -64,6 +64,7 @@ ImageBuilderVersion = Literal["2023.12", "2024.04", "2024.10", "PREVIEW"]
|
|
|
64
64
|
# Consider consolidating these multiple sources of truth?
|
|
65
65
|
SUPPORTED_PYTHON_SERIES: dict[ImageBuilderVersion, list[str]] = {
|
|
66
66
|
"PREVIEW": ["3.9", "3.10", "3.11", "3.12", "3.13"],
|
|
67
|
+
"2025.06": ["3.9", "3.10", "3.11", "3.12", "3.13"],
|
|
67
68
|
"2024.10": ["3.9", "3.10", "3.11", "3.12", "3.13"],
|
|
68
69
|
"2024.04": ["3.9", "3.10", "3.11", "3.12"],
|
|
69
70
|
"2023.12": ["3.9", "3.10", "3.11", "3.12"],
|
|
@@ -16,7 +16,7 @@ import pathlib
|
|
|
16
16
|
import typing
|
|
17
17
|
import typing_extensions
|
|
18
18
|
|
|
19
|
-
ImageBuilderVersion = typing.Literal["2023.12", "2024.04", "2024.10", "PREVIEW"]
|
|
19
|
+
ImageBuilderVersion = typing.Literal["2023.12", "2024.04", "2024.10", "2025.06", "PREVIEW"]
|
|
20
20
|
|
|
21
21
|
class _AutoDockerIgnoreSentinel:
|
|
22
22
|
def __repr__(self) -> str:
|
|
@@ -31,21 +31,23 @@ AUTO_DOCKERIGNORE: _AutoDockerIgnoreSentinel
|
|
|
31
31
|
|
|
32
32
|
def _validate_python_version(
|
|
33
33
|
python_version: typing.Optional[str],
|
|
34
|
-
builder_version: typing.Literal["2023.12", "2024.04", "2024.10", "PREVIEW"],
|
|
34
|
+
builder_version: typing.Literal["2023.12", "2024.04", "2024.10", "2025.06", "PREVIEW"],
|
|
35
35
|
allow_micro_granularity: bool = True,
|
|
36
36
|
) -> str: ...
|
|
37
37
|
def _dockerhub_python_version(
|
|
38
|
-
builder_version: typing.Literal["2023.12", "2024.04", "2024.10", "PREVIEW"],
|
|
38
|
+
builder_version: typing.Literal["2023.12", "2024.04", "2024.10", "2025.06", "PREVIEW"],
|
|
39
39
|
python_version: typing.Optional[str] = None,
|
|
40
40
|
) -> str: ...
|
|
41
41
|
def _base_image_config(
|
|
42
|
-
group: str, builder_version: typing.Literal["2023.12", "2024.04", "2024.10", "PREVIEW"]
|
|
42
|
+
group: str, builder_version: typing.Literal["2023.12", "2024.04", "2024.10", "2025.06", "PREVIEW"]
|
|
43
43
|
) -> typing.Any: ...
|
|
44
44
|
def _get_modal_requirements_path(
|
|
45
|
-
builder_version: typing.Literal["2023.12", "2024.04", "2024.10", "PREVIEW"],
|
|
45
|
+
builder_version: typing.Literal["2023.12", "2024.04", "2024.10", "2025.06", "PREVIEW"],
|
|
46
46
|
python_version: typing.Optional[str] = None,
|
|
47
47
|
) -> str: ...
|
|
48
|
-
def _get_modal_requirements_command(
|
|
48
|
+
def _get_modal_requirements_command(
|
|
49
|
+
version: typing.Literal["2023.12", "2024.04", "2024.10", "2025.06", "PREVIEW"],
|
|
50
|
+
) -> str: ...
|
|
49
51
|
def _flatten_str_args(
|
|
50
52
|
function_name: str, arg_name: str, args: collections.abc.Sequence[typing.Union[str, list[str]]]
|
|
51
53
|
) -> list[str]:
|
|
@@ -67,8 +69,8 @@ def _make_pip_install_args(
|
|
|
67
69
|
extra_options: str = "",
|
|
68
70
|
) -> str: ...
|
|
69
71
|
def _get_image_builder_version(
|
|
70
|
-
server_version: typing.Literal["2023.12", "2024.04", "2024.10", "PREVIEW"],
|
|
71
|
-
) -> typing.Literal["2023.12", "2024.04", "2024.10", "PREVIEW"]: ...
|
|
72
|
+
server_version: typing.Literal["2023.12", "2024.04", "2024.10", "2025.06", "PREVIEW"],
|
|
73
|
+
) -> typing.Literal["2023.12", "2024.04", "2024.10", "2025.06", "PREVIEW"]: ...
|
|
72
74
|
def _create_context_mount(
|
|
73
75
|
docker_commands: collections.abc.Sequence[str],
|
|
74
76
|
ignore_fn: collections.abc.Callable[[pathlib.Path], bool],
|
|
@@ -160,7 +162,9 @@ class _Image(modal._object._Object):
|
|
|
160
162
|
*,
|
|
161
163
|
base_images: typing.Optional[dict[str, _Image]] = None,
|
|
162
164
|
dockerfile_function: typing.Optional[
|
|
163
|
-
collections.abc.Callable[
|
|
165
|
+
collections.abc.Callable[
|
|
166
|
+
[typing.Literal["2023.12", "2024.04", "2024.10", "2025.06", "PREVIEW"]], DockerfileSpec
|
|
167
|
+
]
|
|
164
168
|
] = None,
|
|
165
169
|
secrets: typing.Optional[collections.abc.Sequence[modal.secret._Secret]] = None,
|
|
166
170
|
gpu_config: typing.Optional[modal_proto.api_pb2.GPUConfig] = None,
|
|
@@ -679,7 +683,7 @@ class _Image(modal._object._Object):
|
|
|
679
683
|
@staticmethod
|
|
680
684
|
def _registry_setup_commands(
|
|
681
685
|
tag: str,
|
|
682
|
-
builder_version: typing.Literal["2023.12", "2024.04", "2024.10", "PREVIEW"],
|
|
686
|
+
builder_version: typing.Literal["2023.12", "2024.04", "2024.10", "2025.06", "PREVIEW"],
|
|
683
687
|
setup_commands: list[str],
|
|
684
688
|
add_python: typing.Optional[str] = None,
|
|
685
689
|
) -> list[str]: ...
|
|
@@ -1046,7 +1050,9 @@ class Image(modal.object.Object):
|
|
|
1046
1050
|
*,
|
|
1047
1051
|
base_images: typing.Optional[dict[str, Image]] = None,
|
|
1048
1052
|
dockerfile_function: typing.Optional[
|
|
1049
|
-
collections.abc.Callable[
|
|
1053
|
+
collections.abc.Callable[
|
|
1054
|
+
[typing.Literal["2023.12", "2024.04", "2024.10", "2025.06", "PREVIEW"]], DockerfileSpec
|
|
1055
|
+
]
|
|
1050
1056
|
] = None,
|
|
1051
1057
|
secrets: typing.Optional[collections.abc.Sequence[modal.secret.Secret]] = None,
|
|
1052
1058
|
gpu_config: typing.Optional[modal_proto.api_pb2.GPUConfig] = None,
|
|
@@ -1574,7 +1580,7 @@ class Image(modal.object.Object):
|
|
|
1574
1580
|
@staticmethod
|
|
1575
1581
|
def _registry_setup_commands(
|
|
1576
1582
|
tag: str,
|
|
1577
|
-
builder_version: typing.Literal["2023.12", "2024.04", "2024.10", "PREVIEW"],
|
|
1583
|
+
builder_version: typing.Literal["2023.12", "2024.04", "2024.10", "2025.06", "PREVIEW"],
|
|
1578
1584
|
setup_commands: list[str],
|
|
1579
1585
|
add_python: typing.Optional[str] = None,
|
|
1580
1586
|
) -> list[str]: ...
|
|
@@ -1907,4 +1913,4 @@ class Image(modal.object.Object):
|
|
|
1907
1913
|
|
|
1908
1914
|
_logs: ___logs_spec[typing_extensions.Self]
|
|
1909
1915
|
|
|
1910
|
-
SUPPORTED_PYTHON_SERIES: dict[typing.Literal["2023.12", "2024.04", "2024.10", "PREVIEW"], list[str]]
|
|
1916
|
+
SUPPORTED_PYTHON_SERIES: dict[typing.Literal["2023.12", "2024.04", "2024.10", "2025.06", "PREVIEW"], list[str]]
|
|
@@ -950,7 +950,7 @@ async def _create_client_dependency_mounts(
|
|
|
950
950
|
("musllinux_1_2", f"{arch}-unknown-linux-musl"), # musl >= 1.2
|
|
951
951
|
]
|
|
952
952
|
coros = []
|
|
953
|
-
for builder_version in ["PREVIEW"]:
|
|
953
|
+
for builder_version in ["2025.06", "PREVIEW"]:
|
|
954
954
|
for python_version in python_versions:
|
|
955
955
|
for platform, uv_python_platform in platform_tags:
|
|
956
956
|
coros.append(
|
|
@@ -961,8 +961,9 @@ async def _create_client_dependency_mounts(
|
|
|
961
961
|
arch,
|
|
962
962
|
platform,
|
|
963
963
|
uv_python_platform,
|
|
964
|
-
|
|
965
|
-
|
|
964
|
+
# Re-enable mount overwriting for PREVIEW version while under development
|
|
965
|
+
# check_if_exists=builder_version != "PREVIEW",
|
|
966
|
+
# allow_overwrite=builder_version == "PREVIEW",
|
|
966
967
|
)
|
|
967
968
|
)
|
|
968
969
|
await TaskContext.gather(*coros)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"debian": {
|
|
3
3
|
"PREVIEW": "bookworm",
|
|
4
|
+
"2025.06": "bookworm",
|
|
4
5
|
"2024.10": "bookworm",
|
|
5
6
|
"2024.04": "bookworm",
|
|
6
7
|
"2023.12": "bullseye"
|
|
@@ -13,6 +14,13 @@
|
|
|
13
14
|
"3.12.10",
|
|
14
15
|
"3.13.3"
|
|
15
16
|
],
|
|
17
|
+
"2025.06": [
|
|
18
|
+
"3.9.22",
|
|
19
|
+
"3.10.17",
|
|
20
|
+
"3.11.12",
|
|
21
|
+
"3.12.10",
|
|
22
|
+
"3.13.3"
|
|
23
|
+
],
|
|
16
24
|
"2024.10": [
|
|
17
25
|
"3.9.20",
|
|
18
26
|
"3.10.15",
|
|
@@ -35,14 +43,16 @@
|
|
|
35
43
|
},
|
|
36
44
|
"micromamba": {
|
|
37
45
|
"PREVIEW": "2.1.1-debian12-slim",
|
|
46
|
+
"2025.06": "2.1.1-debian12-slim",
|
|
38
47
|
"2024.10": "1.5.10-bookworm-slim",
|
|
39
48
|
"2024.04": "1.5.8-bookworm-slim",
|
|
40
49
|
"2023.12": "1.3.1-bullseye-slim"
|
|
41
50
|
},
|
|
42
51
|
"package_tools": {
|
|
43
52
|
"PREVIEW": "pip wheel uv",
|
|
53
|
+
"2025.06": "pip wheel uv",
|
|
44
54
|
"2024.10": "pip wheel uv",
|
|
45
55
|
"2024.04": "pip wheel uv",
|
|
46
56
|
"2023.12": "pip"
|
|
47
57
|
}
|
|
48
|
-
}
|
|
58
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|