Skip to content

Pin starlette in API requirements.txt - #5043

Open
Marcus Robinson (marrobi) with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-starlette-requirements
Open

Pin starlette in API requirements.txt#5043
Marcus Robinson (marrobi) with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-starlette-requirements

Conversation

Copilot AI commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Resolves #5036

What is being addressed

api_app/main.py imports Starlette directly (starlette.exceptions.HTTPException, starlette.middleware.errors.ServerErrorMiddleware), but Starlette was not listed in api_app/requirements.txt. Its version was only resolved transitively via FastAPI, leaving it unpinned and uncontrolled.

How is this addressed

Co-authored-by: marrobi <17089773+marrobi@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix missing Starlette dependency in requirements.txt Pin starlette in API requirements.txt Aug 17, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Pins the API’s direct Starlette dependency for reproducible dependency resolution.

Changes:

  • Pins Starlette 1.3.1.
  • Bumps API patch version to 0.26.6.
  • Documents the fix in the changelog.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
CHANGELOG.md Adds the bug-fix entry.
api_app/requirements.txt Pins Starlette 1.3.1.
api_app/_version.py Bumps the API version.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

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.

Starlette is imported in the API but not pinned in requirements.txt

3 participants