From fb4c88501648c443ba06d97fa4fc8edebcc7cf76 Mon Sep 17 00:00:00 2001 From: Maciej Jalocha Date: Thu, 19 Dec 2024 12:05:44 +0100 Subject: [PATCH] ci: bump python version to 3.12.2 matching inference testing --- pipeline.go | 3 ++- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pipeline.go b/pipeline.go index 72f3751..1aa37e3 100644 --- a/pipeline.go +++ b/pipeline.go @@ -20,7 +20,7 @@ func RunPipeline(isTesting bool) error { } defer client.Close() pipCache := client.CacheVolume("pip_cache") - container := client.Container().From("python:3.11.9-bookworm"). + container := client.Container().From("python:3.12.2-bookworm"). WithMountedCache("/root/.cache/pip", pipCache) container = container. @@ -117,6 +117,7 @@ func retrieveArtifacts(ctx context.Context, container *dagger.Container) error { return nil } +// Helper function func ls(ctx context.Context, container *dagger.Container, dir string, message string) { fmt.Println(message) info, err := container.WithWorkdir(dir).WithExec([]string{"ls", "-la"}).Stdout(ctx) diff --git a/pyproject.toml b/pyproject.toml index feebd4e..e262cf9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name="github_dagger_workflow_project" description="A project to demonstrate the Dagger workflow" version="0.0.1" -requires-python = ">=3.11.9" +requires-python = ">=3.12.2" [tool.ruff.format] exclude = ['.git', '.venv']