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

Only restrict hidapi dependency on Linux #615

Merged
merged 1 commit into from
Jan 17, 2025
Merged

Only restrict hidapi dependency on Linux #615

merged 1 commit into from
Jan 17, 2025

Conversation

robin-nitrokey
Copy link
Member

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.

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.
@robin-nitrokey robin-nitrokey merged commit 1397cd4 into master Jan 17, 2025
18 checks passed
@robin-nitrokey robin-nitrokey deleted the hidapi branch January 17, 2025 10:43
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.

2 participants