From 2132251e02aa2df926ec1ce61522c83bc705cdd8 Mon Sep 17 00:00:00 2001 From: Christopher Fenner Date: Thu, 4 Sep 2025 09:30:00 +0200 Subject: [PATCH] update python to 3.12 --- cmd/pythonBuild_generated.go | 2 +- integration/integration_python_test.go | 2 +- resources/metadata/pythonBuild.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/pythonBuild_generated.go b/cmd/pythonBuild_generated.go index 27418c965..401267e79 100644 --- a/cmd/pythonBuild_generated.go +++ b/cmd/pythonBuild_generated.go @@ -341,7 +341,7 @@ func pythonBuildMetadata() config.StepData { }, }, Containers: []config.Container{ - {Name: "python", Image: "python:3.11"}, + {Name: "python", Image: "python:3.12"}, }, Outputs: config.StepOutputs{ Resources: []config.StepResources{ diff --git a/integration/integration_python_test.go b/integration/integration_python_test.go index f138ffdff..3f160e773 100644 --- a/integration/integration_python_test.go +++ b/integration/integration_python_test.go @@ -40,7 +40,7 @@ func TestPythonIntegrationBuildProject(t *testing.T) { os.WriteFile(filepath.Join(tempDir, "runPiper.sh"), []byte(testScript), 0700) reqNode := testcontainers.ContainerRequest{ - Image: "python:3.11", + Image: "python:3.12", Cmd: []string{"tail", "-f"}, Mounts: testcontainers.Mounts( testcontainers.BindMount(pwd, "/piperbin"), diff --git a/resources/metadata/pythonBuild.yaml b/resources/metadata/pythonBuild.yaml index 8139cade3..28034a9b0 100644 --- a/resources/metadata/pythonBuild.yaml +++ b/resources/metadata/pythonBuild.yaml @@ -113,4 +113,4 @@ spec: - name: custom/buildSettingsInfo containers: - name: python - image: python:3.11 + image: python:3.12