Skip to content

build(deps): consolidate Dependabot updates for envs/ - #1606

Closed
cursor[bot] wants to merge 10 commits into
mainfrom
dependabot/envs-consolidated
Closed

cursor[bot] wants to merge 10 commits into
mainfrom
dependabot/envs-consolidated

Conversation

@cursor

@cursor cursor Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Consolidates all open Dependabot PRs that bump dependencies inside envs/* into a single branch, rebased on latest main. Each original bump is preserved as its own commit for traceability. All five PRs bump pillow 12.3.0 → 13.0.0 (a security/maintenance release) in different, independent environments, so they merged with no conflicts.

Included:

Per our dependency policy, envs/ environments don't need the same bar as src/ — these are self-contained, so each lockfile update only affects its own environment.

Type of Change

  • Bug fix (dependency maintenance / security)
  • New feature
  • Breaking change
  • Documentation
  • New environment
  • Refactoring

Alignment Checklist

  • I have read .claude/docs/PRINCIPLES.md and this PR aligns with our principles
  • I have checked .claude/docs/INVARIANTS.md and no invariants are violated (each env stays self-contained; no cross-env imports introduced)
  • I have run tests and lint and addressed all issues

RFC Status

  • Not required (dependency bumps only)

Test Plan

  • uv lock --check passes in each updated environment (harbor_env, helium_browser_env, posttrain_env, tau2_env, thinkingbox_env), confirming each lockfile is internally consistent with its pyproject.toml.
  • These environments have optional heavy dependencies not installed in this sandbox, so full per-env test suites were not run; lockfile resolution succeeding is the available signal here. CI will exercise the per-env test/build jobs.

Claude Code Review

N/A — triage automation run; individual Dependabot PRs were reviewed for mergeability and consolidated manually.

Open in Web View Automation 

Note

Medium Risk
Pre-release Gradio 7 and httpx2 stack changes can affect UI and outbound HTTP in those envs; pillow 13 is a major transitive bump but scoped to isolated lockfiles.

Overview
Refreshes uv.lock in several envs/* Python environments after merging Dependabot bumps, with no pyproject.toml changes in the diff shown.

The lockfiles move transitive pillow from 12.3.0 to 13.0.0 (the stated security/maintenance target). The same resolution pass also upgrades gradio / gradio-client to 7.0.0.dev0 / 2.8.0.dev0, which pulls new dependencies (cryptography, psutil, truststore) and shifts Gradio’s HTTP stack from httpx to httpx2 (with httpcore2, httpx2-jsfetch, and safehttpx 0.2.0). helium_browser_env additionally relaxes platform markers on secretstorage dependencies and bumps the lock revision.

Affected locks in the diff: harbor_env, helium_browser_env, and posttrain_env (the PR description also lists tau2_env and thinkingbox_env).

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

dependabot Bot and others added 10 commits November 11, 2026 12:27
Bumps [pillow](https://github.com/python-pillow/Pillow) from 12.3.0 to 13.0.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](python-pillow/Pillow@12.3.0...13.0.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-version: 13.0.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pillow](https://github.com/python-pillow/Pillow) from 12.3.0 to 13.0.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](python-pillow/Pillow@12.3.0...13.0.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-version: 13.0.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pillow](https://github.com/python-pillow/Pillow) from 12.3.0 to 13.0.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](python-pillow/Pillow@12.3.0...13.0.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-version: 13.0.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pillow](https://github.com/python-pillow/Pillow) from 12.3.0 to 13.0.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](python-pillow/Pillow@12.3.0...13.0.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-version: 13.0.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pillow](https://github.com/python-pillow/Pillow) from 12.3.0 to 13.0.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](python-pillow/Pillow@12.3.0...13.0.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-version: 13.0.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: burtenshaw <burtenshaw@users.noreply.github.com>
Co-authored-by: burtenshaw <burtenshaw@users.noreply.github.com>
Co-authored-by: burtenshaw <burtenshaw@users.noreply.github.com>
Co-authored-by: burtenshaw <burtenshaw@users.noreply.github.com>
Co-authored-by: burtenshaw <burtenshaw@users.noreply.github.com>
@burtenshaw burtenshaw added environment size: extra-large Extra-large pull request labels Nov 12, 2026 — with Cursor

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit d70914a. Configure here.

Comment thread envs/harbor_env/uv.lock
[[package]]
name = "gradio-client"
version = "2.7.0"
version = "2.8.0.dev0"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Lockfile pins Gradio development release

High Severity

The pillow 13 bump has no compatible stable Gradio, so the lockfiles now pin gradio 7.0.0.dev0 and gradio-client 2.8.0.dev0. That unreleased major version has breaking changes, so environment web UIs and Spaces can fail when these locks are installed.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit d70914a. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Alignment Review Report

Scope: this PR only touches 5 lockfiles (envs/{harbor_env,helium_browser_env,posttrain_env,tau2_env,thinkingbox_env}/uv.lock). No pyproject.toml, Dockerfile, or Python source changed.

Automated Checks

  • Lint (.claude/hooks/lint.sh): N/A to this diff — the hook only scans src/, tests/, envs/ *.py/.md formatting, and this PR contains no such files. The 47 pre-existing formatting findings it reports on a clean checkout are unrelated to this PR.
  • Debug code (.claude/hooks/check-debug.sh): CLEAN for this diff — all print()/TODO hits are pre-existing in src/ and not touched by this PR.

Open RFCs Context

  • RFC 014 (Environment Services, In Review, @rycerzes) covers posttrain_env and states evaluator dependencies "are pinned too, so scores don't change with a new release." Tangential here (the bump below is the optional Gradio debug UI, not the evaluator sandbox), but worth a mention since posttrain_env is one of the 5 envs touched.
  • No RFC blocks or conflicts with a routine lockfile bump in principle.

Tier 1: Fixes Required

  • envs/harbor_env/uv.lock, envs/helium_browser_env/uv.lock, envs/posttrain_env/uv.lock, envs/tau2_env/uv.lock, envs/thinkingbox_env/uv.lock — these 5 lockfiles resolve gradio to 7.0.0.dev0 and gradio-client to 2.8.0.dev0 (pre-release/dev builds), while every other one of the ~35 envs in this repo that depends on Gradio stays on stable 6.30.0/2.7.2. I reproduced this locally: running uv lock --upgrade-package gradio against the real index in each of the 5 affected envs resolves cleanly to stable gradio v6.31.0 / gradio-client v2.7.2 (newer than what every other env pins, and still stable), and also reverts the associated pillow 13.0.0 -> 12.3.0, safehttpx 0.2.0 -> 0.1.7, and drops the psutil/httpcore2/httpx2/httpx2-jsfetch/truststore transitive additions that only .dev0 gradio pulls in. This strongly suggests the branches these 5 Dependabot PRs came from were locked with prereleases allowed (e.g. uv lock --upgrade --prerelease=allow), not a plain upgrade. Shipping a .dev0 build of the library that backs the optional web playground (ENABLE_WEB_INTERFACE=true) risks breaking that UI with untested, pre-release code and is inconsistent with every other environment's lockfile in the monorepo. Recommend re-locking these 5 files against stable releases only before merging.

Tier 2: Alignment Discussion

Principle Conflicts

ALIGNMENT FLAG: Pinning a pre-release dependency build

  • Principle/RFC at stake: PRINCIPLES.md "What We Trade Off" — "Cutting-edge for stability: FastAPI over experimental frameworks"
  • The concern: These 5 lockfiles pin gradio==7.0.0.dev0 / gradio-client==2.8.0.dev0, an unreleased dev snapshot, rather than the latest stable line (6.31.0) that every other environment in the repo uses. That directly trades stability for "cutting edge" in a way the principle says we don't do, and creates lockfile drift between these 5 envs and the rest of envs/ (self-contained envs are supposed to stay aligned on shared patterns per CLAUDE.md).
  • Suggested reviewer: @Darktex (author of PRINCIPLES.md's stability trade-off)

RFC Conflicts

None identified — no open RFC proposes or depends on a specific Gradio/pillow pin, so this is a mechanical regeneration fix rather than a design conflict. The RFC 014 note above is informational only, not a conflict.

Summary

  • 1 mechanical issue to fix (prerelease dependency pins across 5 lockfiles — same root cause, same fix)
  • 1 alignment point for human review (stability trade-off / cross-env consistency)
  • 0 RFC conflicts to discuss
Open in Web View Automation 

Sent by Cursor Automation: Pre-review

Comment thread envs/harbor_env/uv.lock
[[package]]
name = "gradio"
version = "6.27.0"
version = "7.0.0.dev0"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Tier 1: resolves to a pre-release (7.0.0.dev0) instead of the latest stable gradio (6.31.0, confirmed by re-running uv lock --upgrade-package gradio here against the real index). Every other env in the repo stays on stable 6.30.0. Recommend re-locking without allowing prereleases.

[[package]]
name = "gradio"
version = "6.29.0"
version = "7.0.0.dev0"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Tier 1: same issue — gradio resolves to pre-release 7.0.0.dev0 here instead of stable 6.31.0. See the top-level review comment for the repro and the other 4 affected lockfiles.

[[package]]
name = "gradio"
version = "6.30.0"
version = "7.0.0.dev0"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Tier 1: same issue — gradio resolves to pre-release 7.0.0.dev0 here instead of stable 6.31.0. Note RFC 014 (In Review) specifically calls out keeping posttrain_env's dependencies pinned for score reproducibility, so an inadvertent prerelease pin here is worth extra care.

Comment thread envs/tau2_env/uv.lock
[[package]]
name = "gradio"
version = "6.28.0"
version = "7.0.0.dev0"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Tier 1: same issue — gradio resolves to pre-release 7.0.0.dev0 here instead of stable 6.31.0. See the top-level review comment for the repro and the other 4 affected lockfiles.

[[package]]
name = "gradio"
version = "6.25.0"
version = "7.0.0.dev0"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Tier 1: same issue — gradio resolves to pre-release 7.0.0.dev0 here instead of stable 6.31.0. See the top-level review comment for the repro and the other 4 affected lockfiles.

@burtenshaw

Copy link
Copy Markdown
Collaborator

Holding this one. Pillow 13.0.0 fixes real advisories (GHSA-5x8w-8jj5-q52h is critical), but every stable gradio up to 6.31.0 requires pillow<13.0. Each of these lock updates therefore also moves the env to gradio 7.0.0.dev0 and gradio-client 2.8.0.dev0, a pre-release of the next major version published on 9 Nov. These locks build the deployed env images, so their web UI would run on that pre-release.

This can merge once a stable gradio release allows pillow 13. Regenerate the locks then and check that gradio resolves to a stable version.

@burtenshaw

Copy link
Copy Markdown
Collaborator

Closing in favour of #1620. It carries the same five pillow bumps plus the four newer envs/sql_optim_env bumps. The pillow 13 hold described above still applies there.

@burtenshaw burtenshaw closed this Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

environment size: extra-large Extra-large pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants