Skip to content

fix: remove unused flask dependency from requirements.txt#371

Open
abhishek-8081 wants to merge 1 commit intofireform-core:mainfrom
abhishek-8081:fix/remove-unused-flask-dependency
Open

fix: remove unused flask dependency from requirements.txt#371
abhishek-8081 wants to merge 1 commit intofireform-core:mainfrom
abhishek-8081:fix/remove-unused-flask-dependency

Conversation

@abhishek-8081
Copy link
Copy Markdown

What

Removed flask from requirements.txt — it's not imported anywhere in the codebase.

Why

The API is built entirely on FastAPI + Uvicorn. flask appears to be a leftover from the original hackathon version. Having it listed alongside fastapi is confusing for new contributors, and it pulls in unnecessary sub-dependencies (Werkzeug, Jinja2, MarkupSafe, etc.) that bloat the Docker image.

Verification

  • Ran grep -r "flask" --include="*.py" . from the project root → zero matches
  • Confirmed api/main.py uses from fastapi import FastAPI
  • No other file references Flask in any way

Fixes #370

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.

[BUG]: flask listed in requirements.txt but never imported anywhere in the project

1 participant