FS#79781 - hplip - mislabeled dependency (python-pyqt5)

Attached to Project: Arch Linux
Opened by Michal Hodur (michal.dev) - Monday, 25 September 2023, 14:40 GMT
Last edited by Toolybird (Toolybird) - Monday, 25 September 2023, 21:48 GMT
Task Type Feature Request
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:
Package does report `python-pyqt5` as an optional dependency,
however, the current setting is preventing "ordinary" user
from running the software. User is not informed what to do.
The workaround would be to require `python-pyqt5` or splitting
the package onto two (i.e. hplip and hplip-gui)

Additional info:
* package version(s): 1:3.23.8-1


Steps to reproduce:
On a clean system install hplip.

[michal@chuwi Downloads]$ sudo hp-toolbox
warning: hp-toolbox should not be run as root/superuser.

HP Linux Imaging and Printing System (ver. 3.23.8)
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'
This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 25 September 2023, 21:48 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Please familiarize yourself with the Arch way of doing thing before opening issues like this. Feel free to also frequent the support channels (forum, etc).
Comment by Michal Hodur (michal.dev) - Monday, 25 September 2023, 14:41 GMT
This is my first task in this system, so please, don't yell at me in the beginning :).
Comment by Doug Newgard (Scimmia) - Monday, 25 September 2023, 14:45 GMT
So when you installed hplip, pacman told you you needed python-pyqt5 "for running GUI and hp-toolbox" and you ignored it. What did you expect?
Comment by Michal Hodur (michal.dev) - Monday, 25 September 2023, 14:56 GMT
Yes, I know that, but I immediately fixed it, (and I knew how to fix it).
I mean, if we'd split the package into two, i.e. hplip-gui / hplip-toolbox depending on hplip and python-pyqt5, wouldn't it be nice(r) for the newcomers? :)

What I want to achieve: I know that Arch may be not the best "first-shot" Linux for many, but from my stance, an experienced DevOps, it's working on many devices (including mine) that other distros just don't support. I mean, for the growth of the community :). I know that Arch has steep(er) learning curve, but I believe we could have more newcomers and not close ourselves in our own silo :).

Just pondering, anyway, have a nice day Doug! Thanks!
Comment by Doug Newgard (Scimmia) - Monday, 25 September 2023, 15:05 GMT
This is what optional deps are for. If the user refuses to read, they're not going to do well with Arch anyway.

Loading...