diff mbox series

[PATCHv2,3/3] package/python-magic-wormhole-mailbox-server: add missing python-setuptools dependency

Message ID 20241101171044.3320155-3-romain.naour@smile.fr
State Accepted
Headers show
Series [PATCHv2,1/3] package/python-twisted: add missing python3-zlib dependency | expand

Commit Message

Romain Naour Nov. 1, 2024, 5:10 p.m. UTC
TestPythonPy3MagicWormhole runtime test is currently broken due to
missing python-setuptools dependency.

wormhole-mailbox server fail to start with:

    File "/usr/lib/python3.12/site-packages/wormhole_mailbox_server/server_tap.py", line 11, in <module>
    File "/usr/lib/python3.12/site-packages/wormhole_mailbox_server/database.py", line 5, in <module>
  ModuleNotFoundError: No module named 'pkg_resources'

Signed-off-by: Romain Naour <romain.naour@smile.fr>
---
 package/python-magic-wormhole-mailbox-server/Config.in | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/package/python-magic-wormhole-mailbox-server/Config.in b/package/python-magic-wormhole-mailbox-server/Config.in
index a0721e866f..a4f4c5ced5 100644
--- a/package/python-magic-wormhole-mailbox-server/Config.in
+++ b/package/python-magic-wormhole-mailbox-server/Config.in
@@ -4,6 +4,7 @@  config BR2_PACKAGE_PYTHON_MAGIC_WORMHOLE_MAILBOX_SERVER
 	select BR2_PACKAGE_PYTHON3_SQLITE # runtime
 	select BR2_PACKAGE_PYTHON_ATTRS # runtime
 	select BR2_PACKAGE_PYTHON_AUTOBAHN # runtime
+	select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime, pkg_resources
 	select BR2_PACKAGE_PYTHON_SIX # runtime
 	select BR2_PACKAGE_PYTHON_TWISTED # runtime
 	help