[Piuparts-devel] Bug#1067938: piuparts fails autopkg tests with Python 3.12

Matthias Klose doko at debian.org
Fri Mar 29 09:18:40 GMT 2024


Package: src:piuparts
Version: 1.4.1
Severity: serious
Tags: sid trixie
User: debian-python at lists.debian.org
Usertags: python3.12

please also check that it works with Python 3.12.

[...]
278s autopkgtest [08:25:21]: test smoke-test: [-----------------------
278s running /tmp/autopkgtest.CGhWQf/build.CLh/src/debian/tests/smoke-test
278s
278s running piuparts --version
278s piuparts 1.4.1
278s dpkg-deb: building package 't' in 't.deb'.
278s
278s running piuparts t.deb
278s
278s Piuparts caught exception, exiting...
278s ------------------------------------------------------------
278s Traceback (most recent call last):
278s   File "/usr/sbin/piuparts", line 3667, in <module>
278s     main()
278s   File "/usr/sbin/piuparts", line 3610, in main
278s     args = parse_command_line()
278s            ^^^^^^^^^^^^^^^^^^^^
278s   File "/usr/sbin/piuparts", line 3523, in parse_command_line
278s     settings.distro_config = 
piupartslib.conf.DistroConfig(DISTRO_CONFIG_FILE, 
settings.debian_mirrors[0][0])
278s 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
278s   File "/usr/lib/python3/dist-packages/piupartslib/conf.py", line 
159, in __init__
278s     cp = configparser.SafeConfigParser()
278s          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
278s AttributeError: module 'configparser' has no attribute 
'SafeConfigParser'. Did you mean: 'RawConfigParser'?



More information about the Piuparts-devel mailing list