Your message dated Wed, 07 Dec 2022 19:36:37 +0000
with message-id <e1p30dd-001y1m...@fasolo.debian.org>
and subject line Bug#1024856: fixed in azure-cli 2.43.0-1
has caused the Debian Bug report #1024856,
regarding azure-cli: (autopkgtest) needs update for python3.11: conflicting 
subparser: configure
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 ow...@bugs.debian.org
immediately.)


-- 
1024856: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024856
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: azure-cli
Version: 2.42.0-1
Severity: serious
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: needs-update
User: debian-pyt...@lists.debian.org
Usertags: python3.11
Control: affects -1 src:python3-defaults

Dear maintainer(s),

We are in the transition of adding python3.11 as a supported Python version [0]. With a recent upload of python3-defaults the autopkgtest of azure-cli fails in testing when that autopkgtest is run with the binary packages of python3-defaults from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
python3-defaults       from testing    3.10.6-3
azure-cli              from testing    2.42.0-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of python3-defaults to testing [1]. https://docs.python.org/3/whatsnew/3.11.html lists what's new in Python3.11, it may help to identify what needs to be updated.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[0] https://bugs.debian.org/1021984
[1] https://qa.debian.org/excuses.php?package=python3-defaults

https://ci.debian.net/data/autopkgtest/testing/amd64/a/azure-cli/28706375/log.gz

_ ERROR at teardown of ConfigureGlobalDefaultsTest.test_configure_global_defaults _

self = <tests_core.test_configure.ConfigureGlobalDefaultsTest testMethod=test_configure_global_defaults>

    def tearDown(self):
      self.cmd('configure --defaults global="" global2=""')

tests_core/test_configure.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/azure/cli/testsdk/base.py:170: in cmd return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <azure.cli.testsdk.base.ExecutionResult object at 0x7fd1d63e7110>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7fd1d6b53790>
command = 'configure --defaults global="" global2=""', expect_failure = False

    def __init__(self, cli_ctx, command, expect_failure=False):
        self.output = ''
        self.applog = ''
        self.command_coverage = {}
        cli_ctx.data['_cache'] = None
            if os.environ.get(ENV_COMMAND_COVERAGE, None):
            with open(COVERAGE_FILE, 'a') as coverage_file:
                if command.startswith('az '):
                    command = command[3:]
                coverage_file.write(command + '\n')
self._in_process_execute(cli_ctx, command, expect_failure=expect_failure)
            log_val = ('Logging ' + self.applog) if self.applog else ''
        if expect_failure and self.exit_code == 0:
logger.error('Command "%s" => %d. (It did not fail as expected). %s\n', command,
                         self.exit_code, log_val)
raise AssertionError('The command did not fail as it was expected.')
        if not expect_failure and self.exit_code != 0:
