From ca1e5d131db56176902a2887f659b661e930174f Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Thu, 24 Oct 2024 08:56:54 +0100 Subject: [PATCH] Add .python-version and pin for paketo --- .python-version | 1 + project.toml | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 .python-version diff --git a/.python-version b/.python-version new file mode 100644 index 00000000..c8cfe395 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.10 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