fix(deps): patch and minor security updates

Merged
RE
3d ago
+374-257

Patch and minor security updates of uv.lock. No package moves to a new major version. This fixes 56 of the 115 open Dependabot alerts (1 critical, 19 high, 31 medium, 5 low).

What changed

PackageFromToAlerts fixed
authlib1.6.91.9.112 (1 critical, 3 high, 7 medium, 1 low)
pypdf6.19.06.21.418 (10 high, 7 medium, 1 low)
mcp1.28.11.30.05 (1 high, 4 medium)
pyasn10.6.40.6.54 (4 high)
httplib20.31.20.32.01 (high)
soupsieve2.8.42.103 (medium)
cryptography46.0.546.0.72 (1 medium, 1 low)
opentelemetry-api1.39.11.45.22 (medium)
pyjwt2.14.02.15.02 (medium)
idna3.113.151 (medium)
multidict6.7.16.9.11 (medium)
pydantic-settings2.12.02.14.21 (medium)
python-dotenv1.2.11.2.21 (medium)
requests2.32.52.33.01 (medium)
pygments2.19.22.20.01 (low)
python-multipart0.0.300.0.311 (low)

Side effects of these updates:

  • lmnr 0.7.56 -> 0.7.62 (extra laminar, pin in pyproject.toml). lmnr==0.7.56 requires opentelemetry-semantic-conventions==0.60b1, which requires opentelemetry-api==1.39.1. 0.7.62 is the first release that accepts the semantic conventions of the patched opentelemetry-api.
  • The other OpenTelemetry packages follow opentelemetry-api: opentelemetry-sdk, opentelemetry-proto and the three opentelemetry-exporter-otlp-proto-* packages 1.39.1 -> 1.45.2; opentelemetry-instrumentation, opentelemetry-instrumentation-threading and opentelemetry-semantic-conventions 0.60b1 -> 0.66b2.
  • Added: joserfc 1.8.0 (new dependency of authlib), opentelemetry-exporter-http-transport 0.66b2 and opentelemetry-exporter-otlp-common 0.66b2 (new dependencies of the exporters).
  • Removed: importlib-metadata and zipp (opentelemetry-api no longer needs them).

This pull request also adds .github/dependabot.yml: weekly grouped updates for uv (/), npm (frameworks/browserbase_agent, frameworks/stagehand) and github-actions, with major version updates ignored.

What stays

59 alerts need a new major version and are not part of this pull request (5 critical, 33 high, 20 medium, 1 low):

PackageNowFirst patched versionAlerts
pillow12.3.013.0.043
starlette0.52.11.0.1 to 1.3.15
cryptography46.0.748.0.1 to 50.0.04
oauthlib3.3.14.0.0, 4.0.14
soupsieve2.103.0.2, 4.0.03

Proof

Each command ran on main (before) and on this branch (after), on Linux with Python 3.12.

CommandBeforeAfter
uv sync --frozen --python 3.12 --all-extras --all-groupsokok
uv run python review_rubric_revision.pyexit 0, Validated 18 revised taskssame
uv run python -m unittest discover -s testsRan 78 tests, OK (skipped=3)Ran 78 tests, OK (skipped=3)
uv run ruff check bcode_runner.py bcode_eval.py bcode_results.py tests/test_bcode_runner.py tests/test_bcode_binary.pyAll checks passed!All checks passed!
import of each of the 58 first-party modules outside tests/58 ok58 ok
uvx pyright --pythonpath .venv/bin/python .61 errors61 errors, the same list

The 3 skipped tests are skipped before and after: they need a Chrome binary (BCODE_TEST_CHROME) or a released binary (BCODE_TEST_BIN), which the test machine did not have.

Laminar: the calls that bcode_results.py makes were run offline against lmnr 0.7.56 and 0.7.62 with a dummy key and an unreachable endpoint: Laminar.initialize(..., instruments=set()), Laminar.start_as_current_span("evaluation.task", span_type="EVALUATION", input=...), Laminar.get_trace_id(), Laminar.set_span_output(...), Laminar.flush(). Both versions return a UUID trace id and then only fail to export, as expected. LaminarClient().evals.init, create_datapoint and update_datapoint accept the same keyword arguments in both versions. No run against the real Laminar service was made.

First-party use of the updated packages: python-dotenv (load_dotenv), requests (orchestrator.py), pypdf (PdfReader in bcode_runner.py), cryptography (Fernet), lmnr (bcode_results.py). The other packages are transitive only.

The lockfile was written with uv 0.12.0, which keeps the lockfile format of main, so the diff holds only the version changes.

Dependabot pull requests that this replaces

#48, #58, #60, #62, #70, #71, #72, #77, #78, #79, #80, #81, #82, #84.

#47 (anyio), #57 (urllib3) and #61 (aiohttp) propose versions that main already has.

šŸ¤– Generated with Claude Code


Summary by cubic

Updates Python dependencies to the latest minor and patch versions, fixing 56 of 115 open Dependabot alerts (1 critical, 19 high, 31 medium, 5 low) without any major version bumps. Also adds .github/dependabot.yml for weekly grouped dependency updates on uv, npm and GitHub Actions.

Side effects

  • lmnr is bumped from 0.7.56 to 0.7.62 in pyproject.toml because 0.7.56 requires the vulnerable opentelemetry-api version.
  • The OpenTelemetry packages follow opentelemetry-api 1.39.1 → 1.45.2, with instrumentation and semantic conventions going 0.60b1 → 0.66b2.
  • joserfc, opentelemetry-exporter-http-transport and opentelemetry-exporter-otlp-common are added as transitive dependencies; importlib-metadata and zipp are removed.
  • The remaining 59 alerts need major version updates and are intentionally left out.
  • The full test suite, ruff and pyright all report identical results before and after.