Skip to content

Version Conflict with Promptflow-azure v1.8.0 #28731

@SiHaoShen

Description

@SiHaoShen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    CosmosDBaz cosmosdbService AttentionThis issue is responsible by Azure service team.act-codegen-extensibility-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions