Back to Dagger

V0.18.15

sdk/python/.changes/v0.18.15.md

0.20.72.3 KB
Original Source

sdk/python/v0.18.15 - 2025-08-18

This SDK uses πŸš™ Engine + πŸš— CLI version v0.18.15. See what changed in that release.

🐍 https://pypi.org/project/dagger-io/v0.18.15/ πŸ“– https://dagger-io.readthedocs.io/en/sdk-python-v0.18.15/

πŸ”₯ Breaking Changes

  • Improved error handling and reporting in Python modules with clearer error messages and better debugging support by @helderco in https://github.com/dagger/dagger/pull/10532
    The root logger is now setup with a handler that will ultimately show as stderr output in visualization (TUI/Cloud) for the "warning" log level and above.

    There’s a possible breaking change if a non async function returns a coroutine. Marked as breaking out of caution as it should have low impact. This would work previously but it’s now validated to avoid confusion as it’s expected to be a mistake and not intentional. An async needs to be added to the function’s signature, and an await on the call that returns the coroutine (value returned by an async function).

Changed

  • Default Python version in Dagger modules changed to 3.13 and build backend to uv_build by @helderco in https://github.com/dagger/dagger/pull/10825
    The new Python version will only be used in new modules or older modules without a pinned Python version.

    To upgrade an existing module, update the minimum required Python version in pyproject.toml:

    toml
    requires-python = ">=3.13"
    

    Or make sure it's set to ">=3.12" to remain on Python 3.12.

    See the Runtime container documentation for more information.

Fixed

Dependencies

What to do next