Modal

Latest version: v0.73.139

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 36 of 44

0.61.24

- Fixes `modal volume put` to support uploading larger files, beyond 40 GiB.

0.61.22

- Modal containers now display a warning message if lingering threads are present at container exit, which prevents runner shutdown.

0.61.17

- Bug fix: Stopping an app while a container's `exit()` lifecycle methods are being run no longer interrupts the lifecycle methods.
- Bug fix: Worker preemptions no longer interrupt a container's `exit()` lifecycle method (until 30 seconds later).
- Bug fix: Async `exit()` lifecycle methods are no longer skipped for sync functions.
- Bug fix: Stopping a sync function with `allow_concurrent_inputs>1` now actually stops the container. Previously, it would not propagate the signal to worker threads, so they would continue running.
- Bug fix: Input-level cancellation no longer skips the `exit()` lifecycle method.
- Improve stability of container entrypoint against race conditions in task cancellation.

0.61.9

* Fix issue with pdm where all installed packages would be automounted when using package cache (MOD-2485)

0.61.6

- For modal functions/classes with `concurrency_limit < keep_warm`, we'll raise an exception now. Previously we (silently) respected the `concurrency_limit` parameter.

0.61.1

`modal run --interactive` or `modal run -i` run the app in "interactive mode". This allows any remote code to connect to the user's local terminal by calling `modal.interact()`.

python
stub.function()
def my_fn(x):
modal.interact()

x = input()
print(f"Your number is {x}")


This means that you can dynamically start an IPython shell if desired for debugging:

python
stub.function()
def my_fn(x):
modal.interact()

from IPython import embed
embed()


For convenience, breakpoints automatically call `interact()`:

python
stub.function()
def my_fn(x):
breakpoint()

Page 36 of 44

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.