Skip to contentSkip to conversation

python3-pyroute2: Add sqlite3 to RDEPENDS

PATCH New Alex Kiernan 1 participant 1 message Jul 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-pyroute2: Add sqlite3 to RDEPENDS

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'

---
 meta-python/recipes-devtools/python/python3-pyroute2_0.9.6.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-pyroute2_0.9.6.bb +2 -2
index 834546b9db03..5f5b33704e4e 100644
@@ -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 () {