-
-
Notifications
You must be signed in to change notification settings - Fork 39.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lazy-load "qmk console" dependencies #12978
Conversation
This keeps the rest of the cli usable even when `hidapi` and `pyusb` are not installed.
Thanks for the PR, but this is not something we're going to change. Those are listed in |
Okay |
The native dependencies of these packages also impact whether
i.e. there's a dependency cycle in some cases where, in order to be able to install dependencies with Lazy-loading so that |
Im not sure why hid and pyusb ended up in dev, probably a merging error. I opened a pr to fix that. There is no dependency cycle to worry about because setup is one of a handful of commands which run even when dependencies aren’t satisfied. |
Currently, following the instructions at https://docs.qmk.fm/#/newbs_getting_started fails for a fresh installation. This can be reproduced with Docker. e.g.:
then in that:
This outputs:
|
I’ll take a closer look in a few days. We may need to rework how those imports happen. |
#13199 follows this up. :) EDIT: Hmm, still observe the same error. |
Description
This keeps the rest of the cli usable even when
hidapi
andpyusb
are not installed.Types of Changes
PR checklist