Packages

anthropic 2.14.0 vs. openai 3.60.0: Proxy Fixes, Deprecations & Provenance Trade-Offs

Anthropic's Python SDK v2.14.0 (released November 2026) fixes explicit proxy= and trust_env=False precedence in DefaultHttpxClient, while v2.13.0–v2.9.0 add Claude Opus 4.5 EOL dates, Bedrock body routing, and agent toolset hardening. Here is how it compares with openai 3.60.0 on transport, provenance, and upgrade risk.

By 0xScorPionSon

8 min read

anthropic 2.14.0 vs. openai 3.60.0: Proxy Fixes, Deprecations & Provenance Trade-Offs

Diagram comparing anthropic 2.14.0 and openai 3.60.0 Python SDKs across HTTPX transport, proxy overrides, and PyPI provenance

Executive Summary

  • Featured packages & versions: anthropic v2.14.0 (GitHub release published November 28, 2026; PyPI 2.14.0 artifact uploaded November 24, 2026) and openai v3.60.0 (PyPI release uploaded November 25, 2026), both targeting Python >=3.10 under the Apache-2.0 license.
  • Core AI & agent relevance: Both SDKs serve as the foundational Python client layer for frontier LLM APIs, tool-calling loops, structured outputs, and MCP/agent integrations—including Anthropic's anthropic[mcp] extra and OpenAI's Responses and Realtime WebSocket APIs.
  • Key breaking-behavior & deprecation takeaways: anthropic v2.14.0 fixes DefaultHttpxClient and DefaultAsyncHttpxClient so HTTP_PROXY/HTTPS_PROXY/ALL_PROXY/NO_PROXY environment variables no longer override caller-supplied proxy= or trust_env=False—which means hosts listed in NO_PROXY now route through an explicit proxy= unless excluded via mounts=. Meanwhile, v2.13.0 marks Claude Opus 4.5 deprecated with an end-of-life date of January 22, 2027.
  • Supply-chain provenance gap: As verified on PyPI on November 28, 2026, openai 3.60.0 ships with Full provenance (GitHub Actions PyPI Publish Attestations), whereas anthropic 2.14.0 uses Trusted Publishing via uv/0.9.13 on Ubuntu 26.04 without PEP 740 provenance metadata attached to its distribution files.

Adoption Telemetry & Version Changelog

Both official Python SDKs maintain rapid release cadences (multiple minor releases per week) to track server-side API additions, cloud-provider integrations (AWS Bedrock, Google Vertex AI, Microsoft Foundry/Azure), and transport hardening.

Verified Package Telemetry (Verified November 28, 2026)

  • anthropic (anthropics/anthropic-sdk-python):
    • GitHub Repository: anthropics/anthropic-sdk-python — 4.1k stars, 921 forks, 183 watching.
    • Latest Release: v2.14.0 (f1edcd7 on GitHub Releases; 2.14.0 wheel 2.7 MB and sdist 2.1 MB, 4.8 MB total on PyPI).
    • Runtime & License: Python >=3.10 (classifiers through Python 3.14), Apache-2.0 (with legacy MIT contributions noted in LICENSE-MIT).
    • Optional Extras: aiohttp, aws, bedrock, google-cloud, mcp, vertex, webhooks.
  • openai (openai/openai-python):
    • GitHub Repository: openai/openai-python — 32.3k stars (per GitHub repository metadata).
    • Latest Release: 3.60.0 (wheel 2.5 MB and sdist 2.4 MB, 4.9 MB total on PyPI, uploaded November 25, 2026 via twine/7.0.0 on CPython 3.13.16).
    • Runtime & License: Python >=3.10 (testing matrix covering Python 3.10 through 3.14, with 3.15 prerelease allowed-failure per PYTHON_VERSION_POLICY.md), Apache-2.0.
    • Optional Extras: aiohttp, bedrock, datalib, realtime, vertex, voice-helpers.

(Note: Live PyPI weekly/monthly download totals were not available from the PyPI HTML pages fetched in this run; only verified artifact sizes, checksums, GitHub star/fork counts, and release dates are reported.)

