chore(deps): update dependency anthropic to v1.5.0 - #573
Conversation
gadievron
left a comment
There was a problem hiding this comment.
Verification review — recommend-merge. (head 66beb10; evidence pinned to it)
Scope: single-line bump — anthropic[bedrock]==1.4.0 → ==1.5.0 (libs/openant-core/requirements.txt).
Consumed surface (all re-derived at the head): the anthropic adapter (messages.create, the exception taxonomy — Authentication/PermissionDenied/RateLimit/NotFound/APIConnection/APIStatus) and the Bedrock variant (AnthropicBedrock ctor + the same taxonomy). The 1.5.0 additions (Managed Agents tool permissions, content_too_large, user-profiles beta, Message.to_param(), the NEW CredentialsError/IdentityTokenFileError classes) touch no consumed path — the new classes narrow pre-existing AnthropicError raises on the identity-token path the adapters never call (a pre-existing, follow-up-noted gap, unchanged by this bump).
Upstream facts (re-derived from PyPI + the upstream changelog, not the PR body): requires_dist byte-identical 1.4.0↔1.5.0 (16 deps — no closure movement, the bedrock extra included); requires_python >=3.10 (repo floor >=3.11); not yanked; nothing beyond 1.5.0; the changelog is additive for this consumer. StopReason Literal members IDENTICAL both versions (7 members, re-derived in two environments — the new-member hazard closed).
Probes (fresh venv at the head, 7/7): real adapter ctor with the real SDK client; conn-refused → LLMConnectionError mapping; messages.create full round-trip via httpx2.MockTransport (the SDK is httpx2-backed and rejects legacy httpx clients — the repo's own factories already import httpx2); hermetic AnthropicBedrock construction (explicit dummy aws_access_key kwargs, no AWS contact); the pinned-exception classes intact. Tests: the SDK contract floor + anthropic + bedrock suites — 63 passed. CI at the head: tests + gitleaks success (the pin-equality floor proves 1.5.0 actually ran). Upstream source check: lib/bedrock/_auth.py is byte-identical 1.4.0↔1.5.0 — the bare-RuntimeError credential mapping in bedrock.py remains live.
Residual (pre-existing, follow-up-noted): request-time credential-refresh failures (now CredentialsError) escape the adapter's typed catch net untyped — same shape at 1.4.0 (AnthropicError), not introduced here.
Approve + merge are code-owner actions; never on red CI.
This PR contains the following updates:
==1.4.0->==1.5.0Release Notes
anthropics/anthropic-sdk-python (anthropic)
v1.5.0Compare Source
Full Changelog: v1.4.0...v1.5.0
Features
Bug Fixes
Chores
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.