Package Details: azure-cli 2.30.0-1

Git Clone URL: https://aur.archlinux.org/azure-cli.git (read-only, click to copy)
Package Base: azure-cli
Description: Command-line tools for Azure.
Upstream URL: https://github.com/Azure/azure-cli
Licenses: MIT
Conflicts: python-azure-cli
Submitter: pallxk
Maintainer: pallxk
Last Packager: pallxk
Votes: 28
Popularity: 0.62
First Submitted: 2019-12-30 09:10
Last Updated: 2021-11-02 16:01

Required by (3)

Sources (3)

Latest Comments

« First ‹ Previous 1 2

jlohr commented on 2020-11-30 09:20

I get these warnings when installing. Will the package still work?:

ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.

We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.

pyopenssl 20.0.0 requires cryptography>=3.2, but you'll have cryptography 2.9.2 which is incompatible.
azure-cli-core 2.15.1 requires azure-mgmt-core==1.2.1, but you'll have azure-mgmt-core 1.2.2 which is incompatible.

enihcam commented on 2020-11-16 09:32

/opt/azure-cli/lib/python3.8/site-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (1.26.0) or chardet (3.0.4) doesn't match a supported version! warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "

csullivannet commented on 2020-11-12 13:57

I was receiving this warning:

/opt/azure-cli/lib/python3.8/site-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.0) or chardet (3.0.4) doesn't match a supported version!
  warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "

This caused my terraform configurations for Azure to fail.

I resolved the issue by reinstalling requests in the azure-cli venv:

sudo su -
cd /opt/azure-cli/bin
./pip3 --user install requests

This fixed the version mismatch between urllib3 and requests.

pallxk commented on 2020-10-21 07:32

@hgabreu Thanks for the info! I think I've found this out.

You'll need a writable $HOME or $HOME/.azure directory to run az. I've updated pkgver() to always use $srcdir as HOME, so that the build can succeed even if $HOME is not writable.

Note: You'll still need a writable HOME to run az after installation. Otherwise, you will get

PermissionError: [Errno 13] Permission denied: '/home/user/.azure'

hgabreu commented on 2020-10-20 16:26

I encountered the same pkgver issue when running makepkg in a blank archlinux image (docker pull archlinux), but not on my laptop. I didn't really investigate it, but that might be a way for you to reproduce the problem @pallxk

pallxk commented on 2020-08-29 02:37

Hi @Jammie, I couldn't reproduce the error. Did previous versions work for you? What's the version of your system python?

Jammie commented on 2020-08-28 10:26

There seems to be an issue with pkgver

==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgver() generated an invalid version:

pallxk commented on 2019-12-30 09:22

This package is packaged using the official linux install script. It differs from python-azure-cli AUR package in that it's self contained. Everything in this package is put under /opt/azure-cli, except for the executable /usr/bin/az.

You can raise PR for this package at https://github.com/pallxk/aur_azure-cli if you'd like to help.