Fix the `Failed to load shared library 'libglib-2.0.0.dylib' referenced
by the typelib` error by adding the common Homebrew's shared library
directory (i.e., `$(brew --prefix)/lib`) to the dyld library search path.
This ensures that all Homebrew-installed shared libraries are discoverable
via `dlopen()`-like loading mechanism. (Previously, only directory
with `libhidapi` shared library was explicitly added to search path).
Use `DYLD_FALLBACK_LIBRARY_PATH` instead of `DYLD_LIBRARY_PATH` to
register the Homebrew library directory as a fallback search path
rather than preferred/default one. In general, this should be
preferred way of modifying library search path with 3rd-party
installations, even though it probably bears no real difference in
this particular scenario.
python 3.13 brings pygobject >= 3.52.1 which requires libgirepository 2.0.
Add gobject-introspection has libgirepository-2.0-dev does not depends
on it and it is required by PyGObject.
Closes#2857.
Create coverage.xml, upload it to GitHub CI and visualize with codecov.
Setup instruction:
- Install codecov for project
https://github.com/settings/installations/55029514
- Add CODECOV_TOKEN in the GitHub CI project secrets
Related #1097
* Fix CI for macOS
* Fix error message for missing hidapi
* Skip some device and receiver tests on macOS
Tests fail on macOS, enable them when unit tests are
refined to only test the module without dependencies.
* Safe guard dbus import
* Show pytest coverage in GitHub CI tests
Related #1097
* Extend Makefile with installation and test targets
Refactor setup steps to unify commands between Linux and macOS.
Move bash commands into Makefile for consistency and enable local
execution of GitHub CI commands corresponding Makefile targets.
Install on Ubuntu:
make install_ubuntu
Install on Ubuntu for development:
make install_ubuntu PIP_ARGS=."[test]"
Fixes#2303
* Improve name of GitHub test actions
Related #2303
* Upgrade GitHub actions to Node.js 20
Replaces deprecated Node.js 16 actions.
Related #2256, #2284
* Show pytest coverage in GitHub CI tests
Related #1097
* Extend Makefile with installation and test targets
Refactor setup steps to unify commands between Linux and macOS.
Move bash commands into Makefile for consistency and enable local
execution of GitHub CI commands corresponding Makefile targets.
Install on Ubuntu:
make install_ubuntu
Install on Ubuntu for development:
make install_ubuntu PIP_ARGS=."[test]"
Fixes#2303
* Improve name of GitHub test actions
Related #2303