CI: Repackaging to hatch/pyproject, GPIODevice edge detection, fixes. - #26
Open
Gadgetoid wants to merge 8 commits into
Open
CI: Repackaging to hatch/pyproject, GPIODevice edge detection, fixes.#26Gadgetoid wants to merge 8 commits into
Gadgetoid wants to merge 8 commits into
Conversation
- hatchling dynamic optional-dependencies via hatch-requirements-txt - [dependency-groups] dev; ruff import sorting (drop isort/black) - pre-commit + editorconfig; uv-based CI and tox qa - requires-python >= 3.9, classifiers 3.9-3.13 - remove check.sh, requirements-dev.txt, .stickler.yml
Replaces the bespoke StoppableThread/AsyncWorker polling for the wired ALERT pin with the canonical gpiodevice.Watch; wait_for_interrupt now uses gpiodevice.wait_for_edge. The no-ALERT-pin path keeps polling the I2C interrupt register. Also updates the stale test conftest (mocked RPi.GPIO) to mock the libgpiod stack the code actually uses.
CHANGELOG topped out at 0.1.4 while v1.0.0 was already tagged on both remotes, so make check refused: it will not accept a top entry that is already tagged. Documents 1.0.0 as tagged (the gpiod/smbus2 port and the repackage went in there, not on this branch, and it never reached PyPI - 0.1.4 is still what's published) and opens 1.0.1 for the work since: the listener polling fix, the gpiodevice.Watch ALERT pin, and the packaging changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.