Azure / Azure/azure-sdk-for-python
azure-ai-agentserver-langgraph cannot be installed with azure-ai-projects>=2.0
- Lingua principale
- Python
- Stelle
- 5.6k
- Fork
- 3.4k
- Merge medio
- 2g
- PR unite (30g)
- 217
Descrizione
The `azure-ai-agentserver-langgraph` package cannot be installed alongside `azure-ai-projects>=2.0.0b2` due to conflicting transitive dependencies.
The hosted-agents tutorial at https://learn.microsoft.com/azure/ai-foundry/agents/concepts/hosted-agents recommends using:
```bash
pip install --pre azure-ai-projects==2.0.0b2
```
However, installing `azure-ai-agentserver-langgraph` fails because:
1. `azure-ai-agentserver-langgraph` depends on `langchain-azure-ai[opentelemetry]>=1.0.0`
2. `langchain-azure-ai>=1.0.0` requires `azure-ai-projects>=1.0,<2.0` (hard upper bound)
3. This conflicts with `azure-ai-projects>=2.0.0b2`
## To Reproduce
```bash
pip install azure-ai-agentserver-langgraph azure-ai-projects>=2.0.0b2
```
Or with uv (faster error):
```bash
uv pip install --prerelease=allow azure-ai-agentserver-langgraph azure-ai-projects>=2.0.0b2
```
## Error Output (uv)
```
× No solution found when resolving dependencies:
╰─▶ Because langchain-azure-ai==1.0.4 depends on azure-ai-projects>=1.0,<2.0 and azure-ai-projects>=1.0,<2.0, we can
conclude that langchain-azure-ai[opentelemetry]>=1.0.3 depends on azure-ai-projects>=1.0,<2.0.
...
we can conclude that all versions of azure-ai-agentserver-langgraph depend on azure-ai-projects>=1.0.0b12,<2.0.
And because you require azure-ai-agentserver-langgraph and azure-ai-projects>=2.0.0b2, we can conclude that your
requirements are unsatisfiable.
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.