Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#71555 - [python-hid] Package occupying same namespace as python-hidapi?

Attached to Project: Community Packages
Opened by Timo (tb) - Tuesday, 20 July 2021, 13:02 GMT
Last edited by Morten Linderud (Foxboron) - Tuesday, 20 July 2021, 16:38 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Morten Linderud (Foxboron)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



I'm trying to install the following packages in combination:

Running liquidctl and interacting with a USB device results in the following error:

> λ ~ liquidctl initialize --match fan
> AttributeError: module 'hid' has no attribute 'device'

I've created an issue ( and the author pointed out that python-hid and python-hidapi occupy the same Python namespace.

Is there a way python-hid and python-hidapi could be installed and used simultaneously?

Additional info:
* package version(s)
- local/python-hid 1.0.4-4
- local/python-hidapi 0.10.1-1
- local/liquidctl 1.7.0-1
- local/qmk 0.1.0-1
* link to upstream bug report:

Steps to reproduce: Install both hid packages and try to import them.
This task depends upon

Closed by  Morten Linderud (Foxboron)
Tuesday, 20 July 2021, 16:38 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.0.4-5
Comment by Morten Linderud (Foxboron) - Tuesday, 20 July 2021, 13:20 GMT

I'll probably just nuke the dependency on the qmk package and stick with hidapi and claim rest are upstream bugs. Super annoying.
Comment by Timo (tb) - Tuesday, 20 July 2021, 13:34 GMT
Great, thanks for taking a look! Maybe also add a conflict between hid and hidapi, or would that be too heavy-handed?
Comment by Morten Linderud (Foxboron) - Tuesday, 20 July 2021, 13:44 GMT
Yeah no, this is going to be an issue because they acutally want python-hid for qmk, and you want python-hidapi for liquidctl. Which means you can't have liquidctl and qmk installed on the same system..........
Comment by Morten Linderud (Foxboron) - Tuesday, 20 July 2021, 16:37 GMT
Errata: Adding conflicts and any bug reports about conflicting python-hid and python-hidapi is going to be a "Not a bug" until something is sorted upstream.