Releases: pyocd/libusb-package
Releases · pyocd/libusb-package
v1.0.26.2
v1.0.26.1
v1.0.26.0
Changes
- Update libusb to commit libusb/libusb@ba69847, the v1.0.26 release plus 3 additional commits which fix building under Linux in some cases.
- Fix Linux build without udev for non-CI.
- Add support for cpython-mingw (Thanks @mhkline)
- Add Pyinstaller hook for libusb dynamic lib (Thanks @mhkline)
Many thanks to @mhkline for their contributions! ❤️
Full Changelog: v1.0.25.0...v1.0.26.0
v1.0.25.0
v1.0.24.2
Fixes
- Fix macOS arm64 builds on x86_64 systems. This caused the released universal2 wheels to only work on x86_64.
- Fix a type error with the return type of
get_libusb1_backend()
. - Suppress a type error on the line importing
importlib_resources
, which isn't installed on recent Python versions.
Changes
- Replace macOS universal2 wheels with arm64 wheels.
- Add mypy config to
pyproject.toml
. - Move cibuildwheel config to
pyproject.toml
(from environment variables set in the workflow) so it can be run locally. - Improve readme.
Full Changelog: v1.0.24.1...v1.0.24.2
v1.0.24.1
Fixes
- API: fixed usage of
functools.lru_cache()
decorator so it works on Python earlier than 3.9. - API: change default library extension for unrecgonised OS to ".so" and fix related type error.
- API: if a
backend
keyword parameter is passed tofind()
it will override the default of usingget_libusb1_backend()
. - API: corrected use of
importlib_resources
backport so libusb-package works on Python 3.6. - Setup: better catch exceptions from a failed build so a library-less install can be made (which will fall back to using a system libusb).
- Package metadata: corrected some classifiers and project URLs.
- Workflows: the "Build wheels" workflow is only run if sources, package setup, or the workflow is modified in a push or PR.
- Readme: added more about installation and the library-less install and fallback, and licensing.
Full Changelog: v1.0.24.0...v1.0.24.1