Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - promptflow 1.10.1 incompatible with azure-cli #3094

Open
marinaby opened this issue May 1, 2024 · 1 comment
Open

[BUG] - promptflow 1.10.1 incompatible with azure-cli #3094

marinaby opened this issue May 1, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@marinaby
Copy link

marinaby commented May 1, 2024

promptflow 1.10.1 incompatible with azure-cli

Steps to reproduce the behavior:

  1. Add to requirements of python project:
    promptflow==1.10.0
    azure-cli==2.60.0

  2. Try to install requirements

Expected behavior:
Both successfully installed

Actual behaviour:
Failed to install due to conflict:
The conflict is caused by:
azure-cli-core 2.60.0 depends on argcomplete~=3.1.1
promptflow-devkit 1.9.0 depends on argcomplete>=3.2.3

  • Promptflow Package Version using pf -v: 1.10.1
  • Operating System: macos
  • Python Version using : Python 3.9.18
@marinaby marinaby added the bug Something isn't working label May 1, 2024
@elliotzh elliotzh self-assigned this May 5, 2024
@elliotzh
Copy link
Member

elliotzh commented May 5, 2024

Hi @marinaby

Thank you for reporting this. I have checked related pull requests:
azure-cli: {Packaging} Bump argcomplete to 3.1.1
promptflow: [SDK/CLI] added autocompletion for pf cli

According to the pull requests:

  1. azure-cli and promptflow doesn't depend on each other;
  2. azure-cli ping an old version of argcomplete just because it will ping a specific version for all of its dependencies, so no break is expected if you install azure-cli first and then promptflow;
  3. given azure-cli has ping a specific version, not sure if it's a better idea to bump argcomplete in azure-cli.

Please tell us if any further usage is broken. And we will have an inner discussion on whether promptflow should fit requirements of azure-cli.

@elliotzh elliotzh assigned huaiyan and marinaby and unassigned huaiyan, elliotzh and marinaby May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants