Code Monkey home page Code Monkey logo

Comments (6)

ZhiliangWu avatar ZhiliangWu commented on August 20, 2024

Azure/azure-cli#28731

from promptflow.

huaiyan avatar huaiyan commented on August 20, 2024

Thanks @ZhiliangWu, we will have a look about it.
But basically, azure-cosmos released 4.0.0 in 2020, it's not a common practice to do backward compatibility support for such old version.

from promptflow.

huaiyan avatar huaiyan commented on August 20, 2024

Hello @ZhiliangWu, did a few investigations about it.

  1. Seems like even use latest azure-cosmos version (4.6.0), many azure-cli's basic functions still could work. (Such as az login, list/create resource group, create vm) You still could use it for some cases.
  2. From 3.x to 4.x, azure-cosmos introduced many breaking changes for interface, it needs a lot of effort to support 3.x version.
  3. azure-cosmos released 4.0.0 in 2020, it's a rather old version.

So, we don't plan to do compatibility support as you ask, please contact azure-cli about upgrading their dependency.

from promptflow.

huaiyan avatar huaiyan commented on August 20, 2024

Hello @ZhiliangWu, there is one workaround for your situation.
You may install azure-cli by pipx install azure-cli.
Then you don't need to add it in your poetry environment but also could use az commands in it.

Basically, pipx installs applications in an isolated environment and makes them globally available.
You may find more details here:
https://github.com/pypa/pipx#how-is-it-different-from-pip

from promptflow.

ZhiliangWu avatar ZhiliangWu commented on August 20, 2024

@huaiyan Yes, that's a possible workaround if there is really no plan to update azure-cli being compatible with promptflow. The disadvantage is that we have to manually pinning the azure-cli version through pipx commands instead of managed and resolved by poetry centrally.

from promptflow.

github-actions avatar github-actions commented on August 20, 2024

Hi, we're sending this friendly reminder because we haven't heard back from you in 30 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 7 days of this comment, the issue will be automatically closed. Thank you!

from promptflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.