Align Heroku deployment snapshot with supported Gunicorn version#3
Merged
Conversation
Closed
Agent-Logs-Url: https://github.com/Code-Institute-Solutions/boutique_ado_v1_sourcecode/sessions/ef795e4c-d769-4cdf-89f8-b97636afc228 Co-authored-by: NielMc <19390534+NielMc@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix ModuleNotFoundError for gunicorn on Heroku
Align Heroku deployment snapshot with supported Gunicorn version
May 19, 2026
NielMc
approved these changes
Jun 26, 2026
NielMc
left a comment
Contributor
There was a problem hiding this comment.
Correct version of gunicorn for Heroku deployment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
gunicorn==23.0.0to the Heroku deployment snapshot at18-deployment/18-03-connect-your-db-to-your-local-development-web-server/requirements.txtDeployment consistency
Procfile-based startup path backed by an explicit Gunicorn dependency