Skip to content

chore(deps): uv: bump the all-python group across 1 directory with 7 updates - #693

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/agent/all-python-c37651d09a
Open

chore(deps): uv: bump the all-python group across 1 directory with 7 updates#693
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/agent/all-python-c37651d09a

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 1, 2026

Copy link
Copy Markdown
Contributor

Bumps the all-python group with 7 updates in the /agent directory:

Package From To
boto3 1.43.40 1.43.56
claude-agent-sdk 0.2.110 0.2.128
fastapi 0.139.0 0.140.7
uvicorn 0.50.0 0.51.0
aws-opentelemetry-distro 0.18.0 0.19.0
ruff 0.15.20 0.16.0
ty 0.0.56 0.0.64

Updates boto3 from 1.43.40 to 1.43.56

Commits
  • 72a153d Merge branch 'release-1.43.56'
  • b1b9ff3 Bumping version to 1.43.56
  • c7d2f6e Add changelog entries from botocore
  • 2a09bb6 Merge branch 'release-1.43.55'
  • cad396b Merge branch 'release-1.43.55' into develop
  • ffe76ba Bumping version to 1.43.55
  • 74d20c9 Add changelog entries from botocore
  • c073381 Merge branch 'release-1.43.54'
  • 5e554e5 Merge branch 'release-1.43.54' into develop
  • 2ad1683 Bumping version to 1.43.54
  • Additional commits viewable in compare view

Updates claude-agent-sdk from 0.2.110 to 0.2.128

Release notes

Sourced from claude-agent-sdk's releases.

v0.2.128

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.220

PyPI: https://pypi.org/project/claude-agent-sdk/0.2.128/

pip install claude-agent-sdk==0.2.128

v0.2.127

Bug Fixes

  • Fixed premature stdin closure when background tasks are in flight: query() no longer closes stdin on the first result frame when background tasks (e.g. run_in_background: true subagents) are still running. Previously, closing stdin too early caused SDK-MCP tool calls from background tasks to fail with "Stream closed" and silently bypassed PreToolUse hooks. Stdin now stays open until all in-flight tasks complete and the final result frame arrives (#1103)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.219

PyPI: https://pypi.org/project/claude-agent-sdk/0.2.127/

pip install claude-agent-sdk==0.2.127

v0.2.126

New Features

  • terminal_reason on ResultMessage: ResultMessage.terminal_reason now surfaces why the query loop ended ("completed", "max_turns", "aborted_streaming", "aborted_tools", etc.). A value of "aborted_streaming" or "aborted_tools" means the turn was cancelled via ClaudeSDKClient.interrupt(). Mirrors the TypeScript SDK's SDKResultMessage.terminal_reason (#1142)
  • Typed model_usage on ResultMessage: ResultMessage.model_usage is now typed as dict[str, ModelUsage] instead of dict[str, Any], with a new ModelUsage TypedDict that mirrors the TypeScript SDK's shape. Includes optional canonicalModel and provider fields for stable model identification across provider-specific aliases (#1143)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.218

PyPI: https://pypi.org/project/claude-agent-sdk/0.2.126/

... (truncated)

Changelog

Sourced from claude-agent-sdk's changelog.

0.2.128

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.220

0.2.127

Bug Fixes

  • Fixed premature stdin closure when background tasks are in flight: query() no longer closes stdin on the first result frame when background tasks (e.g. run_in_background: true subagents) are still running. Previously, closing stdin too early caused SDK-MCP tool calls from background tasks to fail with "Stream closed" and silently bypassed PreToolUse hooks. Stdin now stays open until all in-flight tasks complete and the final result frame arrives (#1103)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.219

0.2.126

New Features

  • terminal_reason on ResultMessage: ResultMessage.terminal_reason now surfaces why the query loop ended ("completed", "max_turns", "aborted_streaming", "aborted_tools", etc.). A value of "aborted_streaming" or "aborted_tools" means the turn was cancelled via ClaudeSDKClient.interrupt(). Mirrors the TypeScript SDK's SDKResultMessage.terminal_reason (#1142)
  • Typed model_usage on ResultMessage: ResultMessage.model_usage is now typed as dict[str, ModelUsage] instead of dict[str, Any], with a new ModelUsage TypedDict that mirrors the TypeScript SDK's shape. Includes optional canonicalModel and provider fields for stable model identification across provider-specific aliases (#1143)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.218

0.2.125

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.217

0.2.124

Bug Fixes

  • Refused batch script CLI spawning on Windows: Blocked spawning .bat/.cmd CLI scripts (including npm's claude.cmd shim) on Windows to prevent command injection via cmd.exe metacharacter re-parsing (BatBadBut / CVE-2024-27980 class). Windows users relying on the npm shim should switch to the native installer, an explicit claude.exe path, or a platform wheel that bundles the CLI (#1127)
  • Windows cmd.exe metacharacter rejection: resume and session_id values containing cmd.exe metacharacters (& | < > ^ % ! ") or newlines now raise ValueError on Windows, preventing injection even if a cmd.exe hop is reintroduced. POSIX behavior is unchanged (#1127)
  • Dash-prefixed extra_args value binding: extra_args now uses --flag=value form when the value starts with -, preventing a dash-leading value from being misinterpreted as a separate CLI flag (#1127)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.216

0.2.123

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.215

... (truncated)

Commits
  • f8b9ec9 docs: update changelog for v0.2.128
  • ec77673 chore: release v0.2.128
  • cadaa63 chore: bump bundled CLI version to 2.1.220
  • 3145cc6 docs: update changelog for v0.2.127
  • 26b1a5c chore: release v0.2.127
  • f277fd8 chore: bump bundled CLI version to 2.1.219
  • e6e07f1 fix(query): don't close stdin on a result frame while tasks are in flight (#1...
  • 74fe445 docs: update changelog for v0.2.126
  • 013cb15 chore: release v0.2.126
  • ee68d65 chore: bump bundled CLI version to 2.1.218
  • Additional commits viewable in compare view

Updates fastapi from 0.139.0 to 0.140.7

Release notes

Sourced from fastapi's releases.

0.140.6

Refactors

  • ⚡️ Avoid flattening dependencies for request parameters, mainly for OpenAPI. PR #16073 by @​tiangolo.

0.140.5

Refactors

0.140.4

Refactors

0.140.3

Refactors

0.140.2

Refactors

Internal

0.140.1

Refactors

  • ♻️ Update the lru_cache limit for dependencies to account for large apps. PR #16062 by @​tiangolo.

0.140.0

Refactors

Docs

Internal

... (truncated)

Commits

Updates uvicorn from 0.50.0 to 0.51.0

Release notes

Sourced from uvicorn's releases.

Version 0.51.0

What's Changed

Full Changelog: Kludex/uvicorn@0.50.2...0.51.0

Version 0.50.1

What's Changed

New Contributors

Full Changelog: Kludex/uvicorn@0.50.0...0.50.1

Changelog

Sourced from uvicorn's changelog.

0.51.0 (July 8, 2026)

Added

  • Restart workers one at a time on SIGHUP, bringing each replacement up before retiring the old worker, so reloads no longer drop requests (#3025)

Removed

  • Remove colorama from the standard extra (#3027)

0.50.2 (July 6, 2026)

Fixed

  • Require websockets>=13.0, which the default websockets-sansio implementation needs (#3021)

0.50.1 (July 6, 2026)

Fixed

  • Split comma-separated Sec-WebSocket-Protocol values in the websockets-sansio implementation (#3019)
Commits
  • e4d0b05 Version 0.51.0 (#3028)
  • 944e43d Remove colorama from the standard extra (#3027)
  • 2e78770 Restart workers with overlap on SIGHUP for near-zero-downtime reloads (#3025)
  • a1b570c Version 0.50.2 (#3022)
  • 83c7da7 Require websockets>=13.0 for the default sansio implementation (#3021)
  • b4d0116 Version 0.50.1 (#3020)
  • 2a9151d Split comma-separated Sec-WebSocket-Protocol values in the websockets-sansi...
  • 1bf3ab4 Cover the excluded-directory branch in FileFilter with a direct test (#3014)
  • 837b5f9 Deflake multiprocess, reload, and signal supervisor tests (#2975)
  • See full diff in compare view

Updates aws-opentelemetry-distro from 0.18.0 to 0.19.0

Release notes

Sourced from aws-opentelemetry-distro's releases.

Release v0.19.0

What's Changed

  • fix(mcp): fall back to HTTP headers for server-side trace context when params._meta is absent (#829)
  • fix(mcp-instrumentation): always inject W3C trace context into outbound HTTP request headers so MCP servers that read context only from HTTP (API Gateways, service meshes, non-Python MCP servers) can join the caller's trace, even with OTEL_MCP_SUPPRESS_HTTP_INSTRUMENTATION enabled (#827)
  • Nightly dependency update: OpenTelemetry 1.44.0/0.65b0 (#799)
  • feat(genai): capture user input and agent output on llama_index invoke_agent spans (#824)
  • fix(crewai): use native per-call token usage when crewai provides it (#822)
  • fix(crewai): normalize tool description across crewai versions (#821)
  • fix(serviceevents): key the incident-snapshot dedup hash on operation + bounded throw-site origin (module/path.function) (#825)
  • fix(crewai): report per-call LLM token usage instead of cumulative total (#806)
  • fix(genai): serialize tool call arguments/results and blob bytes to match OTel util-genai (primitives kept native, bytes base64-encoded) (#817)
  • feat(genai): capture user input and agent output on invoke_agent spans (#815)
  • refactor(serviceevents): make the endpoint span processor framework-agnostic
  • fix(serviceevents): gate incident trace correlation on the SAMPLED flag and harden incident dedup/rate-limiting
  • fix(genai): serialize list-valued message content into typed parts so multimodal/reasoning content is no longer stringified to a Python repr in gen_ai.input/output.messages across langchain, llama_index, and crewai (#805)
  • feat: add OTel lite SDK for Lambda cold start optimization (#789)

Upstream Components

  • opentelemetry-api - 1.44.0
  • opentelemetry-sdk - 1.44.0
  • opentelemetry-exporter-otlp-proto-grpc - 1.44.0
  • opentelemetry-exporter-otlp-proto-http - 1.44.0
  • opentelemetry-propagator-b3 - 1.44.0
  • opentelemetry-propagator-jaeger - 1.44.0
  • opentelemetry-exporter-otlp-proto-common - 1.44.0
  • opentelemetry-sdk-extension-aws - 2.1.0
  • opentelemetry-propagator-aws-xray - 1.0.2
  • opentelemetry-distro - 0.65b0
  • opentelemetry-processor-baggage - 0.65b0
  • opentelemetry-propagator-ot-trace - 0.65b0
  • opentelemetry-instrumentation - 0.65b0
  • opentelemetry-instrumentation-aws-lambda - 0.65b0
  • opentelemetry-instrumentation-aio-pika - 0.65b0
  • opentelemetry-instrumentation-aiohttp-client - 0.65b0
  • opentelemetry-instrumentation-aiokafka - 0.65b0
  • opentelemetry-instrumentation-aiopg - 0.65b0
  • opentelemetry-instrumentation-asgi - 0.65b0
  • opentelemetry-instrumentation-asyncpg - 0.65b0
  • opentelemetry-instrumentation-boto3sqs - 0.65b0
  • opentelemetry-instrumentation-botocore - 0.65b0
  • opentelemetry-instrumentation-celery - 0.65b0
  • opentelemetry-instrumentation-confluent-kafka - 0.65b0
  • opentelemetry-instrumentation-dbapi - 0.65b0
  • opentelemetry-instrumentation-django - 0.65b0
  • opentelemetry-instrumentation-falcon - 0.65b0
  • opentelemetry-instrumentation-fastapi - 0.65b0
  • opentelemetry-instrumentation-flask - 0.65b0
  • opentelemetry-instrumentation-grpc - 0.65b0
  • opentelemetry-instrumentation-httpx - 0.65b0

... (truncated)

Changelog

Sourced from aws-opentelemetry-distro's changelog.

v0.19.0 - 2026-07-22

  • fix(mcp): fall back to HTTP headers for server-side trace context when params._meta is absent (#829)
  • fix(mcp-instrumentation): always inject W3C trace context into outbound HTTP request headers so MCP servers that read context only from HTTP (API Gateways, service meshes, non-Python MCP servers) can join the caller's trace, even with OTEL_MCP_SUPPRESS_HTTP_INSTRUMENTATION enabled (#827)
  • Nightly dependency update: OpenTelemetry 1.44.0/0.65b0 (#799)
  • feat(genai): capture user input and agent output on llama_index invoke_agent spans (#824)
  • fix(crewai): use native per-call token usage when crewai provides it (#822)
  • fix(crewai): normalize tool description across crewai versions (#821)
  • fix(serviceevents): key the incident-snapshot dedup hash on operation + bounded throw-site origin (module/path.function) (#825)
  • fix(crewai): report per-call LLM token usage instead of cumulative total (#806)
  • fix(genai): serialize tool call arguments/results and blob bytes to match OTel util-genai (primitives kept native, bytes base64-encoded) (#817)
  • feat(genai): capture user input and agent output on invoke_agent spans (#815)
  • refactor(serviceevents): make the endpoint span processor framework-agnostic
  • fix(serviceevents): gate incident trace correlation on the SAMPLED flag and harden incident dedup/rate-limiting
  • fix(genai): serialize list-valued message content into typed parts so multimodal/reasoning content is no longer stringified to a Python repr in gen_ai.input/output.messages across langchain, llama_index, and crewai (#805)
  • feat: add OTel lite SDK for Lambda cold start optimization (#789)
Commits
  • 821465a Pre-release: Update version to 0.19.0 (#834)
  • ed8782f Backport #797 to release/v0.19.x: add Python 3.14 Lambda runtime (#835)
  • 4dcbf60 test(e2e): wire Python Lambda Lite SDK test into Application Signals E2E (#833)
  • 315bddd fix(mcp): extract server-side trace context from HTTP headers when _meta is a...
  • 76f8f2d Nightly dependency update: OpenTelemetry 1.44.0/0.65b0 (#799)
  • ffa8c72 fix(mcp-instrumentation): inject W3C trace context into outbound HTTP headers...
  • d7e49b5 Revert "feat(genai): extract gen_ai.tool.call.arguments/result as LLO content...
  • f9bb4f5 feat(genai): capture user input and agent output on llama_index invoke_agent ...
  • 2b43f03 Add best-effort public ECR image signing to release workflow (#828)
  • 9356e72 Key incident-snapshot dedup hash on operation + throw-site origin (#825)
  • Additional commits viewable in compare view

Updates ruff from 0.15.20 to 0.16.0

Release notes

Sourced from ruff's releases.

0.16.0

Release Notes

Released on 2026-07-23.

Check out the blog post for a migration guide and overview of the changes!

Breaking changes

  • Ruff now enables a much larger set of rules by default (413, up from 59). See the blog post for more details and the new Default Rules page for a full listing of the enabled rules. Note that this is primarily an expansion, but 18 of the more opinionated pycodestyle (E) and pyflakes (F) rules have been removed from the default set: E401, E402, E701, E702, E703, E711, E712, E713, E714, E721, E731, E741, E742, E743, F403, F405, F406, and F722.

  • Ruff can now format Python code blocks in Markdown files and will do this by default. See the documentation for more details.

  • Ruff now supports ruff: ignore comments at the ends of lines, like noqa comments, or on the line preceding a diagnostic. For example, these both suppress an unused-import (F401) diagnostic:

    import math  # ruff: ignore[F401]
    ruff: ignore[F401]
    import os

  • Fixes are now shown in check and format --check output:

    ruff format --check .
    unformatted: File would be reformatted
     --> try.md:1:1
      |
    1 | ```python
      - import   math
    2 + import math
    3 | ```
      |
    1 file would be reformatted

    This example also shows off the Markdown formatting.

  • format --check now supports the same output formats as the linter, including the github and gitlab outputs for rendering annotations in CI:

    ruff format --check --output-format github .
    ::error title=ruff (unformatted),file=try.md,line=2,col=8,endLine=2,endColumn=10::try.md:2:8: unformatted: File would be reformatted

    See the CLI help or documentation for the full list of supported formats.

  • The filename, location, end_location, fix.edits[].location, and fix.edits[].end_location fields in the JSON output format may now be null rather than defaulting to the empty string and row 1, column 1, respectively.

... (truncated)

Changelog

Sourced from ruff's changelog.

0.16.0

Released on 2026-07-23.

Check out the blog post for a migration guide and overview of the changes!

Breaking changes

  • Ruff now enables a much larger set of rules by default (413, up from 59). See the blog post for more details and the new Default Rules page for a full listing of the enabled rules. Note that this is primarily an expansion, but 18 of the more opinionated pycodestyle (E) and pyflakes (F) rules have been removed from the default set: E401, E402, E701, E702, E703, E711, E712, E713, E714, E721, E731, E741, E742, E743, F403, F405, F406, and F722.

  • Ruff can now format Python code blocks in Markdown files and will do this by default. See the documentation for more details.

  • Ruff now supports ruff: ignore comments at the ends of lines, like noqa comments, or on the line preceding a diagnostic. For example, these both suppress an unused-import (F401) diagnostic:

    import math  # ruff: ignore[F401]
    ruff: ignore[F401]
    import os

  • Fixes are now shown in check and format --check output:

    ruff format --check .
    unformatted: File would be reformatted
     --> try.md:1:1
      |
    1 | ```python
      - import   math
    2 + import math
    3 | ```
      |
    1 file would be reformatted

    This example also shows off the Markdown formatting.

  • format --check now supports the same output formats as the linter, including the github and gitlab outputs for rendering annotations in CI:

... (truncated)

Commits
  • a2635fd Bump 0.16.0 (#27136)
  • 3433449 [ty] Reuse full call diagnostics for implicit setter calls (#27115)
  • 2240070 Reflect ruff: ignore and --add-ignore stabilization in documentation (#27...
  • 17ef711 Stabilize --add-ignore (#27125)
  • ef912bb Add newly stabilized rules to defaults (#27055)
  • b30f040 Stabilize new default rules (#27035)
  • bcd70c5 Exclude Markdown files from format-dev runs (#27052)
  • 87e51e2 Fix format --check spans for syntax errors (#27045)
  • afe2723 [flake8-gettext] Stabilize qualified-name and built-in binding resolution (...
  • a9702d8 [flake8-bandit] Stabilize string literal binding resolution (S310) (#26944)
  • Additional commits viewable in compare view

Updates ty from 0.0.56 to 0.0.64

Release notes

Sourced from ty's releases.

0.0.64

Release Notes

Released on 2026-07-27.

Bug fixes

  • Fix identity narrowing for NewTypes (#26439)
  • Make reachability analysis idempotent (#27163)

LSP server

  • Fix ParamSpec declaration hover and type navigation (#27183)
  • Implement LSP textDocument/implementation request (#25410)
  • Introduce shared primitives for parsing backticks in docstrings (#26928)
  • Render NumPy docstrings as structured Markdown (#25925)

CLI

  • Add --exclude-scripts and --include-scripts (#27169)
  • Discover uv workspace roots (#25551)

Diagnostics

  • Add a lint rule for combined abstract and final decorators (#26932)
  • Change --add-ignore to add space after the colon for ty: ignore (#27120)
  • Fix missing-override-decorator suggestion before Python 3.12 (#27166)
  • Reuse full call diagnostics for implicit setter calls (#27115)

Configuration

  • Allow unresolved unused venv home paths (#27162)
  • Simplify script metadata query (#27121)

Core type checking

  • Decorate only overload implementation signatures (#27147)
  • Don't consider known-instance types, generic aliases or non-singleton special-form types to be single-valued (#27137)
  • Improve identity comparison inference for singleton types (#27126)
  • Improve tuple membership and rich comparison inference (#27164)
  • Model walrus bindings from comprehensions (#26466)
  • Narrow tagged unions using identity comparisons (#27130)
  • Preserve Self in __new__ calls (#27003)
  • Preserve receiver constraints when binding overloaded methods (#27038)
  • Support generic manual PEP 695 type aliases (#27083)
  • Treat bivariance as covariant (#24319)

Performance

  • Avoid cycles when resolving ModuleType globals (#27182)

... (truncated)

Changelog

Sourced from ty's changelog.

0.0.64

Released on 2026-07-27.

Bug fixes

  • Fix identity narrowing for NewTypes (#26439)
  • Make reachability analysis idempotent (#27163)

LSP server

  • Fix ParamSpec declaration hover and type navigation (#27183)
  • Implement LSP textDocument/implementation request (#25410)
  • Introduce shared primitives for parsing backticks in docstrings (#26928)
  • Render NumPy docstrings as structured Markdown (#25925)

CLI

  • Add --exclude-scripts and --include-scripts (#27169)
  • Discover uv workspace roots (#25551)

Diagnostics

  • Add a lint rule for combined abstract and final decorators (#26932)
  • Change --add-ignore to add space after the colon for ty: ignore (#27120)
  • Fix missing-override-decorator suggestion before Python 3.12 (#27166)
  • Reuse full call diagnostics for implicit setter calls (#27115)

Configuration

  • Allow unresolved unused venv home paths (#27162)
  • Simplify script metadata query (#27121)

Core type checking

  • Decorate only overload implementation signatures (#27147)
  • Don't consider known-instance types, generic aliases or non-singleton special-form types to be single-valued (#27137)
  • Improve identity comparison inference for singleton types (#27126)
  • Improve tuple membership and rich comparison inference (#27164)
  • Model walrus bindings from comprehensions (#26466)
  • Narrow tagged unions using identity comparisons (#27130)
  • Preserve Self in __new__ calls (#27003)
  • Preserve receiver constraints when binding overloaded methods (#27038)
  • Support generic manual PEP 695 type aliases (#27083)
  • Treat bivariance as covariant (#24319)

Performance

  • Avoid cycles when resolving ModuleType globals (#27182)
  • Avoid expanding optional enum comparisons (#27105)

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Aug 1, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner August 1, 2026 06:17
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Aug 1, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner August 1, 2026 06:17
@dependabot dependabot Bot added the python:uv Pull requests that update python:uv code label Aug 1, 2026

@scottschreckengaust scottschreckengaust left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Verdict: Request changes

The ty bump inside this group breaks the build. //agent:typecheck (the build (agentcore) check) hard-fails at exit code 1, and the cause is this PR's own content, not a pre-existing main-branch condition. This is the same failure family that closed #626 — with a newer, worse ty (0.0.63 vs. 0.0.59 there).

Governance (ADR-003)

Dependabot group bump under the standing all-python group policy — the group-bump policy is the authorization, so no hand-filed backing issue is required. Labels dependencies + python:uv are correct. The dependabot/uv/... branch name is the expected convention for these PRs (de-facto waived). Governance is satisfied; this is purely a technical block.

Vision alignment

Keeping the agent runtime on current, patched deps supports a reliable, bounded control plane. No tenet is traded. The only concern is CI health (see blocker).

Blocking issues

1. ty 0.0.56 → 0.0.63 fails //agent:typecheck (build red) — agent/uv.lock (ty dev-dep) + agent/pyproject.toml

CI build (agentcore) is RED. I reproduced it locally in the PR worktree with uv run ty check7 error[invalid-assignment] diagnostics, exit 1. Every diagnostic is a false-positive-shaped regression in the tool against intentional negative-tests:

  • tests/test_attachments.py:46att.filename = "other.txt"
  • tests/test_models.py:30c.author = "bob"
  • tests/test_models.py:63issue.title = "Feature"
  • tests/test_models.py:140mc.repo_knowledge = ["new"]
  • tests/test_models.py:170hc.user_prompt = "changed"
  • tests/test_models.py:416setup.repo_dir = "/other"
  • tests/test_models.py:447u.input_tokens = 200

Each assignment lives inside a with pytest.raises(ValidationError): block against a model_config = ConfigDict(frozen=True, ...) Pydantic model (src/models.py:20,47,62,87,117,294,305). The test code is correct, idiomatic Pydantic-v2 immutability assertion; ty 0.0.63 newly treats the frozen-model field write as a static invalid-assignment error and hard-fails the typecheck. This is precisely the regression that got #626 closed.

This PR cannot merge while it makes the build red. Options (any one unblocks):

  • Drop the ty bump from this group PR (rebase the lockfile to keep ty==0.0.56), landing the runtime/tooling bumps that are green; or
  • In the SAME PR, add a targeted ty suppression for the frozen-model negative-tests (e.g. # ty: ignore[invalid-assignment] on the 7 assignment lines, or a per-file/per-rule config exclusion for tests/), so //agent:typecheck passes on 0.0.63; or
  • Hold ty back and let a dedicated PR adopt 0.0.63 with the suppressions, per the #626 precedent.

I verified the boto3 / claude-agent-sdk / fastapi / uvicorn / aws-opentelemetry-distro / ruff bumps are not themselves implicated in the failure — the sole red signal is ty.

Non-blocking suggestions / nits

N1. Stale claude-agent-sdk comment (comment rot) — agent/pyproject.toml:19

The pin moved to 0.2.128 but the trailing comment still reads:

#https://github.com/anthropics/claude-agent-sdk-python/releases/tag/v0.2.110 (bundles claude CLI 2.1.191; kept in lockstep with the npm CLI pin in the Dockerfile, #215)

The release URL and the parenthetical (v0.2.110, bundles claude CLI 2.1.191) are now provably wrong for a 0.2.128 pin. More importantly, the comment asserts a lockstep invariant with agent/Dockerfile:72, which still pins @anthropic-ai/claude-code@2.1.191. Since ~0.2.116 the SDK has bundled a newer CLI (the #626 memo noted 0.2.116 → CLI 2.1.207), so bumping the SDK to 0.2.128 without touching the Dockerfile npm pin drifts the SDK-bundled CLI away from the on-PATH CLI — the exact hazard the comment warns against ("the SDK and the on-PATH CLI must agree on the control protocol"). Dependabot cannot see this cross-file coupling. At minimum, refresh the comment to v0.2.128 and re-evaluate whether agent/Dockerfile:58/72 and the SDK must move together per #215/#215-lockstep. This is a nit only because it does not itself fail CI — but it is a latent correctness trap for the agent runtime and should be resolved before this lands (ideally folded into the fix for the blocker).

N2. Coincidental transitive drop is expected — agent/uv.lock

opentelemetry-instrumentation-elasticsearch is removed as a transitive of the aws-opentelemetry-distro 0.18.0 → 0.19.0 bump (upstream dropped it from its dependency set). No repo code imports it; benign. Noting for the record so a reviewer does not mistake it for an accidental deletion.

Documentation

No docs changes required or expected for a lockfile bump; no Starlight mirror impact. If the fix touches the claude-agent-sdk / Dockerfile lockstep (N1), the inline comment is the only "doc" and must be corrected in place.

Tests & CI

  • build (agentcore): FAIL — root cause is this PR's ty bump (reproduced locally). Blocking.
  • Secrets, deps, and workflow scan: pass.
  • Dead-code detection (advisory): pass (advisory).
  • Validate PR title: pass. CodeQL / auto-approve: skipping (expected).
  • No new tests needed for a dep bump; the existing immutability negative-tests are exactly what the tool now trips on. Bootstrap synth-coverage: not applicable (no CDK construct/stack/handler change).

Review agents run

This environment does not expose a subagent-dispatch tool, so I performed each in-scope agent's analysis directly (and reproduced CI locally rather than relying on the red check alone):

  • code-reviewer — ran (dependency-hygiene / cross-file coupling; found N1, N2).
  • comment-analyzer — ran (found N1 comment rot at pyproject.toml:19).
  • pr-test-analyzer — ran (analyzed the 7 ty diagnostics against the frozen-model negative-tests; blocker #1).
  • silent-failure-hunter — omitted: no error-handling / catch / fallback code in the diff.
  • type-design-analyzer — omitted: no new or modified types (lockfile/version strings only).
  • /security-review — omitted: no IAM, Cedar, network, secrets, or input-gateway change.

Human heuristics

  • Proportionality — Pass. Scope is a routine group bump; no over-engineering.
  • Coherence — Concern (N1): the claude-agent-sdk version and its Dockerfile CLI lockstep no longer name the same version — same concept, drifted terms across pyproject.toml:19 and Dockerfile:58/72.
  • Clarity — Concern (N1): the pyproject comment now misstates the pinned version and the lockstep invariant.
  • Appropriateness — Concern (blocker #1): the change is not currently maintainable-as-merged because it self-fails the team's typecheck gate; needs the ty regression handled per the #626 precedent before it can land.

…updates

Bumps the all-python group with 7 updates in the /agent directory:

| Package | From | To |
| --- | --- | --- |
| [boto3](https://github.com/boto/boto3) | `1.43.40` | `1.43.56` |
| [claude-agent-sdk](https://github.com/anthropics/claude-agent-sdk-python) | `0.2.110` | `0.2.128` |
| [fastapi](https://github.com/fastapi/fastapi) | `0.139.0` | `0.140.7` |
| [uvicorn](https://github.com/Kludex/uvicorn) | `0.50.0` | `0.51.0` |
| [aws-opentelemetry-distro](https://github.com/aws-observability/aws-otel-python-instrumentation) | `0.18.0` | `0.19.0` |
| [ruff](https://github.com/astral-sh/ruff) | `0.15.20` | `0.16.0` |
| [ty](https://github.com/astral-sh/ty) | `0.0.56` | `0.0.64` |



Updates `boto3` from 1.43.40 to 1.43.56
- [Release notes](https://github.com/boto/boto3/releases)
- [Commits](boto/boto3@1.43.40...1.43.56)

Updates `claude-agent-sdk` from 0.2.110 to 0.2.128
- [Release notes](https://github.com/anthropics/claude-agent-sdk-python/releases)
- [Changelog](https://github.com/anthropics/claude-agent-sdk-python/blob/main/CHANGELOG.md)
- [Commits](anthropics/claude-agent-sdk-python@v0.2.110...v0.2.128)

Updates `fastapi` from 0.139.0 to 0.140.7
- [Release notes](https://github.com/fastapi/fastapi/releases)
- [Commits](fastapi/fastapi@0.139.0...0.140.7)

Updates `uvicorn` from 0.50.0 to 0.51.0
- [Release notes](https://github.com/Kludex/uvicorn/releases)
- [Changelog](https://github.com/Kludex/uvicorn/blob/main/docs/release-notes.md)
- [Commits](Kludex/uvicorn@0.50.0...0.51.0)

Updates `aws-opentelemetry-distro` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/aws-observability/aws-otel-python-instrumentation/releases)
- [Changelog](https://github.com/aws-observability/aws-otel-python-instrumentation/blob/main/CHANGELOG.md)
- [Commits](aws-observability/aws-otel-python-instrumentation@v0.18.0...v0.19.0)

Updates `ruff` from 0.15.20 to 0.16.0
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.15.20...0.16.0)

Updates `ty` from 0.0.56 to 0.0.64
- [Release notes](https://github.com/astral-sh/ty/releases)
- [Changelog](https://github.com/astral-sh/ty/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ty@0.0.56...0.0.64)

---
updated-dependencies:
- dependency-name: aws-opentelemetry-distro
  dependency-version: 0.19.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-python
- dependency-name: boto3
  dependency-version: 1.43.56
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-python
- dependency-name: claude-agent-sdk
  dependency-version: 0.2.128
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-python
- dependency-name: fastapi
  dependency-version: 0.140.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-python
- dependency-name: ruff
  dependency-version: 0.16.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all-python
- dependency-name: ty
  dependency-version: 0.0.63
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all-python
- dependency-name: uvicorn
  dependency-version: 0.51.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-python
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/uv/agent/all-python-c37651d09a branch from 0697163 to db4f469 Compare August 3, 2026 19:18
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:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant