diff mbox series

[libgpiod,3/3] bindings: python: require python 3.9.0

Message ID 20231011121246.9467-4-phil@gadgetoid.com
State New
Headers show
Series bindings: python: optionally include module (...) | expand

Commit Message

Phil Howard Oct. 11, 2023, 12:12 p.m. UTC
Required minimum version for PyModule_AddType helper.

Signed-off-by: Phil Howard <phil@gadgetoid.com>
---
 bindings/python/setup.py | 1 +
 1 file changed, 1 insertion(+)

Comments

Bartosz Golaszewski Oct. 12, 2023, 7:07 p.m. UTC | #1
On Wed, Oct 11, 2023 at 2:13 PM Phil Howard <phil@gadgetoid.com> wrote:
>
> Required minimum version for PyModule_AddType helper.
>
> Signed-off-by: Phil Howard <phil@gadgetoid.com>
> ---
>  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
>

Applied, thanks!

Bart
diff mbox series

Patch

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__,