A bundled guide walks your project through upgrading the anthropic Python SDK to 1.x.
What's wrong with this entry?
A new reference document ships inside Claude Code, reached from the /claude-api upgrade flow, walking a project through the 0.x to 1.x migration step by step.
- Steps covered: bump the pin, raise the Python floor to 3.10, move
httpxobjects that cross the SDK boundary to thehttpx2fork or callhttpx2.alias_httpx()at an entry point, await.with_raw_responsebody reads on async clients, portcompletions.createplusHUMAN_PROMPT/AI_PROMPTto Messages, droptemperature/top_p/top_k, rewrite rawoutput_format={...}asoutput_config={"format": {...}}, and supply an explicit Bedrock region. - The document is a plain text constant in the bundle with no gate around it.
# Upgrading the anthropic Python SDK: 0.x → 1.x
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.219
Upgrade links now carry a per-surface UTM campaign
Both mention upgrade