From 227f255139ea312b759554b5407351f58fe95b96 Mon Sep 17 00:00:00 2001 From: Davide Presti <94308234+davevad93@users.noreply.github.com> Date: Fri, 29 Nov 2024 19:50:06 +0100 Subject: [PATCH] Change Python runtime to 3.12 --- myproject/build_files.sh | 2 +- myproject/vercel.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/myproject/build_files.sh b/myproject/build_files.sh index 63a8ba1..7d9c171 100644 --- a/myproject/build_files.sh +++ b/myproject/build_files.sh @@ -1,3 +1,3 @@ # build_files.sh pip install -r requirements.txt -python3.10 manage.py collectstatic --no-input --clear \ No newline at end of file +python3.12 manage.py collectstatic --no-input --clear \ No newline at end of file diff --git a/myproject/vercel.json b/myproject/vercel.json index de3da32..be4fac4 100644 --- a/myproject/vercel.json +++ b/myproject/vercel.json @@ -3,7 +3,7 @@ { "src": "myproject/wsgi.py", "use": "@vercel/python", - "config": { "maxLambdaSize": "15mb", "runtime": "python3.10" } + "config": { "maxLambdaSize": "15mb", "runtime": "python3.12" } }, { "src": "build_files.sh",