Skip to content

Align Heroku deployment snapshot with supported Gunicorn version#3

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-heroku-gunicorn-issue
Draft

Align Heroku deployment snapshot with supported Gunicorn version#3
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-heroku-gunicorn-issue

Conversation

Copy link
Copy Markdown

Copilot AI commented May 19, 2026

Heroku startup was failing because the deployment snapshot depended on an outdated Gunicorn path that breaks on newer environments with ModuleNotFoundError: No module named 'pkg_resources'. This updates the affected deployment snapshot to install a current Gunicorn release that matches the repo’s later deployment stages.

  • Dependency update

    • Added gunicorn==23.0.0 to the Heroku deployment snapshot at 18-deployment/18-03-connect-your-db-to-your-local-development-web-server/requirements.txt
    • Brings the first Heroku-oriented snapshot in line with the newer deployment snapshots already using the same version
  • Deployment consistency

    • Keeps the snapshot’s Procfile-based startup path backed by an explicit Gunicorn dependency
    • Avoids drift between the early Heroku deployment stage and the later, already-correct deployment examples
django-crispy-forms==1.14.0
gunicorn==23.0.0
idna==3.10

Copilot AI linked an issue May 19, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Fix ModuleNotFoundError for gunicorn on Heroku Align Heroku deployment snapshot with supported Gunicorn version May 19, 2026
Copilot AI requested a review from NielMc May 19, 2026 15:07
Copilot finished work on behalf of NielMc May 19, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Heroku issue

2 participants