sdk/python/.changes/v0.18.15.md
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/
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).
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:
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.