From c788825b6675b59b732db5265284c79c931e662a Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Wed, 23 Oct 2024 16:46:43 +0100 Subject: [PATCH] Explicitly set python version for paketo --- project.toml | 4 ++++ runtime.txt | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) delete mode 100644 runtime.txt diff --git a/project.toml b/project.toml index 45c61e72..fb6b15ae 100644 --- a/project.toml +++ b/project.toml @@ -8,3 +8,7 @@ exclude = [ ".github", ".vscode", ] + +[[ io.buildpacks.build.env ]] + name = "BP_CPYTHON_VERSION" + value = "3.10.*" # any valid semver constraints (e.g. 3.6.7, 3.*) are acceptable diff --git a/runtime.txt b/runtime.txt deleted file mode 100644 index cf14ed13..00000000 --- a/runtime.txt +++ /dev/null @@ -1 +0,0 @@ -python-3.10.x