question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Install `az login` only

See original GitHub issue

Hi, Is it possible to install a lightweight version of az login?

We’re installing just az login for CI/CD jobs (with pip/pipenv). But installing azure-cli downloads an extreme amount of dependencies for ever sub module.

I have tried to install azure-cli-profile, but it does not provide the cli.

Othwerwise, it would be super useful to be able to install selected command_modules via python “extras”.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
se7enackcommented, Apr 8, 2022

In a world of lightweight containers this would be great. I can’t understand why this was chose to closed. I understand that it would take work, everything does.

3reactions
th0gercommented, Mar 22, 2022

@yonzhan, yes i get it, @jiasli already said that.

But that’s not how feature requests work… You can’t close a feature request by arguing that the feature is not implemented… That’s what status “open” is for.

It can be a decision to “won’t fix” from the PM/core team (based on e.g. architectural limitations), but that dialogue has not taken place here.

Even though the size of azure-cli is trimmed, it will install a huge amount of unneeded dependencies for users only needing az login (which is a very common scenario). It takes time to install, but also clutters the venv and increases the risk of conflicts/bugs.

Is it possible to implement “extras” python modules?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sign in with Azure CLI — Login and Authentication
Learn the different authentication types for your Azure CLI login — sign in with Azure ... locally, or interactively using the az login...
Read more >
How to Install Azure CLI (Windows, Linux, macOS, Azure Shell)
Learn how to install Azure CLI on any operating system you have including ... Started with the Azure CLI tutorial like az login...
Read more >
Azure CLI - CODE Magazine
To install Azure CLI on Windows, you can use this command. Running this command downloads the Azure CLI installer and installs it. If...
Read more >
Install Azure CLI and run az login command in same script ...
Query: How to execute the az login and other az commands after installing Azure CLI in the same script without restarting the Powershell...
Read more >
Install Azure CLI 2.0 on Microsoft Windows
Download the Azure CLI 2.0 MSI installer here. · Launch the installer, select the check box to accept the License Agreement terms, and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found