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.
8 min read
anthropic 2.14.0 vs. openai 3.60.0: Proxy Fixes, Deprecations & Provenance Trade-Offs
Executive Summary
- Featured packages & versions:
anthropicv2.14.0(GitHub release published November 28, 2026; PyPI2.14.0artifact uploaded November 24, 2026) andopenaiv3.60.0(PyPI release uploaded November 25, 2026), both targeting Python>=3.10under 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.0fixesDefaultHttpxClientandDefaultAsyncHttpxClientsoHTTP_PROXY/HTTPS_PROXY/ALL_PROXY/NO_PROXYenvironment variables no longer override caller-suppliedproxy=ortrust_env=False—which means hosts listed inNO_PROXYnow route through an explicitproxy=unless excluded viamounts=. Meanwhile,v2.13.0marks 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.0ships with Full provenance (GitHub Actions PyPI Publish Attestations), whereasanthropic 2.14.0uses Trusted Publishing viauv/0.9.13on 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.1kstars,921forks,183watching. - Latest Release:
v2.14.0(f1edcd7on GitHub Releases;2.14.0wheel2.7 MBand sdist2.1 MB,4.8 MBtotal on PyPI). - Runtime & License:
Python >=3.10(classifiers throughPython 3.14), Apache-2.0 (with legacy MIT contributions noted inLICENSE-MIT). - Optional Extras:
aiohttp,aws,bedrock,google-cloud,mcp,vertex,webhooks.
- GitHub Repository:
openai(openai/openai-python):- GitHub Repository:
openai/openai-python—32.3kstars (per GitHub repository metadata). - Latest Release:
3.60.0(wheel2.5 MBand sdist2.4 MB,4.9 MBtotal on PyPI, uploaded November 25, 2026 viatwine/7.0.0on CPython3.13.16). - Runtime & License:
Python >=3.10(testing matrix covering Python3.10through3.14, with3.15prerelease allowed-failure perPYTHON_VERSION_POLICY.md), Apache-2.0. - Optional Extras:
aiohttp,bedrock,datalib,realtime,vertex,voice-helpers.
- GitHub Repository:
(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=Falsenow ignores all proxy environment variables. - Passing
proxy=...routes every request through that proxy—including hosts previously listed inNO_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:
greptool isolation: Ignores local ripgrep config files, searches forrgonly in absolutePATHentries (ignoring relative/emptyPATHentries and anyrginsideworkdirorallowed_roots), stripsANTHROPIC_*environment variables fromrg, skips FIFOs/device files in its built-in fallback search, and caps built-in CPU search at30seconds.- 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: Inv2.12.0,AnthropicBedrockandAsyncAnthropicBedrockmoveuser_profile_idfrom theanthropic-user-profile-idheader into the JSON request body (because Bedrock ignores the header). Requests targeting Bedrock models that do not support user profiles now fail fast with a400error instead of silently dropping the profile ID. - Structured output caching & AWS SigV4:
v2.11.0caches 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-betaheader deprecation:v2.9.0deprecates older beta header strings (such asprompt-caching-2024-07-31,pdfs-2024-09-25, andtoken-counting-2024-11-01) and stops sendingmessage-batches-2024-09-24onbeta.messages.batches. Teams sharing schemas with C# services should also note that the C#AnthropicBetaenum 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.0defaults toHTTPX2(DefaultHttpx2Client/DefaultAsyncHttpx2Client, plusDefaultAioHttpClient) 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 viahttps://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 theHostauthority to match the configured API origin, forbids provider API-key or proxy-only headers alongside X.509 auth, and recommendsfollow_redirects=FalseonDefaultHttpx2Client:
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.0webhook & stream guarantees:client.webhooks.unwrap()validates signatures against raw JSON strings, andStream/AsyncStreamexplicitly 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
- Audit
proxy=+NO_PROXYusage before bumping toanthropic 2.14.0: Search your codebase forDefaultHttpxClient(orDefaultAsyncHttpxClient(combined withproxy=. If internal endpoints relied onNO_PROXY, addmounts={"all://your.host": None}. - Inventory Claude Opus 4.5 references: With
v2.13.0marking 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 asclaude-opus-5-5shown in the PyPI README). - Strip deprecated
anthropic-betaheaders: Perv2.9.0, removeprompt-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, andmessage-batches-2024-09-24from custom request headers before they are removed from the SDKs. - Verify Bedrock
user_profile_idcompatibility: If upgrading fromv2.11.0or earlier on Amazon Bedrock, test allAnthropicBedrockcalls that passuser_profile_idto confirm target models accept it in the body without returning400. - Pin exact hashes in lockfiles: Use
uv.lockorpip-compile --generate-hashes(verifyinganthropic-2.14.0-py3-none-any.whlSHA-2565cf986851f61c0858ac88c6f7c28490369a68ff4a89c309849605b764da0664dandopenai-3.60.0-py3-none-any.whlSHA-256476e79f256a4ce74848b7abae9f074352a69dca6e7e8987d565ee883a3b7e496) and verifyopenaiPyPI 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
- Releases · anthropics/anthropic-sdk-python — GitHub (Accessed November 28, 2026;
v2.14.0released November 28, 2026) - anthropic 2.14.0 — PyPI (Uploaded November 24, 2026; verified November 28, 2026)
- openai 3.60.0 — PyPI (Uploaded November 25, 2026; verified November 28, 2026)
- openai-python Python Version Support Policy — GitHub (Accessed November 28, 2026)
- anthropics/anthropic-sdk-python — GitHub (Accessed November 28, 2026)