mbox series

[0/3] bindings: python: drop dependency on distutils

Message ID 20241120-drop-distutils-v1-0-7498e8b3babe@linaro.org
Headers show
Series bindings: python: drop dependency on distutils | expand

Message

Bartosz Golaszewski Nov. 20, 2024, 1:18 p.m. UTC
Python tests depend on the distutils package which not only is an
external dependency but is also deprecated. This series replaces it with
version parsing implemented in the C extension.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
Bartosz Golaszewski (3):
      bindings: python: add .pyi files to EXTRA_DIST
      bindings: python: tests: rename procname to system
      bindings: python: tests: provide and use system.check_kernel_version()

 bindings/python/MANIFEST.in                        |  2 +-
 bindings/python/build_tests.py                     | 10 +--
 bindings/python/gpiod/Makefile.am                  |  1 +
 bindings/python/tests/Makefile.am                  |  2 +-
 bindings/python/tests/__init__.py                  | 11 ++-
 bindings/python/tests/__main__.py                  |  4 +-
 bindings/python/tests/gpiosim/Makefile.am          |  1 +
 bindings/python/tests/procname/ext.c               | 42 ------------
 .../python/tests/{procname => system}/Makefile.am  |  1 +
 .../python/tests/{procname => system}/__init__.py  |  4 +-
 .../python/tests/{procname => system}/_ext.pyi     |  1 +
 bindings/python/tests/system/ext.c                 | 79 ++++++++++++++++++++++
 configure.ac                                       |  2 +-
 13 files changed, 100 insertions(+), 60 deletions(-)
---
base-commit: 0505dc36435b6d87523f530192d6025fc94222f3
change-id: 20241120-drop-distutils-afcfa1a24c13

Best regards,