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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
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,
-- 
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>





[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux