libusb-package icon indicating copy to clipboard operation
libusb-package copied to clipboard

Can the wheels from this package be Python 3 generic (not specifc to each Python version)?

Open carlosperate opened this issue 1 year ago • 2 comments

I would assume none of the C code from this package is using the Python C API, is that correct? If so, I think maybe the wheels can be declared abi3 compatible (the reduced Python3 API) and that'd reduce the total number of wheels to 1 per platform, instead of having one per Python version and per platform.

This would also have the advantage that existing wheels marked with abi3 would be inmediately installable in newer Python versions (at least until a Python release updates the ABI to abi4, maybe the future no-gil), so the package would not have to be updated just to support the latest Python release, like in https://github.com/pyocd/libusb-package/issues/16.

I've not yet had to create a Python wheel with C extensions, so not my area of expertise and I could be wrong here, but worth exploring?

carlosperate avatar Nov 24 '23 00:11 carlosperate