Your message dated Fri, 05 Nov 2021 20:34:18 +0000
with message-id <[email protected]>
and subject line Bug#989670: fixed in azure-cli 2.30.0-1
has caused the Debian Bug report #989670,
regarding azure-cli: az network commands throw ImportError
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
989670: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989670
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: azure-cli
Version: 2.18.0-2
Severity: important

When trying to use any az network commands, an error is thrown and the command
fails. For example, "az network dns zone list" gives this output:

CLIInternalError: The command failed with an unexpected error. Here is the
traceback:
cannot import name 'BatchManagementClient' from 'azure.mgmt.batch'
(/usr/lib/python3/dist-packages/azure/mgmt/batch/__init__.py)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/knack/cli.py", line 233, in invoke
    cmd_result = self.invocation.execute(args)
  File "/usr/lib/python3/dist-packages/azure/cli/core/commands/__init__.py",
line 558, in execute
    self.commands_loader.load_arguments(command)
  File "/usr/lib/python3/dist-packages/azure/cli/core/__init__.py", line 481,
in load_arguments
    loader.load_arguments(command)  # this adds entries to the argument
registries
  File "/usr/lib/python3/dist-
packages/azure/cli/command_modules/network/__init__.py", line 39, in
load_arguments
    load_arguments(self, command)
  File "/usr/lib/python3/dist-
packages/azure/cli/command_modules/network/_params.py", line 2000, in
load_arguments
    from
azure.cli.command_modules.network.private_link_resource_and_endpoint_connections.custom
import TYPE_CLIENT_MAPPING, register_providers
  File "/usr/lib/python3/dist-
packages/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py",
line 9, in <module>
    from .resource_providers.batch_provider import BatchPrivateEndpointClient
  File "/usr/lib/python3/dist-
packages/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py",
line 6, in <module>
    from azure.mgmt.batch import BatchManagementClient
ImportError: cannot import name 'BatchManagementClient' from 'azure.mgmt.batch'
(/usr/lib/python3/dist-packages/azure/mgmt/batch/__init__.py)
To open an issue, please run: 'az feedback'

-- System Information:
Debian Release: 11.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-7-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8),
LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages azure-cli depends on:
ii  python3            3.9.2-3
ii  python3-azure-cli  2.18.0-2

azure-cli recommends no packages.

azure-cli suggests no packages.

--- End Message ---
--- Begin Message ---
Source: azure-cli
Source-Version: 2.30.0-1
Done: Luca Boccassi <[email protected]>

We believe that the bug you reported is fixed in the latest version of
azure-cli, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Luca Boccassi <[email protected]> (supplier of updated azure-cli package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 04 Nov 2021 23:46:19 +0000
Source: azure-cli
Architecture: source
Version: 2.30.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Luca Boccassi <[email protected]>
Closes: 986657 989670 989676 994266
Changes:
 azure-cli (2.30.0-1) unstable; urgency=medium
 .
   * Merge tag 'azure-cli-2.30.0' into debian/sid
     (Closes: #994266, #986657, #989670, #989676)
   * Update build dependencies for 2.30.0
   * Drop obsolete crypto_dependency.patch
   * Bump Standards-Version to 4.6.0, no changes
   * autopkgtest: add dependency on python3-all:any
   * Skip broken test
   * Ignore very-long-line-length-in-source-file lintian warning
   * python3-azure-cli-core: update Lintian warning paths
   * Differentiate short descriptions
Checksums-Sha1:
 d7fe8e6487366d33e8a40e6807a127ab6045194c 3728 azure-cli_2.30.0-1.dsc
 8ea06f435c80e14e594544b678b25b5107c586eb 69903081 azure-cli_2.30.0.orig.tar.gz
 30eaa12fc77e7df69c6b300692706fe7a15374cb 6776 azure-cli_2.30.0-1.debian.tar.xz
 aab4eb2cc6759b2f3abb5686200d039270f582ce 9934 
azure-cli_2.30.0-1_source.buildinfo
Checksums-Sha256:
 debc1d60324ea43432683888481fb9f39fdc5ca3e79572546e56193874658b8e 3728 
azure-cli_2.30.0-1.dsc
 fc95b8e85268c926b29fd7cb236dd0010f9fc82ed405761dd78ef56f3a78d6e7 69903081 
azure-cli_2.30.0.orig.tar.gz
 f0b32c325c205720512098173edb2ae60df5bc6b6a2c74c8ce785a60c5abb9c7 6776 
azure-cli_2.30.0-1.debian.tar.xz
 da0893ff8871061847ff76ee5938c03a1c841707d274774a219caa3250973628 9934 
azure-cli_2.30.0-1_source.buildinfo
Files:
 548243bda694824ca2b256ca78a3e0fa 3728 python optional azure-cli_2.30.0-1.dsc
 b1a4b0aff1184fce9567af18cd039fc7 69903081 python optional 
azure-cli_2.30.0.orig.tar.gz
 97a1b0355b87695787bab1f7dd2cbbcf 6776 python optional 
azure-cli_2.30.0-1.debian.tar.xz
 3cfc1c014bfa25676cc04365daa915bd 9934 python optional 
azure-cli_2.30.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEErCSqx93EIPGOymuRKGv37813JB4FAmGFgyYRHGJsdWNhQGRl
Ymlhbi5vcmcACgkQKGv37813JB68zBAAqFIeQgEcieLY+Wlbft1HomhURh/zMQ7X
RfZm7HH4YGlvtUe4h61B+TZY4gUxw2nSScTBePmyhJmHW2t4xXy1PVBdBx+IuSSu
grJZSc6oSP3TbcAcRB8fmVKwsntVbQJIFFvsGpwk0WIb9YUALIp6ajVcXEdYKPsB
f9RkVytUOFFU8Jym2ay3BiTu2/PKBR22aCS6z1lIGdtePDgbIOjUgsbnWig1daSz
mu83o/Mu9FzuUAy4q5MiLU+/sopTswEr3/bYaxcrJlvnFa8JbQv/affDgW6cf9mC
Wc4JhfYqDop4vnEAUhPO5OqxBlLl03kn2sMv6oNQVb9hS6bSlFP6zcvqiOH7tvFv
CM8CXVc2TPrtSawQBs6mo9jMcleKelDLFwOnqZI+81ZCjFZSy2Oze5dq3DbN3EzD
7Pt3xwQo+ymndxHTa0Pm+mgwrF+JBi6Qkma+Xr88LfX0BQABeKQKYLe2wy5aJEVl
B1X9NXgw6M9gmHDbDiTR6g+0aCsC1yKefrViYA+LHkkdzBpoWoeq+HXb743bN21S
QlGKCjYQsdGq/3AYKs0AURN2vMgM7Q6HndnkMriCZKBsdEhYxQ1LzhO+FRpX8YWA
zvwE7PAOiuZOnOt2WfRbYSHdW7pXiWzUZwG+aru9yTMefgJyS3u8BasokCZyYEv4
D8r8e81Vi78=
=RtSY
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to