Package: hplip-gui
Version: 3.22.10+dfsg0-5
Severity: normal
Dear Maintainer,
Updating hplip with the last version from sid pulls python 3.12 as default python3 version
Then it's breaks hplip leading some messages like this below:
hp-toolbox Traceback (most recent call last):
File "/usr/bin/hp-toolbox", line 38, in <module>
from base.g import *
File "/usr/share/hplip/base/g.py", line 239, in <module>
sys_conf = SysConfig()
^^^^^^^^^^^
File "/usr/share/hplip/base/g.py", line 184, in __init__
ConfigBase.__init__(self, '/etc/hp/hplip.conf')
File "/usr/share/hplip/base/g.py", line 89, in __init__
self.read()
File "/usr/share/hplip/base/g.py", line 130, in read
self.conf.readfp(fp)
^^^^^^^^^^^^^^^^
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: ' read'?
Reverting back to the testing version fix these errors since it reverts python3 package to 3.11.
Probably it is related to this Arch Linux forum report:
Kernel: Linux 6.9.7 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE=pt_BR:p t:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages hplip-gui depends on:
ii dbus-user-session [default-dbus-session-bus] 1.14.10-4+b1
ii dbus-x11 [dbus-session-bus] 1.14.10-4+b1
ii hplip 3.22.10+dfsg0-5+b1
ii python3-dbus.mainloop.pyqt5 5.15.10+dfsg-1+b3
ii python3-pyqt5 5.15.10+dfsg-1+b3
Versions of packages hplip-gui recommends:
ii python3-notify2 0.3-5
ii xsane 0.999-12+b2