From: Vincent Fazio <vfazio@gmail.com>
To: linux-gpio@vger.kernel.org
Cc: brgl@kernel.org, Vincent Fazio <vfazio@gmail.com>
Subject: [libgpiod][PATCH 0/3] bindings: python: add support for free-threaded Python
Date: Fri, 22 May 2026 15:04:15 -0500 [thread overview]
Message-ID: <20260522200419.105496-1-vfazio@gmail.com> (raw)
This short series adds support for free-threaded Python and adds a new
test suite to provide some confidence in the suitability of the bindings
being used within a multi-threaded context.
A changelog is also added to keep track of changes between releases.
Note:
The new threaded test suite was run on multiple machines in excess of
1M+ iterations in an attempt to make sure they were bug free but due
to the nature of the problem, they may not be absolutely error free.
Vincent Fazio (3):
bindings: python: tests: add multi-threaded tests
bindings: python: support free-threaded CPython
bindings: python: add a changelog
bindings/python/CHANGELOG.md | 44 ++
bindings/python/MANIFEST.in | 1 +
bindings/python/README.md | 8 +-
bindings/python/gpiod/ext/module.c | 5 +-
bindings/python/pyproject.toml | 3 +-
bindings/python/tests/__main__.py | 1 +
bindings/python/tests/gpiosim/ext.c | 3 +
bindings/python/tests/helpers.py | 5 +
bindings/python/tests/meson.build | 1 +
bindings/python/tests/system/ext.c | 3 +
bindings/python/tests/tests_threading.py | 742 +++++++++++++++++++++++
docs/python_api.rst | 6 +
12 files changed, 819 insertions(+), 3 deletions(-)
create mode 100644 bindings/python/CHANGELOG.md
create mode 100644 bindings/python/tests/tests_threading.py
--
2.43.0
next reply other threads:[~2026-05-22 20:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-22 20:04 Vincent Fazio [this message]
2026-05-22 20:04 ` [libgpiod][PATCH 1/3] bindings: python: tests: add multi-threaded tests Vincent Fazio
2026-05-26 11:05 ` Bartosz Golaszewski
2026-05-26 17:45 ` Vincent Fazio
2026-05-27 7:51 ` Bartosz Golaszewski
2026-05-22 20:04 ` [libgpiod][PATCH 2/3] bindings: python: support free-threaded CPython Vincent Fazio
2026-05-26 11:07 ` Bartosz Golaszewski
2026-05-26 17:50 ` Vincent Fazio
2026-05-27 7:50 ` Bartosz Golaszewski
2026-05-22 20:04 ` [libgpiod][PATCH 3/3] bindings: python: add a changelog Vincent Fazio
2026-05-22 20:24 ` [libgpiod][PATCH 0/3] bindings: python: add support for free-threaded Python Vincent Fazio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260522200419.105496-1-vfazio@gmail.com \
--to=vfazio@gmail.com \
--cc=brgl@kernel.org \
--cc=linux-gpio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox