Skip to content

chore(deps): bump starlette from 0.52.1 to 1.3.1 in /envs/qed_math_env#914

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/envs/qed_math_env/starlette-1.3.1
Closed

chore(deps): bump starlette from 0.52.1 to 1.3.1 in /envs/qed_math_env#914
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/envs/qed_math_env/starlette-1.3.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 3, 2026

Copy link
Copy Markdown
Contributor

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

Note

High Risk
Starlette 1.x is a major upgrade on the FastAPI/Gradio request path (URL construction, multipart/form limits, static file handling), so regressions or stricter parsing could affect the env server and any Gradio UI without code changes.

Overview
Updates envs/qed_math_env/uv.lock so transitive HTTP stack versions move forward, chiefly starlette 0.52.1 → 1.3.1 (major). That version is pulled in by fastapi (OpenEnv server runtime) and gradio.

The lock refresh also bumps gradio 6.9.0 → 6.19.0 and gradio-client 2.3.0 → 2.5.0, with Gradio’s dependency list dropping aiofiles / ffmpy and adding hf-gradio. Standalone lock entries for aiofiles and ffmpy are removed as they’re no longer in the resolved graph.

No application source or pyproject.toml changes—only the resolved dependency snapshot.

Reviewed by Cursor Bugbot for commit 3f13a74. Bugbot is set up for automated code reviews on this repo. Configure here.

Bumps [starlette](https://github.com/Kludex/starlette) from 0.52.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.52.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 added Dependencies python:uv Pull requests that update python:uv code labels Jul 3, 2026
@burtenshaw burtenshaw added environment size: small Small pull request labels Jul 3, 2026 — with Cursor

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Alignment Review Report

Scope: lockfile-only change — envs/qed_math_env/uv.lock (+23 / −29). No Python source is touched. Reviewed against git diff d9ed15d...3f13a74.

Automated Checks

  • Lint (.claude/hooks/lint.sh): PASS for this PR. No .py files are modified, so nothing here is attributable to the change. (The hook does report pre-existing format drift in unrelated envs — chat_env, opencode_env, coding_tools_env, etc. — but none in qed_math_env and none in this diff.)
  • Debug code (.claude/hooks/check-debug.sh): CLEAN for this PR. All findings are pre-existing in src/ (docstring examples, CLI console output, a manual test script) and unrelated to a lockfile bump.

Open RFCs Context

Open: 000, 001, 002, 003, 005 (In Review), 010 (Draft), 004 (Rubrics). qed_math_env is a rubric / LLM-judge env, so RFC 004 governs its domain — but a dependency-lock bump doesn't touch reward/rubric logic. No open RFC governs dependency versions, so there is nothing to reconcile.

Tier 1: Fixes Required

None. A uv-resolved lockfile bump can't introduce syntax/import/type errors, and the resolution is internally consistent:

  • fastapi 0.135.1 is locked, satisfying the repo's fastapi>=0.116.0 floor from #810 (the pin that guards against the earlier starlette 0.46+ incompatibility).
  • starlette 1.x is already the norm across the monorepo (multiple envs pin 1.0.1 / 1.3.1), so 1.3.1 is well-precedented — not a first crossing into 1.x.

Tier 2: Alignment Discussion

Principle Conflicts: None identified. The change doesn't touch any architectural boundary (rewards-in-environment, client/server separation, Gym-like vs. MCP APIs).

RFC Conflicts: None identified.

Advisory Notes (non-blocking)

  1. Title vs. actual scope. The title says "bump starlette 0.52.1 → 1.3.1", but the re-resolve also bumps gradio 6.9.0 → 6.19.0 and gradio-client 2.3.0 → 2.5.0, adds hf-gradio 0.4.1, and drops aiofiles + ffmpy. gradio is a transitive dep of openenv-core used only for the optional debug web UI (ENABLE_WEB_INTERFACE), so blast radius is small — but a merger reading only the title should know gradio moved ~10 minor versions.
  2. Optional smoke test. starlette is the ASGI layer under both the HTTP and the WebSocket (Gym-like orchestration) interfaces, and this repo has prior starlette-compat history (#810). A quick qed_math_env server smoke test (/health, reset, step, WebSocket) before merge would fully de-risk it. Suggested reviewers: @sergiopaniego / @burtenshaw (authored the #810 fastapi/starlette compat pin) and @Darktex (owns the "cutting-edge for stability" principle and the WebSocket communication invariant).

Summary

  • 0 mechanical issues to fix
  • 0 principle/alignment violations
  • 0 RFC conflicts
  • 2 advisory notes for the merger (gradio scope creep; optional smoke test)

Overall: a routine, low-risk transitive dependency bump — safe to merge once CI is green.

Open in Web View Automation 

Sent by Cursor Automation: Pre-review

Comment thread envs/qed_math_env/uv.lock
[[package]]
name = "starlette"
version = "0.52.1"
version = "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.

starlette 0.52.1 → 1.3.1 (major bump). This is internally consistent and well-precedented: the locked fastapi 0.135.1 satisfies the fastapi>=0.116.0 floor from #810 (which guarded against the earlier starlette 0.46+ break), and other envs in this repo already pin starlette 1.x. Since starlette is the ASGI layer under both the HTTP and WebSocket interfaces, a quick server smoke test is the only real residual risk before merge.

Comment thread envs/qed_math_env/uv.lock
[[package]]
name = "gradio"
version = "6.9.0"
version = "6.19.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Heads-up: this is where the re-resolution pulls gradio 6.9.0 → 6.19.0 (~10 minor versions) as a side effect of the starlette bump — the PR title only mentions starlette. In the same update, gradio-client goes 2.3.0 → 2.5.0, hf-gradio 0.4.1 is added, and aiofiles + ffmpy are dropped. gradio is only used for the optional debug web UI, so low blast radius, but worth calling out since it's not reflected in the title.

@burtenshaw

Copy link
Copy Markdown
Collaborator

Closed in favor of aggregate Dependabot PR #921.

@burtenshaw burtenshaw closed this Jul 6, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/uv/envs/qed_math_env/starlette-1.3.1 branch July 6, 2026 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dependencies environment python:uv Pull requests that update python:uv code size: small Small pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant