diff --git a/cmd/pythonBuild_generated.go b/cmd/pythonBuild_generated.go index 40d695eca4..401267e797 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.9"}, + {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 116350fcbe..3f160e773a 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.9", + 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 3f13ec3573..28034a9b01 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.9 + image: python:3.12