[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1028447: marked as done (cdist: unusable with python 3.11)



Your message dated Sun, 15 Jan 2023 22:19:32 +0000
with message-id <E1pHBLg-00BzpL-Ps@fasolo.debian.org>
and subject line Bug#1028447: fixed in cdist 7.0.0-2
has caused the Debian Bug report #1028447,
regarding cdist: unusable with python 3.11
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 owner@bugs.debian.org
immediately.)


-- 
1028447: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028447
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cdist
Version: 7.0.0-1
Severity: grave
User: ubuntu-devel@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/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: cdist
Source-Version: 7.0.0-2
Done: Axel Beckert <abe@debian.org>

We believe that the bug you reported is fixed in the latest version of
cdist, 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 1028447@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Axel Beckert <abe@debian.org> (supplier of updated cdist 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Sun, 15 Jan 2023 22:48:57 +0100
Source: cdist
Architecture: source
Version: 7.0.0-2
Distribution: unstable
Urgency: high
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Axel Beckert <abe@debian.org>
Closes: 1028447
Changes:
 cdist (7.0.0-2) unstable; urgency=high
 .
   * QA upload.
   * Cherry-pick upstream commit b974969f for Python 3.11 compatibility.
     (Closes: #1028447)
   * Declare compliance with Debian Policy 4.6.2.
   * Replace link to outdated Github repo in debian/copyright.
   * debian/clean: Add cdist.egg-info to be able to build twice in a row.
Checksums-Sha1:
 daec03c5a06b62739ffb6330d1be82e97e682382 1994 cdist_7.0.0-2.dsc
 7c0afee5b6e978cce33c1d5dfd94e891443ddf0b 7728 cdist_7.0.0-2.debian.tar.xz
 52f672e959f85f30699f0b082b775be7670e34ec 8469 cdist_7.0.0-2_source.buildinfo
Checksums-Sha256:
 cf3b6340c356ccb53398668b36d78de6470fb99dafcd1dc8551d69b3eaf7edd5 1994 cdist_7.0.0-2.dsc
 93175a30b7eaf7f6f5788d5a18785b7fcce0dc791e42e6c62840d540ff0de134 7728 cdist_7.0.0-2.debian.tar.xz
 34a8cea129251ea878b0741c49821fdbfb8549516a8d28c48bb180744be28349 8469 cdist_7.0.0-2_source.buildinfo
Files:
 0db4bc7b4418c3cff18585eb99e81e03 1994 admin optional cdist_7.0.0-2.dsc
 f3489b82186de413e1353a305bcccffa 7728 admin optional cdist_7.0.0-2.debian.tar.xz
 1510aeb561dc2658e343c736213460e0 8469 admin optional cdist_7.0.0-2_source.buildinfo

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

iQIzBAEBCgAdFiEERoyJeTtCmBnp12Ema+Zjx1o1yXUFAmPEdY0ACgkQa+Zjx1o1
yXUXNA//bAxj20Lj9vNpJJKuiiqBHZjrawgW9tb4JJW8llBrCe6ZfYv7ZSAq0Ob2
jZxT0pv3Y36hcBLffxb7G054l/vk1ZWU2xdVl6nlNWu/csWWTx7AEiglVfCohKU9
4s4hz5GRzwMZz7vuBGjhr9CveMORl/PGkYdLtk0ZgLim1pznLwwMCvpqGQSCqv5E
dcOTwF8nYLVGn+BtOhZGEMD8udejsmeT14Zsj26Bmw6jhu9tH/uhoVB7pccPIBSV
AFC0BRmD9BZPAbIMEv17oxivxC6viqV8owRl7TC2Y8SLJi2Arp/Vwp3/emHFdWlO
+O0YUpWHKBOMZYXuOXM37XdJKa62Sd38GKnTCL35qsLaIiW60TsSVw6KjJvYOtY2
a1kFmwSDqiNaxoPPYwzWQc/n5i4sAJrK6oEDLOxxg3eT3xOZD5KfeLjNSWG1qNca
dtUcYiieBaekrOrS6+WuVKDI4y3sFs61kJ6Rg1qqoyvx7trzh2mzZ7LUBE25SmHC
qEvZNk0ZTLRo7qHhkrqiFiF7+oLBYVdGUTDYC2ljkDQsSeRXcYSbTGvhvzl2JmIU
LrXhsJD4RMjOEovkO2okmHXwaS26go1TbH80kDqX4OEWSDHaqYDcoq1+DNmoCMpM
Dv0SD6vcIi+W5arQ6SnJTMSFxPnUujITLtg2r3CA4p3q+B5j88w=
=tWfJ
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: