Package Details: python-azure-cli 2.6.0-1

Git Clone URL: https://aur.archlinux.org/python-azure-cli.git (read-only, click to copy)
Package Base: python-azure-cli
Description: Microsoft Azure Command-Line Tools
Upstream URL: https://github.com/Azure/azure-cli
Licenses: MIT
Submitter: optlink
Maintainer: lukaszimmermann (pallxk)
Last Packager: pallxk
Votes: 9
Popularity: 0.051009
First Submitted: 2017-03-19 19:11
Last Updated: 2020-05-19 06:11

Latest Comments

1 2 3 4 Next › Last »

hoban commented on 2020-04-02 15:20

In case it's helpful to anyone else, I had trouble building this package until after running 'pip uninstall azure_cli_command_modules_nspkg' in a "direnv"-managed directory. There's probably something that can be done with e.g. setup.py to avoid this sort of issue: ... Copying azure_cli_command_modules_nspkg.egg-info to /home/hoban/.cache/yay/python-azure-cli/pkg/python-azure-cli/home/hoban/src/project/.direnv/python-3.8.2/lib/python3.8/site-packages/azure_cli_command_modules_nspkg-2.0.3-py3.8.egg-info running install_scripts /home/hoban/.cache/yay/python-azure-cli/src/azure-cli-azure-cli-2.3.1/src rm: cannot remove '/home/hoban/.cache/yay/python-azure-cli/pkg/python-azure-cli/usr/lib/python3.?/site-packages/azure/__init__.py': No such file or directory ==> ERROR: A failure occurred in package(). Aborting... Error making: python-azure-cli

pallxk commented on 2020-04-02 05:40

@dctcheng Thanks for the feedback. 0.7.0rc for python-knack has been updated on AUR now.

dctcheng commented on 2020-04-01 15:08

Looks like 2.3.0 depends on a RC for python-knack

pallxk commented on 2020-01-19 03:08

@felis Thanks for you report and solution. Fixed.

felis commented on 2020-01-19 02:32

[felis@user-pc ~]$ az vm create The command failed with an unexpected error. Here is the traceback:

No module named 'antlr4' Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/knack/cli.py", line 206, in invoke cmd_result = self.invocation.execute(args) File "/usr/lib/python3.8/site-packages/azure/cli/core/commands/init.py", line 528, in execute self.commands_loader.load_arguments(command) File "/usr/lib/python3.8/site-packages/azure/cli/core/init.py", line 300, in load_arguments loader.load_arguments(command) # this adds entries to the argument registries File "/usr/lib/python3.8/site-packages/azure/cli/command_modules/vm/init.py", line 31, in load_arguments from azure.cli.command_modules.vm._params import load_arguments File "/usr/lib/python3.8/site-packages/azure/cli/command_modules/vm/_params.py", line 31, in <module> from azure.cli.command_modules.monitor.actions import get_period_type File "/usr/lib/python3.8/site-packages/azure/cli/command_modules/monitor/actions.py", line 7, in <module> import antlr4 ModuleNotFoundError: No module named 'antlr4'

To open an issue, please run: 'az feedback'

Fixed it by installing python-antlr4 . Maybe add that as dependency?

badeball commented on 2020-01-10 12:28

Installed at 2020-01-10, but get the following error. Anyone familiar with it?

$ az --help
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.8/site-packages/azure/cli/__main__.py", line 33, in <module>
    az_cli = get_default_cli()
  File "/usr/lib/python3.8/site-packages/azure/cli/core/__init__.py", line 547, in get_default_cli
    from azure.cli.core.azlogging import AzCliLogging
  File "/usr/lib/python3.8/site-packages/azure/cli/core/azlogging.py", line 30, in <module>
    from azure.cli.core.commands.events import EVENT_INVOKER_PRE_CMD_TBL_TRUNCATE
  File "/usr/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 29, in <module>
    from azure.cli.core.util import get_command_type_kwarg, read_file_content, get_arg_list, poller_classes
  File "/usr/lib/python3.8/site-packages/azure/cli/core/util.py", line 19, in <module>
    from azure.common import AzureException
ModuleNotFoundError: No module named 'azure.common'

thof commented on 2019-12-21 14:40

I've seen that error too, plus it also complained about missing azure.cli module. I finally solved that reinstalling all azure-related packages, i.e. yay -Rs python-azure-cli && yay -S python-azure-cli. The important point is that I had to clean all existing builds so they could be built again on updated environment.

mwohlf commented on 2019-12-19 16:59

I see this error:

$ az --help
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 192, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.8/site-packages/azure/cli/__main__.py", line 10, in <module>
    from knack.completion import ARGCOMPLETE_ENV_NAME
ModuleNotFoundError: No module named 'knack'

with:

  $ pacman -Q python-knack
  python-knack 0.6.3-1

...hmmm, resolved by $ sudo pip install knack maybe my python install has some issues

pallxk commented on 2019-11-25 06:46

@enihcam, updated to 2.0.76 and patched for python3.8; Sorry for the long delay.

enihcam commented on 2019-11-16 02:47

Thank you Jammie.

I can see this is only one line change. Can we hotfix this for Archlinux first?