Broken with Python 3.14
Description:
Additional info:
- package version(s): 1:3.25.8-3
- config and/or log files: doesn't matter
- link to upstream bug report, if any:
Steps to reproduce:
- E.g. run
hp-plugin -i - Crash on removed class:
Traceback (most recent call last):
File "/usr/bin/hp-plugin", line 41, in <module>
from base import device, utils, tui, module, services
File "/usr/share/hplip/base/device.py", line 2690, in <module>
class LocalOpener(urllib_request.URLopener):
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'urllib.request' has no attribute 'URLopener'
This happens because Python 3.14 finally removed the URLopener class which was deprecated since Python 3.3: https://github.com/python/cpython/issues/84850
There is an upstream bug report: https://bugs.launchpad.net/hplip/+bug/2115046
Edited by Bernhard