Anthropic's Python SDK version 1.0, released on August 20, 2026, introduces several breaking changes, including an upgrade to httpx2 and a minimum Python version of 3.10. Key modifications include the removal of temperature, top_p, and top_k parameters from message creation methods, the deprecation of the legacy Text Completions API, and changes to how raw responses are handled. A significant silent failure mode arises because the SDK now uses httpx2, a fork of httpx, while many existing HTTP mocking and tracing libraries, such as respx and pytest-httpx, are still configured to work with the older httpx module, causing mocks to fail without error. AI
IMPACT Developers using the Anthropic Python SDK may face integration issues with existing HTTP mocking and tracing tools due to dependency changes.
RANK_REASON The item details a breaking change in a software library's dependency management and its impact on developer tooling.
Read on dev.to — Anthropic tag →
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →