PulseAugur
EN
LIVE 22:45:27

Anthropic Python SDK 1.0 breaks HTTP mocks with httpx2 upgrade

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 →

Anthropic Python SDK 1.0 breaks HTTP mocks with httpx2 upgrade

COVERAGE [1]

  1. dev.to — Anthropic tag TIER_1 English(EN) · Manu Shukla ·

    Anthropic Python SDK 1.0 dropped httpx on 20 August 2026: what breaks in your mocks and tracing

    <h1> Anthropic Python SDK 1.0 dropped httpx on 20 August 2026: what breaks in your mocks and tracing </h1> <p><strong>Summary.</strong> Version 1.0.0 of the <code>anthropic</code> Python package was published to PyPI on 20 August 2026 at 19:58 UTC. It requires Python 3.10 or late…