Skip to content

uvicorn missing from requirements.txt #18

@anxkhn

Description

@anxkhn

Context

The README.md instructs users to run the server with uvicorn app.main:app --reload, but uvicorn is not listed in requirements.txt. After a fresh install, running the server fails with ModuleNotFoundError.

Steps to reproduce

  1. Clone the repo and create a fresh venv:
    python3 -m venv venv
    source venv/bin/activate
    pip install -r requirements.txt
  2. Try to start the server:
    uvicorn app.main:app --reload
  3. Error: ModuleNotFoundError: No module named 'uvicorn'

Expected behavior

Running pip install -r requirements.txt should install all dependencies needed to both test and run the application, including uvicorn.

Actual behavior

uvicorn is not in requirements.txt. Users must discover and install it manually.

Files

  • requirements.txt

Acceptance criteria

  • uvicorn is listed in requirements.txt
  • After pip install -r requirements.txt, running uvicorn app.main:app works
  • Use a recent version constraint (e.g., uvicorn>=0.29.0)

Suggested approach

  1. Open requirements.txt.
  2. Add uvicorn>=0.29.0 (or similar recent version).
  3. Test by installing in a fresh venv and running the server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions