Skip to content
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

Restrict hidapi dependency and release v0.7.1 #602

Merged
merged 2 commits into from
Dec 13, 2024
Merged

Conversation

robin-nitrokey
Copy link
Member

hidapi release v0.14.0-post.4 does not work with our udev rules as it switches back to the libusb backend instead of using hidraw. Until we have rolled out new udev rules or hidapi has migrated to hidraw for good, this patch restricts hidapi to the versions using the hidraw backend.

Fixes: #601

hidapi release v0.14.0-post.4 does not work with our udev rules as it
switches back to the libusb backend instead of using hidraw.  Until we
have rolled out new udev rules or hidapi has migrated to hidraw for
good, this patch restricts hidapi to the versions using the hidraw
backend.

Fixes: #601
@robin-nitrokey robin-nitrokey merged commit 420bd94 into master Dec 13, 2024
8 checks passed
@robin-nitrokey robin-nitrokey deleted the hidapi branch December 13, 2024 17:13
robin-nitrokey added a commit that referenced this pull request Jan 16, 2025
We restrict the hidapi dependency to some specific versions to make sure
that the hidraw backend is used, see:
#602

But the hidapi versions that are now eligible are not providing wheels
for Python 3.13 so that they have to be compiled from source.  This is
an unnecessary complication for non-Linux platforms.  Therefore this
patch only applies the restriction on Linux.  Other platforms can use
any 0.14 release.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nk3: SPSDKConnectionError during nitropy nk3 update (with udev rules in place!)
2 participants