Skip to content

Bump starlette from 0.41.2 to 1.3.1 in /experiments/agentcompany/openhands#37

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/experiments/agentcompany/openhands/starlette-1.3.1
Open

Bump starlette from 0.41.2 to 1.3.1 in /experiments/agentcompany/openhands#37
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/experiments/agentcompany/openhands/starlette-1.3.1

Conversation

@dependabot

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

Copy link
Copy Markdown

Bumps starlette from 0.41.2 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.

Greptile Summary

This PR updates the OpenHands experiment's Python dependency pin for Starlette. It changes:

  • starlette from 0.41.2 to 1.3.1.
  • Only experiments/agentcompany/openhands/requirements.txt.
  • No application code or tests.

Confidence Score: 1/5

Not safe to merge until T-Rex findings are addressed.

  • The new Starlette pin conflicts with the existing FastAPI pin in the same requirements file.
  • Installing this environment can fail during dependency resolution.
  • Forcing the install would leave FastAPI running against an unsupported Starlette major version.

T-Rex reproduced 2 failing behaviors at runtime in experiments/agentcompany/openhands/requirements.txt; the change needs fixes before it is safe to merge.

experiments/agentcompany/openhands/requirements.txt needs the Starlette/FastAPI pins aligned.

T-Rex T-Rex Logs

What T-Rex did

  • Queried package metadata for fastapi==0.115.4 and reviewed the dependency constraints.
  • Confirmed fastapi 0.115.4 requires starlette<0.42.0,>=0.40.0.
  • Compared the PR target starlette 1.3.1 to the allowed range and found it is outside the supported dependency window.
  • Checked for direct imports of starlette under experiments/agentcompany/openhands/ and found none.
  • Concluded that the environment would be rejected by dependency resolution or would run FastAPI against unsupported Starlette internals if forced.

View all artifacts

T-Rex Ran code and verified through T-Rex

Important Files Changed

Filename Overview
experiments/agentcompany/openhands/requirements.txt Updates the Starlette pin while leaving the existing FastAPI pin unchanged.

Fix All in Cursor Fix All in Claude Code Fix All in Codex

Prompt To Fix All With AI
Fix the following 1 code review issue. Work through them one at a time, proposing concise fixes.

---

### Issue 1 of 1
experiments/agentcompany/openhands/requirements.txt:169
**FastAPI constraint conflict**

`fastapi==0.115.4` in this same requirements file requires `starlette>=0.40.0,<0.42.0`, but this change pins `starlette==1.3.1`. With both pins present, pip cannot resolve the environment, so installing `experiments/agentcompany/openhands/requirements.txt` fails before the OpenHands experiment can run. If Starlette is forced past the resolver, FastAPI is still running against an unsupported major version of its Starlette dependency. Please either keep Starlette inside FastAPI 0.115.4's supported range or bump FastAPI to a release that supports Starlette 1.x.

Reviews (1): Last reviewed commit: "Bump starlette in /experiments/agentcomp..." | Re-trigger Greptile

Greptile also left 1 inline comment on this PR.

Bumps [starlette](https://github.com/Kludex/starlette) from 0.41.2 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.41.2...1.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jun 17, 2026
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedstarlette@​0.41.2 ⏵ 1.3.1100100 +31100100100

View full report

soupsieve==2.5
stack-data==0.6.3
starlette==0.41.2
starlette==1.3.1

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P0 FastAPI constraint conflict

fastapi==0.115.4 in this same requirements file requires starlette>=0.40.0,<0.42.0, but this change pins starlette==1.3.1. With both pins present, pip cannot resolve the environment, so installing experiments/agentcompany/openhands/requirements.txt fails before the OpenHands experiment can run. If Starlette is forced past the resolver, FastAPI is still running against an unsupported major version of its Starlette dependency. Please either keep Starlette inside FastAPI 0.115.4's supported range or bump FastAPI to a release that supports Starlette 1.x.

Artifacts

PyPI metadata check showing fastapi 0.115.4 requires starlette<0.42.0

  • Keeps the command output available without making the summary code-heavy.

PyPI metadata check showing fastapi 0.115.4 requires starlette<0.42.0

  • Keeps the command output available without making the summary code-heavy.

View artifacts

T-Rex Ran code and verified through T-Rex

Prompt To Fix With AI
This is a comment left during a code review.
Path: experiments/agentcompany/openhands/requirements.txt
Line: 169

Comment:
**FastAPI constraint conflict**

`fastapi==0.115.4` in this same requirements file requires `starlette>=0.40.0,<0.42.0`, but this change pins `starlette==1.3.1`. With both pins present, pip cannot resolve the environment, so installing `experiments/agentcompany/openhands/requirements.txt` fails before the OpenHands experiment can run. If Starlette is forced past the resolver, FastAPI is still running against an unsupported major version of its Starlette dependency. Please either keep Starlette inside FastAPI 0.115.4's supported range or bump FastAPI to a release that supports Starlette 1.x.

How can I resolve this? If you propose a fix, please make it concise.

Fix in Cursor Fix in Claude Code Fix in Codex

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.

0 participants