Skip to content

Bump starlette from 0.46.1 to 0.47.2 in /backend/requirements #5052

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 21, 2025

Bumps starlette from 0.46.1 to 0.47.2.

Release notes

Sourced from starlette's releases.

0.47.2

Fixed

  • Make UploadFile check for future rollover #2962.

New Contributors

Full Changelog: encode/starlette@0.47.1...0.47.2

Version 0.47.1

Fixed

  • Use Self in TestClient.__enter__ #2951
  • Allow async exception handlers to type-check #2949

Full Changelog: encode/starlette@0.47.0...0.47.1

Version 0.47.0

Added

  • Add support for ASGI pathsend extension #2671.
  • Add partitioned attribute to Response.set_cookie #2501.

Changed

  • Change methods parameter type from list[str] to Collection[str] #2903.
  • Replace import typing by from typing import ... in the whole codebase #2867.

Fixed

  • Mark ExceptionMiddleware.http_exception as async to prevent thread creation #2922.

New Contributors

Full Changelog: encode/starlette@0.46.2...0.47.0

Version 0.46.2

... (truncated)

Changelog

Sourced from starlette's changelog.

0.47.2 (July 20, 2025)

Fixed

  • Make UploadFile check for future rollover #2962.

0.47.1 (June 21, 2025)

Fixed

  • Use Self in TestClient.__enter__ #2951.
  • Allow async exception handlers to type-check #2949.

0.47.0 (May 29, 2025)

Added

  • Add support for ASGI pathsend extension #2671.
  • Add partitioned attribute to Response.set_cookie #2501.

Changed

  • Change methods parameter type from list[str] to Collection[str] #2903.
  • Replace import typing by from typing import ... in the whole codebase #2867.

Fixed

  • Mark ExceptionMiddleware.http_exception as async to prevent thread creation #2922.

0.46.2 (April 13, 2025)

Fixed

  • Prevents reraising of exception from BaseHttpMiddleware #2911.
  • Use correct index on backwards compatible logic in TemplateResponse #2909.
Commits

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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.

Summary by cubic

Upgraded starlette from 0.46.1 to 0.47.2 to include bug fixes and new features.

  • Dependencies
    • Picks up fixes for file uploads, async exception handling, and adds support for the ASGI pathsend extension.

Bumps [starlette](https://github.com/encode/starlette) from 0.46.1 to 0.47.2.
- [Release notes](https://github.com/encode/starlette/releases)
- [Changelog](https://github.com/encode/starlette/blob/master/docs/release-notes.md)
- [Commits](encode/starlette@0.46.1...0.47.2)

---
updated-dependencies:
- dependency-name: starlette
  dependency-version: 0.47.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 21, 2025
@dependabot dependabot bot requested a review from a team as a code owner July 21, 2025 23:56
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 21, 2025
Copy link

vercel bot commented Jul 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
internal-search ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 22, 2025 0:00am

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

Greptile Summary

This PR updates the Starlette web framework from version 0.46.1 to 0.47.2 in the backend requirements. The upgrade brings several important improvements and fixes:

  1. Enhanced file upload handling with future rollover checks
  2. Improved async exception handling and type checking
  3. Added ASGI pathsend extension support
  4. Better cookie management with new partitioned attribute
  5. More efficient exception middleware that prevents unnecessary thread creation

This change is particularly relevant for Onyx as it heavily relies on Starlette for its web framework functionality, especially in areas of file handling and async operations.

Confidence score: 4/5

  1. This is a minor version upgrade with well-documented changes and compatibility checks
  2. The changes are primarily fixes and improvements with minimal breaking changes, and Dependabot reports high compatibility
  3. Areas needing attention: Any code using methods parameter (now requires Collection[str] instead of list[str]), file upload implementations, and custom exception handlers

1 file reviewed, no comments

Edit Code Review Bot Settings | Greptile

@GeorgeGithiri5
Copy link

On the CI, just saw this error on pip install:

The conflict is caused by:
The user requested starlette==0.47.2
fastapi 0.115.12 depends on starlette<0.47.0 and >=0.40.0

This could mean the upgrade in starlette requires an upgrade in fastapi too.

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 python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant