Azure / Azure/azure-cli

Version Conflict with Promptflow-azure v1.8.0

Open
#28,731 7 comments 1 reaction 0 assignees View on GitHub
act-codegen-extensibility-squad bug CosmosDB customer-reported Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

When I update promptflow to v1.8.0 using `poetry update`, I get version conflict with azure-cli.

Promptflow Documentation: https://microsoft.github.io/promptflow/how-to-guides/faq.html#promptflow-1-8-0-upgrade-guide

### Related command

poetry update

### Errors

```
Because no versions of azure-cli match >2.59.0 and azure-cli (2.59.0) depends on azure-cosmos (>=3.0.2,<4.0), azure-cli (>=2.59.0) requires azure-cosmos (>=3.0.2,<4.0).
And because promptflow[azure] (1.8.0) depends on promptflow-azure (1.8.0) which depends on azure-cosmos (>=4.5.1,<5.0.0), azure-cli (>=2.59.0) is incompatible with promptflow[azure] (1.8.0).
So, because siemens-python-package-llmops-demo depends on both promptflow[azure] (==1.8.0) and azure-cli (>=2.59.0), version solving failed.
```

### Issue script & Debug output

NA

### Expected behavior

Update dependencies inside azure-cli to the latest version as promptflow to avoid version conflict. For example update azure-cosmos dependency to >=4.5.1,<5.0.0.

### Environment Summary

python 3.9.19
azure-cli 2.59.0
promptflow = {version = "1.8.0",extras = ["azure"]}

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.