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
Problem
The
agent-framework-anthropicpackage currently pinsanthropic>=0.80.0,<0.80.1in its pyproject.toml.This causes conflicts with other popular packages like
pydantic-aithat require a newer version ofanthropic. The latestanthropicSDK is now at0.109.1, andpydantic-ai>=1.50.0needs features/imports that are only available in newer versions of the SDK.Currently the only workaround is to use a uv dependency override:
Request
Please widen the
anthropicversion constraint inagent-framework-anthropicto allow newer versions (e.g.anthropic>=0.80.0without 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