Kingy AI
Retained canonical change record

Anthropic Python SDK v1 introduces breaking runtime and API changes

Anthropic released Python SDK v1 on August 20 with Python 3.10+, httpx2, removed legacy APIs and sampling parameters, async raw-response parsing changes, and stricter AnthropicBedrock region handling.

Claim review: 2026-10-05 · active

Required action

Pin the current SDK while preparing the upgrade; move to Python 3.10+, replace custom httpx objects with httpx2, remove legacy surfaces, update async parsing and configure an explicit Bedrock region before staging v1.

Scope and evidence limits

Claude API and AnthropicBedrock Python SDK integrations

Unpinned upgrades can fail at import, request construction, async response parsing or Bedrock client initialization. Python 3.9 environments cannot run v1.

not_tested

Official sources

Affected components

anthropic Python SDK v1, httpx2 transport, legacy Text Completions, Messages sampling parameters, async raw responses and AnthropicBedrock region handling

Affected users

Python applications upgrading the Anthropic SDK to v1, especially custom HTTP clients, mocks, legacy completions, sampling overrides, async raw-response parsing and Bedrock integrations.

Migration guidance

Upgrade the runtime to Python 3.10+, move custom HTTP configuration to httpx2, call httpx2.alias_httpx() when patch-based tracing or mocks require it, remove deleted APIs and parameters, await raw response parsing, and set an explicit AWS region for AnthropicBedrock.

Correction history

Event ID: ksr-anthropic-python-sdk-v1-2026-08-20. Historical before/after captures are not implied by this retained report.

Back to the tracker