From f3e99047527a65f9bcdda6b2b206e58b8695c10d Mon Sep 17 00:00:00 2001 From: Yash Suhagiya <54718565+yashsuhagiya@users.noreply.github.com> Date: Mon, 8 Jan 2024 09:42:31 +0000 Subject: [PATCH] fix: python version to 9 --- build.sh | 8 ++++---- vercel.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index 1b183c8..aa265bf 100644 --- a/build.sh +++ b/build.sh @@ -2,11 +2,11 @@ # Build the project echo "Building the project..." -python3.11 -m pip install -r requirements.txt +python3.9 -m pip install -r requirements.txt echo "Make Migration..." -python3.11 manage.py makemigrations --noinput -python3.11 manage.py migrate --noinput +python3.9 manage.py makemigrations --noinput +python3.9 manage.py migrate --noinput echo "Collect Static..." -python3.11 manage.py collectstatic --noinput --clear +python3.9 manage.py collectstatic --noinput --clear diff --git a/vercel.json b/vercel.json index 4acd308..3e5245e 100644 --- a/vercel.json +++ b/vercel.json @@ -6,7 +6,7 @@ "use": "@vercel/python", "config": { "maxLambdaSize": "15mb", - "runtime": "python3.11" + "runtime": "python3.9" } }, {