Key Milestones in anthropic v2.9.0 – v2.14.0

Version Release Highlight Operational Impact
v2.14.0 DefaultHttpxClient / DefaultAsyncHttpxClient proxy precedence fix; GCP data controls & compliance review APIs Explicit proxy= and trust_env=False now override HTTP_PROXY/NO_PROXY env vars
v2.13.0 Claude Opus 4.5 deprecated (EOL January 22, 2027); Admin API External Storage beta + failure/recovery webhooks Stops warning on retired models; prepares teams for Opus 4.5 sunset
v2.12.0 Bedrock user_profile_id moved from header to request body (400 on unsupported Bedrock models) Fixes silent header ignore on Amazon Bedrock; surfaces 400 errors early
v2.11.0 Cached raw schema for structured outputs; AWS SigV4 %20 query encoding fix; Claude Code managed settings Faster repeated structured-output calls; fixes SigV4 signature mismatches
v2.10.0 billing_policy beta param; contract_spend_limit_reached error; aiohttp connection errors no longer reported as timeouts Cleaner billing-limit error handling and accurate aiohttp exception mapping
v2.9.0 Agent toolset grep/file/memory hardening; deprecation of legacy anthropic-beta header strings Blocks rg config/PATH hijacking, symlinks outside /memories, and FIFO hangs

Security Patches, Breaking Changes & Internals

While v2.14.0 itself does not list a formal CVE or GHSA identifier, the v2.9.0 through v2.14.0 window ships substantial defense-in-depth hardening for agentic tool execution and subtle breaking-behavior changes for enterprise proxy, Bedrock, and multi-language SDK deployments.

1. Proxy & NO_PROXY Precedence Change in v2.14.0

Previously, DefaultHttpxClient and DefaultAsyncHttpxClient in anthropic-sdk-python read HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, and NO_PROXY from the environment even when the caller explicitly passed proxy= or trust_env=False, allowing environment variables to win. In v2.14.0, Anthropic aligned the wrapper with plain httpx2:

  • Passing trust_env=False now ignores all proxy environment variables.
  • Passing proxy=... routes every request through that proxy—including hosts previously listed in NO_PROXY.

If your production service passes proxy= explicitly while relying on NO_PROXY to bypass the proxy for internal metadata or VPC endpoints, you must switch to an explicit mounts= exclusion map:

from anthropic import Anthropic, DefaultHttpxClient

client = Anthropic(
    http_client=DefaultHttpxClient(
        proxy="http://corporate-proxy.internal:8080",
        mounts={"all://internal-gateway.local": None},
    )
)

2. Agent Toolset Hardening (v2.9.0), Structured Outputs (v2.11.0) & Bedrock (v2.12.0)

For teams using anthropic's built-in agent toolset runner, v2.9.0 closed several local execution and path-traversal edge cases:

  • grep tool isolation: Ignores local ripgrep config files, searches for rg only in absolute PATH entries (ignoring relative/empty PATH entries and any rg inside workdir or allowed_roots), strips ANTHROPIC_* environment variables from rg, skips FIFOs/device files in its built-in fallback search, and caps built-in CPU search at 30 seconds.
  • Memory & file tool confinement: Resolves dangling symlinks fully, hides symlinks pointing outside /memories, and reads memory files strictly through the validated path.
  • Amazon Bedrock user_profile_id: In v2.12.0, AnthropicBedrock and AsyncAnthropicBedrock move user_profile_id from the anthropic-user-profile-id header into the JSON request body (because Bedrock ignores the header). Requests targeting Bedrock models that do not support user profiles now fail fast with a 400 error instead of silently dropping the profile ID.
  • Structured output caching & AWS SigV4: v2.11.0 caches each call's raw output schema to reduce overhead on repeated structured-output requests and fixes AWS SigV4 signature mismatches by encoding query-string spaces as %20.
  • Legacy anthropic-beta header deprecation: v2.9.0 deprecates older beta header strings (such as prompt-caching-2024-07-31, pdfs-2024-09-25, and token-counting-2024-11-01) and stops sending message-batches-2024-09-24 on beta.messages.batches. Teams sharing schemas with C# services should also note that the C# AnthropicBeta enum renumbered its members, requiring a rebuild rather than binary drop-in reuse.

