Skip to content

Python: Bump anthropic SDK version constraint in agent-framework-anthropic #6484

@pamelafox

Description

@pamelafox

Problem

The agent-framework-anthropic package currently pins anthropic>=0.80.0,<0.80.1 in its pyproject.toml.

This causes conflicts with other popular packages like pydantic-ai that require a newer version of anthropic. The latest anthropic SDK is now at 0.109.1, and pydantic-ai>=1.50.0 needs features/imports that are only available in newer versions of the SDK.

Currently the only workaround is to use a uv dependency override:

[tool.uv]
override-dependencies = ["anthropic>=0.100.0"]

Request

Please widen the anthropic version constraint in agent-framework-anthropic to allow newer versions (e.g. anthropic>=0.80.0 without the upper bound, or at least bump the upper bound significantly).

Relevant file

https://github.com/microsoft/agent-framework/blob/main/python/packages/anthropic/pyproject.toml

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions