diff mbox series

[meta-python] python3-pyroute2: Add sqlite3 to RDEPENDS

Message ID 20260707124141.495612-2-alex.kiernan@gmail.com
State New
Headers show
Series [meta-python] python3-pyroute2: Add sqlite3 to RDEPENDS | expand

Commit Message

Alex Kiernan July 7, 2026, 12:41 p.m. UTC
python3-sqlite is required by the NDB code, irrespective of ptest:

  File "/usr/lib/python3.14/site-packages/pyroute2/__init__.py", line 31, in <module>
  File "/usr/lib/python3.14/site-packages/pyroute2/ipdb/__init__.py", line 16, in <module>
  File "/usr/lib/python3.14/site-packages/pyroute2/ndb/main.py", line 317, in <module>
  File "/usr/lib/python3.14/site-packages/pyroute2/ndb/task_manager.py", line 9, in <module>
  File "/usr/lib/python3.14/site-packages/pyroute2/ndb/schema.py", line 99, in <module>
ModuleNotFoundError: No module named 'sqlite3'

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
---
 meta-python/recipes-devtools/python/python3-pyroute2_0.9.6.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.9.6.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.9.6.bb
index 834546b9db03..5f5b33704e4e 100644
--- a/meta-python/recipes-devtools/python/python3-pyroute2_0.9.6.bb
+++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.9.6.bb
@@ -10,15 +10,16 @@  inherit python_setuptools_build_meta pypi ptest-python-pytest
 
 RDEPENDS:${PN} += " \
     python3-ctypes \
+    python3-fcntl \
     python3-io \
     python3-json \
-    python3-fcntl \
     python3-logging \
     python3-multiprocessing \
     python3-pickle \
     python3-pkgutil \
     python3-pprint \
     python3-shell \
+    python3-sqlite3 \
     python3-unittest \
     python3-unixadmin \
 "
@@ -27,7 +28,6 @@  RDEPENDS:${PN}-ptest += " \
     python3-fcntl \
     python3-html \
     python3-netclient \
-    python3-sqlite3 \
 "
 
 do_install_ptest:append () {