From e8e91f7ae5edd61e02156fd37bff1ed9cc63017f Mon Sep 17 00:00:00 2001 From: Mavis Ou Date: Mon, 21 Apr 2025 13:01:37 -0700 Subject: [PATCH] Fix Heroku deployment by pre-installing compatible setuptools version --- .profile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .profile diff --git a/.profile b/.profile new file mode 100644 index 00000000..9dfb6ffc --- /dev/null +++ b/.profile @@ -0,0 +1,7 @@ +#!/bin/bash + +# This script is only used by Heroku during dyno startup. +# It ensures setuptools is downgraded early to avoid install issues with legacy packages like django-allauth. +# Local environments ignore this file. + +pip install "setuptools==65.5.1" --no-cache-dir --upgrade