Skip to content

Bug: Duplicate tomli entries and dead Flask dependencies in requirements.txt #10

Description

@anushagarg6

Description

requirements.txt contains two issues introduced during the FastAPI migration:

  1. Duplicate tomli: The package appears twice — once as tomli==2.0.1 (unconditional, added by the team) and once as tomli>=2.0.1; python_version < "3.11" (conditional, added earlier). This causes pip to emit a conflict warning and installs tomli unnecessarily on Python 3.11+.

  2. Dead Flask dependencies: flask==3.0.3 and flask-cors==4.0.1 are still listed even though the app was fully migrated to FastAPI. These packages are no longer imported or used anywhere in the codebase.

Impact

Slightly bloated installs, pip warnings, and potential version conflicts. Confusing for new contributors.

Location

requirements.txt

Fix Applied (commit 2936cb5)

Removed the duplicate conditional tomli entry. The dead Flask dependencies were also noted for cleanup.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions