Skip to content

Python: Bump starlette from 0.47.1 to 1.3.1 in /python/samples/demos/mcp_with_oauth#14094

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/python/samples/demos/mcp_with_oauth/starlette-1.3.1
Open

Python: Bump starlette from 0.47.1 to 1.3.1 in /python/samples/demos/mcp_with_oauth#14094
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/python/samples/demos/mcp_with_oauth/starlette-1.3.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 17, 2026

Copy link
Copy Markdown
Contributor

Bumps starlette from 0.47.1 to 1.3.1.

Release notes

Sourced from starlette's releases.

Version 1.3.1

What's Changed

Full Changelog: Kludex/starlette@1.3.0...1.3.1

Version 1.3.0

What's Changed

New Contributors

Full Changelog: Kludex/starlette@1.2.1...1.3.0

Version 1.2.1

What's Changed

New Contributors

Full Changelog: Kludex/starlette@1.2.0...1.2.1

Version 1.2.0

What's Changed

Full Changelog: Kludex/starlette@1.1.0...1.2.0

Version 1.1.0

... (truncated)

Changelog

Sourced from starlette's changelog.

1.3.1 (June 12, 2026)

Fixed

  • Enforce max_fields and max_part_size in FormParser #3329.
  • Enforce FormParser limits in parser callbacks #3331.

1.3.0 (June 11, 2026)

Added

  • Add httpx2 to the full extra #3323.
  • Annotate the URLPath protocol parameter with Literal #3285.

Fixed

  • Build request.url from structured components #3326.
  • Clamp oversized suffix ranges in FileResponse #3307.
  • Catch OSError alongside MultiPartException when closing temp files #3191.
  • Avoid collapsing exception groups raised from user code #2830.
  • Use removeprefix to strip the weak ETag indicator in is_not_modified #3193.
  • Fix IndexError in URL.replace() on a URL with no authority #3317.
  • Adjust testclient typing and warnings #3322.

1.2.1 (May 31, 2026)

Fixed

  • Use httpx2 for type checking in the testclient module #3304.
  • Add assert error for requires() when the request parameter is not a Request type #3298.

1.2.0 (May 28, 2026)

Added

  • Support httpx2 in the test client #3291.

1.1.0 (May 23, 2026)

Added

  • Use "application/octet-stream" as the FileResponse media type fallback #3283.

Fixed

  • Only dispatch standard HTTP verbs in HTTPEndpoint #3286.
  • Reject absolute paths in StaticFiles.lookup_path #3287.

1.0.1 (May 21, 2026)

... (truncated)

Commits
  • 8ebffd0 Version 1.3.1 (#3330)
  • 25b8e17 Enforce FormParser limits in parser callbacks (#3331)
  • dba1c4b Enforce max_fields and max_part_size in FormParser (#3329)
  • 45e51dc Use StarletteDeprecationWarning instead of DeprecationWarning (#3119)
  • 5f8610c Version 1.3.0 (#3327)
  • 167b585 Build request.url from structured components (#3326)
  • 3730925 Use removeprefix to strip weak ETag indicator in is_not_modified (#3193)
  • e6f7ad1 avoid collapsing exception groups from user code (#2830)
  • 115228f Annotate URLPath protocol parameter with Literal (#3285)
  • 113f193 docs: replace inline ASGI server list with link to canonical implemen… (#3204)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [starlette](https://github.com/Kludex/starlette) from 0.47.1 to 1.3.1.
- [Release notes](https://github.com/Kludex/starlette/releases)
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md)
- [Commits](Kludex/starlette@0.47.1...1.3.1)

---
updated-dependencies:
- dependency-name: starlette
  dependency-version: 1.3.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot requested a review from a team as a code owner June 17, 2026 13:34
Copilot AI review requested due to automatic review settings June 17, 2026 13:34
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file. Used by Dependabot. python:uv Pull requests that update python:uv code labels Jun 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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@moonbox3 moonbox3 added the python Pull requests for the Python Semantic Kernel label Jun 17, 2026
@github-actions github-actions Bot changed the title Bump starlette from 0.47.1 to 1.3.1 in /python/samples/demos/mcp_with_oauth Python: Bump starlette from 0.47.1 to 1.3.1 in /python/samples/demos/mcp_with_oauth Jun 17, 2026

@github-actions github-actions Bot 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.

Automated Code Review

Reviewers: 5 | Confidence: 77%

✓ Correctness

This is a straightforward lock file update bumping starlette from 0.47.1 to 1.3.1. The starlette dependency is transitive (pulled in by sse-starlette/mcp). The APIs used in this demo (Starlette, Route, Request, Response subclasses, HTTPException) are all stable core APIs that remain unchanged across the 0.x→1.x transition. The lock file format is correct with valid hashes and URLs. No correctness issues found.

✓ Security Reliability

This is a straightforward lock file update bumping starlette from 0.47.1 to 1.3.1, which includes security fixes for FormParser limit enforcement (DoS mitigation). The lock file change itself is correct with proper integrity hashes and a trusted PyPI source. However, the server/uv.lock (where starlette is directly used for HTTP request handling) was not updated and still pins starlette 0.47.1, meaning the security fixes don't reach the component that would benefit most from them.

✓ Test Coverage

This PR bumps starlette from 0.47.1 to 1.3.1 in a lock file for a demo/sample project (mcp_with_oauth). Starlette is a transitive dependency (not directly listed in pyproject.toml) and the demo has no tests. Since this is purely a lock file update for a sample project with no behavioral code changes in this repository, there are no test coverage concerns to flag.

✓ Failure Modes

This is a straightforward lock file update bumping starlette from 0.47.1 to 1.3.1 in a demo sample. The starlette APIs used in this project (Starlette, HTTPException, Request, Response, JSONResponse, HTMLResponse, RedirectResponse, Route) are all stable core APIs that remain available and unchanged in starlette 1.x. The lock file is auto-generated by uv and the hashes/URLs are consistent. No silent failure modes, swallowed exceptions, or operational issues are introduced by this change.

✗ Design Approach

This bump appears to target the wrong environment. The demo instructions run the authorization and resource servers from python/samples/demos/mcp_with_oauth/server (README.md:16-20, README.md:34-40), and those server entry points are the code that actually imports Starlette (server/mcp_simple_auth/auth_server.py:22-26, server/mcp_simple_auth/legacy_as_server.py:22-24). But the checked-in lockfile for that server environment still pins starlette to 0.47.1 (server/uv.lock:621-626), so updating only the top-level sample lockfile does not change the dependency used by the server code path this PR is trying to affect.

Flagged Issues

  • The PR updates python/samples/demos/mcp_with_oauth/uv.lock, but the Starlette-using server is installed and run from python/samples/demos/mcp_with_oauth/server per README.md:16-20 and README.md:34-40, and that separate environment still pins starlette to 0.47.1 in server/uv.lock:621-626.

Automated review by dependabot[bot]'s agents

Comment thread python/samples/demos/mcp_with_oauth/uv.lock
@github-actions

Copy link
Copy Markdown
Contributor

Flagged issue

The PR updates python/samples/demos/mcp_with_oauth/uv.lock, but the Starlette-using server is installed and run from python/samples/demos/mcp_with_oauth/server per README.md:16-20 and README.md:34-40, and that separate environment still pins starlette to 0.47.1 in server/uv.lock:621-626.


Source: automated DevFlow PR review

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

Labels

dependencies Pull requests that update a dependency file. Used by Dependabot. python:uv Pull requests that update python:uv code python Pull requests for the Python Semantic Kernel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants