Skip to content

Commit b82bdaf

Browse files
authored
Merge pull request #816 from mozilla/heroku-deployment-fix
Fix Heroku deployment by pre-installing compatible setuptools version
2 parents ad0a5b8 + e8e91f7 commit b82bdaf

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.profile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
# This script is only used by Heroku during dyno startup.
4+
# It ensures setuptools is downgraded early to avoid install issues with legacy packages like django-allauth.
5+
# Local environments ignore this file.
6+
7+
pip install "setuptools==65.5.1" --no-cache-dir --upgrade

0 commit comments

Comments
 (0)