Source: python-novaclient Version: 2:18.1.0-2 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 python-novaclient 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 python-novaclient from testing 2:18.1.0-2 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/p/python-novaclient/28750728/log.gz ======================================================================FAIL: novaclient.tests.unit.test_shell.TestLoadVersionedActions.test_load_actions_with_versioned_args
novaclient.tests.unit.test_shell.TestLoadVersionedActions.test_load_actions_with_versioned_args ----------------------------------------------------------------------testtools.testresult.real._StringException: Traceback (most recent call last):
File "/usr/lib/python3.11/unittest/mock.py", line 1369, in patched return func(*newargs, **newkeywargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/tmp/autopkgtest-lxc.8wmmwvjy/downtmp/build.5yv/src/novaclient/tests/unit/test_shell.py", line 920, in test_load_actions_with_versioned_args
shell._find_actions(subparsers, fake_actions_module,File "/tmp/autopkgtest-lxc.8wmmwvjy/downtmp/build.5yv/src/novaclient/shell.py", line 450, in _find_actions
subparser = subparsers.add_parser( ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/argparse.py", line 1197, in add_parser raise ArgumentError(self, _('conflicting subparser: %s') % name)argparse.ArgumentError: argument <subcommand>: conflicting subparser: another-fake-action
======================================================================FAIL: novaclient.tests.unit.test_shell.TestLoadVersionedActions.test_load_versioned_actions
novaclient.tests.unit.test_shell.TestLoadVersionedActions.test_load_versioned_actions ----------------------------------------------------------------------testtools.testresult.real._StringException: Traceback (most recent call last): File "/tmp/autopkgtest-lxc.8wmmwvjy/downtmp/build.5yv/src/novaclient/tests/unit/test_shell.py", line 800, in test_load_versioned_actions
shell._find_actions(subparsers, fake_actions_module,File "/tmp/autopkgtest-lxc.8wmmwvjy/downtmp/build.5yv/src/novaclient/shell.py", line 450, in _find_actions
subparser = subparsers.add_parser( ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/argparse.py", line 1197, in add_parser raise ArgumentError(self, _('conflicting subparser: %s') % name)argparse.ArgumentError: argument <subcommand>: conflicting subparser: another-fake-action
OpenPGP_signature
Description: OpenPGP digital signature