Skip to content

chore(deps): bump modal from 0.64.192 to 0.68.29#293

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/modal-0.68.29
Closed

chore(deps): bump modal from 0.64.192 to 0.68.29#293
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/modal-0.68.29

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 18, 2024

Bumps modal from 0.64.192 to 0.68.29.

Changelog

Sourced from modal's changelog.

0.68.29 (2024-12-17)

  • The internal deprecation_error and deprecation_warning utilities have been moved to a private namespace

0.68.28 (2024-12-17)

  • Sandboxes now support additional filesystem commands mkdir, rm, and ls.
app = modal.App.lookup("sandbox-fs", create_if_missing=True)
sb = modal.Sandbox.create(app=app)
sb.mkdir("/foo")
with sb.open("/foo/bar.txt", "w") as f:
    f.write("baz")
print(sb.ls("/foo"))

0.68.27 (2024-12-17)

  • Two previously-introduced deprecations are now enforced and raise an error:
    • The App.spawn_sandbox method has been removed in favor of Sandbox.create
    • Sandbox.create now requires an App object to be passed

0.68.24 (2024-12-16)

  • The modal run CLI now has a --write-result option. When you pass a filename, Modal will write the return value of the entrypoint function to that location on your local filesystem. The return value of the function must be either str or bytes to use this option; otherwise, an error will be raised. It can be useful for exercising a remote function that returns text, image data, etc.

0.68.21 (2024-11-13)

Adds an ignore parameter to our Image add_local_dir and copy_local_dir methods. It is similar to the condition method on Mount methods but instead operates on a Path object. It takes either a list of string patterns to ignore which follows the dockerignore syntax implemented in our FilePatternMatcher class, or you can pass in a callable which allows for more flexible selection of files.

Usage:

img.add_local_dir(
  "./local-dir", 
  remote_path="/remote-path", 
  ignore=FilePatternMatcher("**/*", "!*.txt") # ignore everything except files ending with .txt
)
img.add_local_dir(
...,
ignore=~FilePatternMatcher("**/*.py") # can be inverted for when inclusion filters are simpler to write
</tr></table>

... (truncated)

Commits
  • 5f79a7d [auto-commit] [skip ci] Bump the build number
  • 0af7fd9 Move deprecation utilities to private namespace (#2676)
  • 29df346 [auto-commit] [skip ci] Bump the build number
  • 3c875f8 Add directory api for sandboxes (#2650)
  • cf2d7ba [auto-commit] [skip ci] Bump the build number
  • 8342982 Enforce deprecation on App.spawn_sandbox and Sandbox.create without an Ap...
  • 6897c8d [auto-commit] [skip ci] Bump the build number
  • 439f3b7 Dumb typo: AppLayout.objects not object (#2671)
  • 81d5924 [auto-commit] [skip ci] Bump the build number
  • 64b9af7 Support file_io async context manager (#2668)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [modal](https://github.com/modal-labs/modal-client) from 0.64.192 to 0.68.29.
- [Changelog](https://github.com/modal-labs/modal-client/blob/main/CHANGELOG.md)
- [Commits](modal-labs/modal-client@v0.64.192...v0.68.29)

---
updated-dependencies:
- dependency-name: modal
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Dec 18, 2024
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 19, 2024

Superseded by #294.

@dependabot dependabot bot closed this Dec 19, 2024
@dependabot dependabot bot deleted the dependabot/pip/modal-0.68.29 branch December 19, 2024 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants