Package: python3-dput Version: 1.37 Severity: important User: debian-pyt...@lists.debian.org Usertags: python3.12
Dear Maintainer, This module seems to be incompatible with Python 3.12: $ dput ftp-master sip6_6.8.2+dfsg-1_source.changes Traceback (most recent call last): File "/usr/bin/dput", line 129, in <module> upload_package(changes, args) File "/usr/lib/python3/dist-packages/dput/uploader.py", line 274, in invoke_dput profile = dput.profile.load_profile(args.host) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/dput/profile.py", line 191, in load_profile _multi_config = MultiConfig() ^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/dput/profile.py", line 85, in __init__ self.preload(configs) File "/usr/lib/python3/dist-packages/dput/profile.py", line 101, in preload classes[obj['type']]( File "/usr/lib/python3/dist-packages/dput/config.py", line 42, in __init__ self.preload(configs) File "/usr/lib/python3/dist-packages/dput/configs/dputcf.py", line 60, in preload parser.readfp(open(config, 'r')) ^^^^^^^^^^^^^ AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: 'read'? Quoting Python 3.12 changes page: > Several names deprecated in the configparser way back in 3.2 have been > removed per gh-89336: > > [...] > - configparser.ConfigParser no longer has a readfp method. Use read_file() > instead. -- Dmitry Shachnev
signature.asc
Description: PGP signature