3. Transport & Identity Divergence: anthropic vs. openai

Comparing the internal transport and authentication layers of anthropic 2.14.0 and openai 3.60.0 highlights two different engineering priorities:

  • openai 3.60.0 defaults to HTTPX2 (DefaultHttpx2Client / DefaultAsyncHttpx2Client, plus DefaultAioHttpClient) and ships native Workload Identity Authentication (k8s_service_account_token_provider, azure_managed_identity_token_provider, gcp_id_token_provider) alongside X.509 mutual TLS (mTLS) federation via https://mtls.api.openai.com/v1.
  • mTLS origin & redirect lock: When using X.509 workload identity in openai 3.60.0, the SDK requires HTTPS, forces the Host authority to match the configured API origin, forbids provider API-key or proxy-only headers alongside X.509 auth, and recommends follow_redirects=False on DefaultHttpx2Client:
import os
import ssl
from openai import OpenAI, DefaultHttpx2Client
from openai.auth import x509_workload_identity

tls_context = ssl.create_default_context(
    cafile=os.getenv("OPENAI_MTLS_CA_BUNDLE"),
)
tls_context.load_cert_chain(
    certfile=os.environ["OPENAI_MTLS_CERTIFICATE_CHAIN"],
    keyfile=os.environ["OPENAI_MTLS_PRIVATE_KEY"],
)

client = OpenAI(
    workload_identity=x509_workload_identity(
        identity_provider_id=os.environ["OPENAI_IDENTITY_PROVIDER_ID"],
        service_account_id=os.environ["OPENAI_SERVICE_ACCOUNT_ID"],
    ),
    http_client=DefaultHttpx2Client(verify=tls_context, follow_redirects=False),
)
  • openai 3.60.0 webhook & stream guarantees: client.webhooks.unwrap() validates signatures against raw JSON strings, and Stream/AsyncStream explicitly avoid automatic retries on mid-stream failures so partially delivered tokens are never duplicated.

Ecosystem Comparison & Upgrade Checklist

Attribute anthropic (v2.14.0) openai (v3.60.0)
Latest Verified Date Nov 24 (PyPI) / Nov 28, 2026 (GitHub) Nov 25, 2026 (PyPI)
Python Floor Python >=3.10 (up to 3.14) Python >=3.10 (up to 3.14; 3.15 prerelease)
License Apache-2.0 Apache-2.0
Wheel / Sdist Size 2.7 MB / 2.1 MB 2.5 MB / 2.4 MB
PyPI Provenance Trusted Publishing (uv/0.9.13), no attestation Full provenance (GitHub Actions attestation)
Default HTTP Transport DefaultHttpxClient (httpx2-aligned) HTTPX2 (DefaultHttpx2Client / aiohttp)
Workload Identity / mTLS Bedrock SigV4, Vertex, GCP data controls Native K8s/Azure/GCP workload ID + X.509 mTLS
Primary Agent / Tool Extras anthropic[mcp], webhooks, bedrock, vertex openai[realtime], bedrock, vertex, aiohttp

