Required minimum version for PyModule_AddType helper. Signed-off-by: Phil Howard <phil@xxxxxxxxxxxxx> --- bindings/python/setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/python/setup.py b/bindings/python/setup.py index 2e25981..fbba7ab 100644 --- a/bindings/python/setup.py +++ b/bindings/python/setup.py @@ -91,6 +91,7 @@ if "GPIOD_WITH_TESTS" in environ and environ["GPIOD_WITH_TESTS"] == "1": setup( name="libgpiod", packages=find_packages(exclude=["tests", "tests.*"]), + python_requires=">=3.9.0", ext_modules=extensions, cmdclass={"build_ext": build_ext}, version=__version__, -- 2.34.1