Back to Dagger

V0.14.0

sdk/python/.changes/v0.14.0.md

0.20.81.3 KB
Original Source

sdk/python/v0.14.0 - 2024-11-08

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

šŸ https://pypi.org/project/dagger-io/v0.14.0/ šŸ“– https://dagger-io.readthedocs.io/en/sdk-python-v0.14.0/

Changed

  • New modules will get a package name based on the module name instead of being hardcoded to "main" by @helderco in https://github.com/dagger/dagger/pull/8709
    Existing modules should work the same because "main" is used as a fallback. There's also a new setting (using a Python entry point) to precisely tell Dagger where the main object should be imported from.

    For example:

    toml
    # pyproject.toml
    
    [project.entry-points."dagger.mod"]
    main_object = "my_module.main:MyModule"
    

Deprecated

Dependencies

What to do next