Skip to content

Pin Werkzeug to 2.3.8 to restore Gunicorn boot with Flask 2.2.5 - #22

Merged
AbandonedCart merged 1 commit into
devfrom
copilot/fix-worker-process-exception
Apr 22, 2026
Merged

Pin Werkzeug to 2.3.8 to restore Gunicorn boot with Flask 2.2.5#22
AbandonedCart merged 1 commit into
devfrom
copilot/fix-worker-process-exception

Conversation

Copilot AI commented Apr 22, 2026

Copy link
Copy Markdown

Infomation

Please use the following form when submitting a pull request for amiibo database. Update both the amiibo.json and game_info.json file to prevent error. If unsure of game_info.json please use the example format below to include an empty array.

Pull request form

Gunicorn workers were failing during app import due to an incompatible Flask/Werkzeug combination at runtime. This change aligns dependency versions so app:app loads reliably in production.

  • Problem

    • Runtime import path used by Gunicorn failed when Flask==2.2.5 resolved against Werkzeug==3.1.6.
  • Change

    • Pinned Werkzeug to a Flask-2.2-compatible line in requirements.txt.
  • Dependency delta

    -Werkzeug==3.1.6
    +Werkzeug==2.3.8

Checklist

  • The ids provided are not spoofed.
  • The ids provided are all in lowercase.
  • The game_info.json had been updated with the matching ids.
  • Images of amiibo have been provided in high quality.

Link to amiibo.life for amiibo

  • N/A (dependency-only change)
  • N/A
  • N/A

Example of empty game_info

"0x02ed0001015a0502":
{
	"games3DS": [],
	"gamesWiiU": [],
	"gamesSwitch": [],
	"gamesSwitch2": []
}

Agent-Logs-Url: https://github.com/8bitDream/AmiiboAPI/sessions/ac508eb5-e4ed-4bcb-91b1-818caebcf5de

Co-authored-by: AbandonedCart <1173913+AbandonedCart@users.noreply.github.com>
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.

2 participants