bindings: python: cleanup and support Python 3.15
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | bindings: python: _internal: sort exportsbindings/ | +1 | 0 replies | |
| 2/14 | bindings: python: _internal: simplify poll_fd calculationbindings/ | +1 | 0 replies | |
| 3/14 | bindings: python: _internal: collapse isinstance checksbindings/ | +3 | 0 replies | |
| 4/14 | bindings: python: setup: use a context manager to manage filesbindings/ | +9 | 0 replies | |
| 5/14 | bindings: python: line: sort exportsbindings/ | +1 | 0 replies | |
| 6/14 | bindings: python: line_request: simplify __bool__ expressionbindings/ | +1 | 0 replies | |
| 7/14 | bindings: python: chip: simplify __bool__ expressionbindings/ | +1 | 0 replies | |
| 8/14 | bindings: python: chip: drop redundant exception in reraisebindings/ | +1 | 0 replies | |
| 9/14 | bindings: python: chip: use literals for dict/list and declare typesbindings/ | +5 | 3 replies | |
| 10/14 | bindings: python: bump ruff linter dependencybindings/ bindings/ bindings/ +1 more | +11 | 0 replies | |
| 11/14 | bindings: python: include Python.h before other headersbindings/ bindings/ bindings/ | +3 | 1 reply | |
| 12/14 | bindings: python: advertise Python 3.15 supportbindings/ | +1 | 0 replies | |
| 13/14 | bindings: python: fix directory validation in artifact scriptbindings/ | +3 | 0 replies | |
| 14/14 | bindings: python: bump dependencies in artifact scriptbindings/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [libgpiod][PATCH 00/14] bindings: python: cleanup and support Python 3.15
This series prepares the Python bindings for release to support Python 3.15 by performing some minor clean ups, fixes to the bindings themselves, and fixes to the script that generates the PyPI artifacts.
Patches 1-9 apply fixes for linter callouts based on the default ruleset selected by ruff 0.17. There are no functional changes.
Patch 10 bumps the minimal version of ruff to lint the bindings, simplifies the linter configuration in pyproject.toml, reformats any non-compliant files, and applies linter noqa flags where necessary.
Patch 11 fixes some compile warnings that were noticed when building the bindings for Python 3.15.
Patch 12 adds the trove classifier to advertise Python 3.15 support.
Patch 13 fixes a few small oversights re directory validation in the script used to generate the PyPI artifacts.
Patch 14 bumps the dependencies in the PyPI artifact script to use newer utilities that support generating wheels for Python 3.15.
Note: changelog entries are not included in case changes are accepted partially.
Vincent Fazio (14):
bindings: python: _internal: sort exports
bindings: python: _internal: simplify poll_fd calculation
bindings: python: _internal: collapse isinstance checks
bindings: python: setup: use a context manager to manage files
bindings: python: line: sort exports
bindings: python: line_request: simplify __bool__ expression
bindings: python: chip: simplify __bool__ expression
bindings: python: chip: drop redundant exception in reraise
bindings: python: chip: use literals for dict/list and declare types
bindings: python: bump ruff linter dependency
bindings: python: include Python.h before other headers
bindings: python: advertise Python 3.15 support
bindings: python: fix directory validation in artifact script
bindings: python: bump dependencies in artifact script
.../examples/toggle_multiple_line_values.py | 4 ++-- bindings/python/generate_pypi_artifacts.sh | 8 ++++---- bindings/python/gpiod/_internal.py | 8 +++++--- bindings/python/gpiod/chip.py | 14 +++++++------- bindings/python/gpiod/ext/internal.h | 2 +- bindings/python/gpiod/ext/module.c | 2 +- bindings/python/gpiod/line.py | 2 +- bindings/python/gpiod/line_request.py | 2 +- bindings/python/pyproject.toml | 18 +++++++----------- bindings/python/setup.py | 17 ++++++++++------- bindings/python/tests/gpiosim/ext.c | 2 +- bindings/python/tests/tests_line_request.py | 3 ++- 12 files changed, 42 insertions(+), 40 deletions(-)
Signature · 1 line
2.43.0