From 354cc72f99d2062cc0b937dcb88179de83fee2f4 Mon Sep 17 00:00:00 2001 From: Yacin Belmihoub-Martel Date: Mon, 25 Aug 2025 19:41:40 -0400 Subject: [PATCH] package/python-pyroute2: add missing python3 ssl dependency Buildroot commit [1] "package/python-pyroute2: bump to version 0.9.4" added the python3 ssl runtime dependency while updating the package in the "next" branch. It incorrectly suggested the dependency was introduced in version 0.9.4. This dependency was in fact introduced in upstream commit [2], first time included in pyroute2 0.8.1, which is the current version in the Buildroot release stabilization branch. It is worth mentioning that this package was updated to that version in Buildroot commit [3]. Running the command on target: python3 -c 'import pyroute2' Fails at runtime with error: ModuleNotFoundError: No module named '_ssl' This commit fixes the issue by adding this missing dependency, the same was it was done in commit [1]. [1] https://gitlab.com/buildroot.org/buildroot/-/commit/786557d859dba7e52c883e5215e53e93fac13b88 [2] https://github.com/svinota/pyroute2/commit/e87c14581b883c12ecadc75bf0fd07bf359de842 [3] https://gitlab.com/buildroot.org/buildroot/-/commit/816641bbe1c60e881526510bd55fb2ed0d740298 Signed-off-by: Yacin Belmihoub-Martel [Julien: - reword commit log - add the "runtime" comment ] Signed-off-by: Julien Olivain (cherry picked from commit c399b6d682c480512622d71ac2317c8494d2d73e) Signed-off-by: Titouan Christophe --- package/python-pyroute2/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-pyroute2/Config.in b/package/python-pyroute2/Config.in index 9e685f9d1e..2e667165a8 100644 --- a/package/python-pyroute2/Config.in +++ b/package/python-pyroute2/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_PYTHON_PYROUTE2 bool "python-pyroute2" select BR2_PACKAGE_PYTHON3_SQLITE + select BR2_PACKAGE_PYTHON3_SSL # runtime help Python netlink library - Linux network / netns / wireless / ipset configuration.