All of lore.kernel.org
 help / color / mirror / Atom feed
* [libgpiod][PATCH 00/14] bindings: python: cleanup and support Python 3.15
@ 2026-10-20  0:37 Vincent Fazio
  2026-10-20  0:37 ` [libgpiod][PATCH 01/14] bindings: python: _internal: sort exports Vincent Fazio
                   ` (15 more replies)
  0 siblings, 16 replies; 22+ messages in thread
From: Vincent Fazio @ 2026-10-20  0:37 UTC (permalink / raw)
  To: linux-gpio; +Cc: brgl, Vincent Fazio

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(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2026-10-20 14:37 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-20  0:37 [libgpiod][PATCH 00/14] bindings: python: cleanup and support Python 3.15 Vincent Fazio
2026-10-20  0:37 ` [libgpiod][PATCH 01/14] bindings: python: _internal: sort exports Vincent Fazio
2026-10-20  0:37 ` [libgpiod][PATCH 02/14] bindings: python: _internal: simplify poll_fd calculation Vincent Fazio
2026-10-20  0:37 ` [libgpiod][PATCH 03/14] bindings: python: _internal: collapse isinstance checks Vincent Fazio
2026-10-20  0:37 ` [libgpiod][PATCH 04/14] bindings: python: setup: use a context manager to manage files Vincent Fazio
2026-10-20  0:37 ` [libgpiod][PATCH 05/14] bindings: python: line: sort exports Vincent Fazio
2026-10-20  0:37 ` [libgpiod][PATCH 06/14] bindings: python: line_request: simplify __bool__ expression Vincent Fazio
2026-10-20  0:37 ` [libgpiod][PATCH 07/14] bindings: python: chip: " Vincent Fazio
2026-10-20  0:37 ` [libgpiod][PATCH 08/14] bindings: python: chip: drop redundant exception in reraise Vincent Fazio
2026-10-20  0:37 ` [libgpiod][PATCH 09/14] bindings: python: chip: use literals for dict/list and declare types Vincent Fazio
2026-10-20 13:02   ` Bartosz Golaszewski
2026-10-20  0:37 ` [libgpiod][PATCH 10/14] bindings: python: bump ruff linter dependency Vincent Fazio
2026-10-20  0:37 ` [libgpiod][PATCH 11/14] bindings: python: include Python.h before other headers Vincent Fazio
2026-10-20 13:07   ` Bartosz Golaszewski
2026-10-20  0:37 ` [libgpiod][PATCH 12/14] bindings: python: advertise Python 3.15 support Vincent Fazio
2026-10-20  0:37 ` [libgpiod][PATCH 13/14] bindings: python: fix directory validation in artifact script Vincent Fazio
2026-10-20  0:37 ` [libgpiod][PATCH 14/14] bindings: python: bump dependencies " Vincent Fazio
2026-10-20 13:10 ` [libgpiod][PATCH 00/14] bindings: python: cleanup and support Python 3.15 Bartosz Golaszewski
2026-10-20 13:25   ` Vincent Fazio
2026-10-20 13:32     ` Bartosz Golaszewski
2026-10-20 14:37       ` Vincent Fazio
2026-10-20 13:10 ` (subset) " Bartosz Golaszewski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.