Skip to content

Python: [Bug]: Foundry Hosting and Mistral cannot be co-installed due to OpenTelemetry constraints #7036

Description

Description

agent-framework-foundry-hosting and agent-framework-mistral cannot currently be installed in the same environment because their transitive OpenTelemetry semantic-convention requirements do not overlap.

  • agent-framework-foundry-hosting -> azure-ai-agentserver-core>=2.0.0b7 -> opentelemetry-sdk>=1.40.0 -> opentelemetry-semantic-conventions>=0.61b0
  • agent-framework-mistral -> mistralai>=2.0.0,<3 -> opentelemetry-semantic-conventions>=0.60b1,<0.61

A clean resolver correctly reports the requirements as unsatisfiable. Neither package is currently included in agent-framework-core[all], so this does not break pip install agent-framework, but users cannot combine these two standalone integrations.

Expected: both packages can coexist, or the incompatibility is explicitly documented until an upstream dependency relaxes its constraint.

Code Sample

uv venv --python 3.11 .venv
uv pip install --no-config --python .venv/bin/python \
  agent-framework-foundry-hosting==1.0.0a260709 \
  agent-framework-mistral==1.0.0a260709

Error Messages / Stack Traces

No solution found when resolving dependencies:
agent-framework-foundry-hosting requires opentelemetry-semantic-conventions>=0.61b0,
while mistralai requires opentelemetry-semantic-conventions>=0.60b1,<0.61.

Package Versions

  • agent-framework-foundry-hosting: 1.0.0a260709
  • agent-framework-mistral: 1.0.0a260709
  • azure-ai-agentserver-core: 2.0.0b7
  • mistralai: 2.6.0

Python Version

Python 3.11

Additional Context

The repository workspace currently has a uv override for OpenTelemetry semantic conventions. That override must not be treated as a compatibility fix because it bypasses mistralai's declared upper bound. Track upstream changes in either dependency chain and remove this incompatibility without forcing an unsupported version combination.

Metadata

Metadata

Labels

pythonUsage: [Issues, PRs], Target: Python

Type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions