Skip to content

Commit 3f513fe

Browse files
committed
chore: refresh generated template versions
The generated pyproject still capped uv_build below 0.9 even though the current backend is 0.11.30 and the Python SDK itself accepts the 0.11 line. Widen all template constraints to the same <0.12 compatibility boundary as the upstream SDK. Keeping the lower bound at 0.8.4 also lets the engine's bundled uv 0.10.3 backend satisfy the requirement without an extra download. Move the new default container from Alpine 3.21 to the current stable 3.24 line. Keep Python at 3.14 because it remains the current stable language line and matches the engine's Python runtime. Signed-off-by: Guillaume de Rouville <guillaume@dagger.io>
1 parent a225196 commit 3f513fe

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

.dagger/modules/e2e/main.dang

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ type E2e {
186186
"class TemplateDefault:",
187187
"@classmethod\n def create(",
188188
"ws: dagger.Workspace",
189-
"base_image_address: str = \"alpine:3.21\"",
189+
"base_image_address: str = \"alpine:3.24\"",
190190
"return cls(",
191191
"def container(self) -> dagger.Container:",
192192
".with_directory(\"/src\", self.source)",

templates/default/pyproject.toml.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ requires-python = ">=3.14"
55
dependencies = ["dagger-io"]
66

77
[build-system]
8-
requires = ["uv_build>=0.8.4,<0.9.0"]
8+
requires = ["uv_build>=0.8.4,<0.12.0"]
99
build-backend = "uv_build"
1010

1111
[tool.uv.sources]

templates/default/src/{{.ModulePackage}}/__init__.py.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class {{ .ModuleType }}:
1111
def create(
1212
cls,
1313
ws: dagger.Workspace,
14-
base_image_address: str = "alpine:3.21",
14+
base_image_address: str = "alpine:3.24",
1515
):
1616
return cls(
1717
source=ws.directory(

templates/empty/pyproject.toml.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ requires-python = ">=3.14"
55
dependencies = ["dagger-io"]
66

77
[build-system]
8-
requires = ["uv_build>=0.8.4,<0.9.0"]
8+
requires = ["uv_build>=0.8.4,<0.12.0"]
99
build-backend = "uv_build"
1010

1111
[tool.uv.sources]

templates/legacy/pyproject.toml.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ requires-python = ">=3.14"
55
dependencies = ["dagger-io"]
66

77
[build-system]
8-
requires = ["uv_build>=0.8.4,<0.9.0"]
8+
requires = ["uv_build>=0.8.4,<0.12.0"]
99
build-backend = "uv_build"
1010

1111
[tool.uv.sources]

0 commit comments

Comments
 (0)