Package: cdist Version: 7.0.0-1 Severity: grave User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu lunar
The cdist package is broken with python 3.11, as detected by the autopkgtest: $ cdist Traceback (most recent call last): File "/usr/bin/cdist", line 93, in <module> commandline() File "/usr/bin/cdist", line 53, in commandline parser, cfg = cdist.argparse.parse_and_configure(sys.argv[1:]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/cdist/argparse.py", line 534, in parse_and_configure parser = get_parsers() ^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/cdist/argparse.py", line 478, in get_parsers parser['scan'] = parser['sub'].add_parser( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/argparse.py", line 1197, in add_parser raise ArgumentError(self, _('conflicting subparser: %s') % name) argparse.ArgumentError: argument command: conflicting subparser: scan $ It looks like this is easily fixable without regression by removing the first assignment to parser['scan'], but this seems like such an obvious bug that I don't know if I'm missing something with historical behavior of argparse handling multiple assignments? Anyway, this package has no maintainer and upstream has not fixed this, and there are no reverse-dependencies, so I would suggest the package should just be removed. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer https://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
signature.asc
Description: PGP signature