logger.error('Command "%s" => %d. %s\n', command, self.exit_code, log_val)
          raise AssertionError('The command failed. Exit code: 
{}'.format(self.exit_code))
E           AssertionError: The command failed. Exit code: 1

/usr/lib/python3/dist-packages/azure/cli/testsdk/base.py:253: AssertionError
----------------------------- Captured stderr call ----------------------------- To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
To open a new issue, please run `az feedback`
To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
To open a new issue, please run `az feedback`
------------------------------ Captured log call ------------------------------- INFO az_command_data_logger:azlogging.py:128 command args: configure --defaults {} ERROR cli.azure.cli.core.azclierror:azlogging.py:212 The command failed with an unexpected error. Here is the traceback: ERROR az_command_data_logger:azlogging.py:213 The command failed with an unexpected error. Here is the traceback: ERROR cli.azure.cli.core.azclierror:azlogging.py:212 argument _command_package: conflicting subparser: configure
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 565, in execute
    self.parser.load_command_table(self.commands_loader)
File "/usr/lib/python3/dist-packages/azure/cli/core/parser.py", line 100, in load_command_table
    command_parser = subparser.add_parser(command_verb,
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/argparse.py", line 1197, in add_parser
    raise ArgumentError(self, _('conflicting subparser: %s') % name)
argparse.ArgumentError: argument _command_package: conflicting subparser: configure ERROR az_command_data_logger:azlogging.py:213 argument _command_package: conflicting subparser: configure
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 565, in execute
    self.parser.load_command_table(self.commands_loader)
File "/usr/lib/python3/dist-packages/azure/cli/core/parser.py", line 100, in load_command_table
    command_parser = subparser.add_parser(command_verb,
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/argparse.py", line 1197, in add_parser
    raise ArgumentError(self, _('conflicting subparser: %s') % name)
argparse.ArgumentError: argument _command_package: conflicting subparser: configure
INFO     az_command_data_logger:azlogging.py:192 exit code: 1
ERROR azure.cli.testsdk:base.py:252 Command "configure --defaults global=global1" => 1. INFO az_command_data_logger:azlogging.py:128 command args: configure --defaults {} {} ERROR cli.azure.cli.core.azclierror:azlogging.py:212 The command failed with an unexpected error. Here is the traceback: ERROR az_command_data_logger:azlogging.py:213 The command failed with an unexpected error. Here is the traceback: ERROR cli.azure.cli.core.azclierror:azlogging.py:212 argument _command_package: conflicting subparser: configure
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 565, in execute
    self.parser.load_command_table(self.commands_loader)
File "/usr/lib/python3/dist-packages/azure/cli/core/parser.py", line 100, in load_command_table
    command_parser = subparser.add_parser(command_verb,
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/argparse.py", line 1197, in add_parser
    raise ArgumentError(self, _('conflicting subparser: %s') % name)
argparse.ArgumentError: argument _command_package: conflicting subparser: configure ERROR az_command_data_logger:azlogging.py:213 argument _command_package: conflicting subparser: configure
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 565, in execute
    self.parser.load_command_table(self.commands_loader)
File "/usr/lib/python3/dist-packages/azure/cli/core/parser.py", line 100, in load_command_table
    command_parser = subparser.add_parser(command_verb,
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/argparse.py", line 1197, in add_parser
    raise ArgumentError(self, _('conflicting subparser: %s') % name)
argparse.ArgumentError: argument _command_package: conflicting subparser: configure
INFO     az_command_data_logger:azlogging.py:192 exit code: 1
ERROR azure.cli.testsdk:base.py:252 Command "configure --defaults global="" global2=""" => 1.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: azure-cli
Source-Version: 2.43.0-1
Done: Luca Boccassi <bl...@debian.org>

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 1024...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Luca Boccassi <bl...@debian.org> (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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Wed, 07 Dec 2022 17:37:01 +0000
Source: azure-cli
Architecture: source
Version: 2.43.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Luca Boccassi <bl...@debian.org>
Closes: 1024856
Changes:
 azure-cli (2.43.0-1) unstable; urgency=medium
 .
   * Merge tag 'azure-cli-2.43.0' into debian/sid
   * Bump dependency on python3-azure
   * Drop dependency on python3-azure-devtools, deprecated
   * Add new build dependency on python3-configargparse
   * Add patch to fix build with Python 3.11 (Closes: #1024856)
   * Skip more broken tests incompatible with python 3.11
Checksums-Sha1:
 c25881ba65b5e67f69eb5b0b0fcf20645fc758dc 3830 azure-cli_2.43.0-1.dsc
 49ad83ae4978e50f71c0068f745e97f579a329c5 88304473 azure-cli_2.43.0.orig.tar.gz
 36b284cb977f3e3dd14d890b6cfedd22130ed44b 8448 azure-cli_2.43.0-1.debian.tar.xz
 255a65485a429b36610c1e0b9bd3d216d746ac7a 10355 
azure-cli_2.43.0-1_source.buildinfo
Checksums-Sha256:
 cb9cdaf95deb76eac47622b2d33ba01c102673409f1418a687ea48ff2d55d62f 3830 
azure-cli_2.43.0-1.dsc
 a02e161621e128eb3d9a5bd71eb363788e3c55aee10fe9970e6cf39c560c0de4 88304473 
azure-cli_2.43.0.orig.tar.gz
 26080ce784bd3b5e3114f95fda9d2280ed4abb8d6ac9d974c86ddea694683961 8448 
azure-cli_2.43.0-1.debian.tar.xz
 37bc3c48ff56f67ac08f857d168609c005dc76cc31b6b0aa0144f482afb79fa8 10355 
azure-cli_2.43.0-1_source.buildinfo
Files:
 8068b311c66a7539c334572dd59bafe2 3830 python optional azure-cli_2.43.0-1.dsc
 e01058e5a1354637fca138332d3b899f 88304473 python optional 
azure-cli_2.43.0.orig.tar.gz
 ac1fbd22e69694e900734323f964c9e4 8448 python optional 
azure-cli_2.43.0-1.debian.tar.xz
 ea4788e7ce1f45bd4db642f680e1f5d0 10355 python optional 
azure-cli_2.43.0-1_source.buildinfo

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

iQJFBAEBCgAvFiEErCSqx93EIPGOymuRKGv37813JB4FAmOQ4WARHGJsdWNhQGRl
Ymlhbi5vcmcACgkQKGv37813JB6tLxAAz6vEHuMrcDzCdECD6io/ULDBYryXHAPN
oaHjC4JQMNn5ksZmzISx9glUwoVnm6jVyKAm8yppTwn+qrCmD1Yd3VPUU1iuAzOb
H5/23tAU0dKo+CpjSPMcfdMIFjN2P94p9wjqekehnHyvZl/5ASt2c/BzVfcF3wDs
1PgmHxiFkuyOilNNiegNw/pXI1OrzSrcTOhsLopA9AG/kGM6EGtut02E1wnhtN4j
gLDeP1yb9tspfbggIUYKdDxRed1aaaKt/mevCxuEoODKdgUz5HLGQ2seqdLw9OWx
EaNwK+F03ivVkeTMdeyZXhwukG74aJPpb6PLwBSAwzVdIyNlaEVzxojXOpiwijBv
lz9fkgSk2p5q9rEweosYXezrcMNgd4l3x5DZ347CLPaYCg4TU3ahq5MT9rfkllOr
mgwvdz9dWj/7dHJy6qkWjKuWuyTRZ22wroEPFqPB5svqUdVeuOw5pwT+DSbqr7oO
8/iJtKaXr9g3n+EvHmdX27tbyzloEr7qeZo76PEkmAZyQTu1XvmutE3yC7FrsYk1
6n43CoQ6pO1chFT82gKzFLKeht8U7A/qrqP87IyynsKuG25IJQCrx+XomdZZ4EcF
MT3fIjptL8z16/bhQhv1oBgAtQ2lLRYhLh9JOtvLzPO/Z6nN87MC0HToabxFjzO9
quLgqBT3zxM=
=EZbe
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to