Safe Upgrade & Pinning Checklist

  1. Audit proxy= + NO_PROXY usage before bumping to anthropic 2.14.0: Search your codebase for DefaultHttpxClient( or DefaultAsyncHttpxClient( combined with proxy=. If internal endpoints relied on NO_PROXY, add mounts={"all://your.host": None}.
  2. Inventory Claude Opus 4.5 references: With v2.13.0 marking Claude Opus 4.5 deprecated (EOL January 22, 2027), audit model IDs in config files and migrate workloads to supported Claude 5.x models (such as claude-opus-5-5 shown in the PyPI README).
  3. Strip deprecated anthropic-beta headers: Per v2.9.0, remove prompt-caching-2024-07-31, pdfs-2024-09-25, token-counting-2024-11-01, token-efficient-tools-2025-02-19, extended-cache-ttl-2025-04-11, cache-diagnosis-2026-04-07, ce-user-management-2026-07-13, and message-batches-2024-09-24 from custom request headers before they are removed from the SDKs.
  4. Verify Bedrock user_profile_id compatibility: If upgrading from v2.11.0 or earlier on Amazon Bedrock, test all AnthropicBedrock calls that pass user_profile_id to confirm target models accept it in the body without returning 400.
  5. Pin exact hashes in lockfiles: Use uv.lock or pip-compile --generate-hashes (verifying anthropic-2.14.0-py3-none-any.whl SHA-256 5cf986851f61c0858ac88c6f7c28490369a68ff4a89c309849605b764da0664d and openai-3.60.0-py3-none-any.whl SHA-256 476e79f256a4ce74848b7abae9f074352a69dca6e7e8987d565ee883a3b7e496) and verify openai PyPI attestations in CI.

Frequently Asked Questions

What is the minimum Python version for anthropic 2.14.0 and openai 3.60.0?

Both anthropic 2.14.0 and openai 3.60.0 require Python >=3.10 and publish classifiers supporting Python 3.10, 3.11, 3.12, 3.13, and 3.14.

Why did NO_PROXY stop working with proxy= in anthropic 2.14.0?

Before v2.14.0, DefaultHttpxClient and DefaultAsyncHttpxClient let HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, and NO_PROXY override explicit proxy= or trust_env=False arguments. In v2.14.0, explicit proxy= takes precedence for every request to match httpx2 behavior; use mounts={"all://that.host": None} to bypass the proxy for specific hosts.

When does Claude Opus 4.5 reach end-of-life according to the SDK changelog?

In anthropic v2.13.0, Anthropic marked Claude Opus 4.5 as deprecated with an end-of-life date of January 22, 2027, and updated the client to read deprecated models from generated data while stopping warnings on already-retired models.

Does anthropic 2.14.0 include PyPI provenance attestations like openai 3.60.0?

On PyPI, openai 3.60.0 includes Full provenance (GitHub Actions PyPI Publish Attestations on both its .tar.gz and .whl files). anthropic 2.14.0 was uploaded via Trusted Publishing (uv/0.9.13), but PyPI reports "No provenance found" for its release files, so teams enforcing PEP 740 attestation checks should verify SHA-256 checksums directly.

Can openai 3.60.0 use X.509 mTLS with Realtime WebSockets or Azure OpenAI?

No. According to the openai 3.60.0 PyPI documentation, X.509 workload identity supports HTTP APIs only (Realtime and WebSockets are excluded, and client.beta.realtime rejects X.509 clients), and AzureOpenAI clients do not support X.509 workload identity.

Do openai 3.60.0 streams automatically retry on mid-stream network errors?

No. While standard requests retry twice by default on connection errors, 408, 409, 429, and >=500 responses, Stream and AsyncStream do not automatically retry mid-stream consumption (raising APITimeoutError or APIConnectionError) so partial tokens already delivered to your application are never duplicated.


Sources

More on Packages

Packages

LangChain Core 1.8.5 & Anthropic 1.7.13: Python 3.10 Removal, Supply-Chain Fixes & Upgrade Guide

LangChain shipped langchain-core==1.8.5 and langchain-anthropic==1.7.13 on November 25, 2026, alongside partner updates across text-splitters, Qdrant, Ollama, Perplexity, Hugging Face, and Fireworks. We break down PyPI adoption telemetry (38.49M weekly downloads), the Python 3.10 EOL breaking change, security relocks (pygments CVE-2026-4539, mistune, filelock, tornado), and safe upgrade steps.

8 min read

Tell us what is not working

A thirty-minute call, no deck and no obligation. You will leave with a straight answer about whether this is worth building - including if that answer is no.

Start a project

Direct line

hello@codebumble.net
Dhaka, Bangladesh  :   local timeCalls in English or Bangla