FS#65666 - extra/hplip depends on PyQt5

Attached to Project: Arch Linux
Opened by Erik Ridderby (Paddlaren) - Sunday, 01 March 2020, 07:07 GMT
Last edited by Allan McRae (Allan) - Sunday, 01 March 2020, 07:32 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The desktop application for hplip needs pyqt5 to run but pyqt5 is not a dependency of the package.

Additional info:
* package version: extra/hplip 1:3.19.12-1

Steps to reproduce:

* Install hplip on system that not yet have pyqt5 installed
* Note that pyqt5 is not installed
* Try to start hp-toolbox and it will fail due to missing pyqt5.
* Install pyqt5 and hp-toolbox works as expected.

Logg from bash:

[xxx@localhost ~]$ hp-toolbox
/usr/share/hplip/base/utils.py:2061: SyntaxWarning: "is" with a literal. Did you mean "=="?
if weburl is "" or weburl is None:

HP Linux Imaging and Printing System (ver. 3.19.12)
HP Device Manager ver. 15.0

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

error: No module named 'PyQt5'

[xxx@localhost ~]$
This task depends upon

Closed by  Allan McRae (Allan)
Sunday, 01 March 2020, 07:32 GMT
Reason for closing:  Not a bug
Comment by Allan McRae (Allan) - Sunday, 01 March 2020, 07:32 GMT
$ pacman -Si hplip
...
Optional Deps : ...
python-pyqt5: for running GUI and hp-toolbox

Loading...