This SDK is compatible with 🚙 Engine + 🚗 CLI version v0.4.0.
🐍 https://pypi.org/project/dagger-io/0.4.0/
📖 https://dagger-io.readthedocs.io/en/sdk-python-v0.4.0/
What's Changed
- Python: Add custom exception for establishing client connection by @helderco in #4642
- This version introduces service containers, aka container-to-container networking. This feature enables users to spin up additional long-running services (as containers) and communicate with those services from their Dagger pipelines. Learn more here.
API Changes
- Pipeline Labels by @aluzzardi in #4615
- Allow opting out of the services feature by @vito in #4682
- Support privileged executions. by @sipsma in #4677
- Raise error when using container has not been executed by @vito in #4716
Other Changes
- docs(python): Update install instructions by @helderco in #4651
- docs(python): Make snippets more consistent by @helderco in #4721
- chore(python): Revert reversion from outdated merge by @helderco in #4653
- build(deps): bump platformdirs from 3.0.0 to 3.1.0 in /sdk/python by @dependabot in #4693
- build(deps-dev): bump typing-extensions from 4.4.0 to 4.5.0 in /sdk/python by @dependabot in #4646
- build(deps-dev): bump mypy from 1.0.1 to 1.1.1 in /sdk/python by @dependabot in #4724
- build(deps-dev): bump pytest from 7.2.1 to 7.2.2 in /sdk/python by @dependabot in #4692
- build(deps-dev): bump ruff from 0.0.249 to 0.0.252 in /sdk/python by @dependabot in #4647
- build(deps-dev): bump ruff from 0.0.252 to 0.0.253 in /sdk/python by @dependabot in #4662
- build(deps-dev): bump ruff from 0.0.253 to 0.0.254 in /sdk/python by @dependabot in #4727
- sdk: Bump engine dependency to v0.4.0 by @github-actions in #4737