Repository navigation
Conversation
Signed-off-by: Yves Brissaud <yves@dagger.io>
eunomie
force-pushed
the
sdk-target/python-beta24
branch
from
November 3, 2026 09:48
811cc6e to
9c96902
Compare
Signed-off-by: Yves Brissaud <yves@dagger.io>
Signed-off-by: Yves Brissaud <yves@dagger.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR moves the engine release the Python SDK targets by default from
v1.0.0-beta.23tov1.0.0-beta.24, restores Python 3.11 support, and adds boundary tests for the existing check that refuses atargetVersionlater than the targeted release.What changes
python-sdk: target v1.0.0-beta.24engineTargetinpython-sdk.dangand the library'sCLI_VERSIONmove tov1.0.0-beta.24.v1.0.0-beta.24in a note at the top and in its examples. The unit tests and the generated-entrypoint goldens name it too.engine-e2echecks build the engine from thev1.0.0-beta.24tag commit,b32e84b60b99b68e836408d4318f0818982ea86d. AGENTS.md names the release.dagger.lockreplaces the engine entry withv1.0.0-beta.24,sha256:3ad2b0b80942bb5044e57c1765710a5fab0b913557b6ab7d7f4e81700ac4da35.dagger.lockgainsgolang:1.27-alpine,sha256:d200d2dd76b03a99b52651fd1325aff7dcd35422c35c01bac56571b0507f3deb. Thev1.0.0-beta.24engine build needs it since dagger/daggerfbbcfeb78amoved to Go 1.27.python-sdk: support Python 3.11sdk/pyproject.tomlandsdk/codegen/pyproject.tomlrequire Python 3.11 or later, and the classifiers list 3.11.sdk/uv.lockis resolved for 3.11 with uv 0.13.1. It only gains cp311 wheels; no version changes.overridecomes fromtyping_extensions, an existing dependency, sincetyping.overrideis new in 3.12.initandconfig setstill refuse 3.10 and offerv1.2.0.ghcr.io/astral-sh/uv:python3.11-alpine, which replaces the 3.12 entry indagger.lock.e2e: check targetVersion just above the targeted releasetargetVersionlater than the targeted release already exists intargetRefusal. These tests pin its bounds:v1.0.0-beta.24.1andv1.0.0are refused as later.v1.0.0-beta.100is refused as later in each accepted form, andv1.0.0-beta.9is refused as below the floor. Identifiers compare as numbers, not text.dagger module init python --target-version v1.0.0-beta.24.1fails with the refusal.What stays
v1.0.0-beta.18.sdk/src/dagger/client/gen.pystay at thev1.0.0-beta.18schema.v1.0.0-beta.22or earlier that record when a behaviour arrived, or which engine version a helper mirrors, stay as they are.What was checked
All of these pass.
On this PR's head,
c6a47c74:target-version-check;target-version-cli-check.On
b81dbf9f, which differs from this head only in the shape of the new target-version tests:cli-sdk-check;python-floor-refusal-check;sdk-test-oldest-python-check;target-version-check;target-version-cli-check.On
811cc6e8, the target bump before its README note:engine-e2e:target-version-on-target-check;engine-e2e:target-version-cli-on-target-check.On
ba206f5f, the target bump before itsgolang:1.27-alpinelock entry:engine-e2e:floor-coverage-check;target-version-cli-check;target-version-check;Without an engine, on Python 3.11.15:
sdk/, anduv sync --locked;daggermodule;slowtests and two tests that provision an engine;describeandentrypointon the default and empty templates, against core generated from thev1.0.0-beta.24schema;py311, and mypy at 3.11 reporting the same errors as at 3.14;helpers/pyproject.The engine,
golang:1.27-alpineanduv:python3.11-alpinedigests match their registries' index digests.Context
v1.0.0-beta.23andv1.0.0-beta.24by two additive optional arguments:Container.withExec(transparentHugePages:)andFile.extract(include:, exclude:).