Skip to content

Releases: pyocd/libusb-package

v1.0.26.2

11 Jun 21:56
Compare
Choose a tag to compare

Changes

  • Replace deprecated importlib.resources API usage

Full Changelog: v1.0.26.1...v1.0.26.2

v1.0.26.1

18 Dec 21:50
d24e043
Compare
Choose a tag to compare

v1.0.26.1 on PyPI

Changes

  • Python 3.11 support
  • Dropped Python 3.6 support

Full Changelog: v1.0.26.0...v1.0.26.1

v1.0.26.0

29 May 23:51
v1.0.26.0
2be8e53
Compare
Choose a tag to compare

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

02 Feb 20:49
Compare
Choose a tag to compare

v1.0.25.0 on PyPI

Changes

  • Update libusb to v1.0.25.

Full Changelog: v1.0.24.2...v1.0.25.0

v1.0.24.2

04 Dec 18:21
v1.0.24.2
775e098
Compare
Choose a tag to compare

View release on PyPI

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

13 Nov 22:51
7b3a847
Compare
Choose a tag to compare

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 to find() it will override the default of using get_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

v1.0.24.0

10 Nov 22:22
2b25a7d
Compare
Choose a tag to compare

First release! 🎉