Skip to content

Pin starlette in API requirements.txt - #5043

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

Pin starlette in API requirements.txt#5043
Marcus Robinson (marrobi) with Copilot wants to merge 6 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.

Copilot AI review requested due to automatic review settings August 24, 2026 14:59

@JC-wk James Chapman (JC-wk) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

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

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

@github-actions

github-actions Bot commented Aug 24, 2026

Copy link
Copy Markdown

Unit Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 38e1f36.

♻️ This comment has been updated with latest results.

Copilot AI review requested due to automatic review settings August 26, 2026 12:43

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

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

Copilot AI review requested due to automatic review settings August 27, 2026 10:22

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

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

@rudolphjacksonm

Copy link
Copy Markdown
Collaborator

Copilot bump the api version

Co-authored-by: rudolphjacksonm <13438569+rudolphjacksonm@users.noreply.github.com>
Copilot AI review requested due to automatic review settings August 27, 2026 10:35

Copilot AI commented Aug 27, 2026

Copy link
Copy Markdown
Contributor Author

Copilot bump the api version

Addressed in fa38180.

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Comment thread api_app/_version.py
@rudolphjacksonm

Copy link
Copy Markdown
Collaborator

/test fa38180

@github-actions

Copy link
Copy Markdown

🤖 pr-bot 🤖

🏃 Running tests: https://github.com/microsoft/AzureTRE/actions/runs/33063905112 (with refid 1985051b)

(in response to this comment from Jack Morris (@rudolphjacksonm))

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

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

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

5 participants