| Message ID | 20261204063827.2452990-3-khem.raj@oss.qualcomm.com |
|---|---|
| State | New |
| Headers | show |
| Series | meta-python: ptest fixes | expand |
diff --git a/meta-python/recipes-devtools/python/python3-wrapt_2.5.2.bb b/meta-python/recipes-devtools/python/python3-wrapt_2.5.2.bb index 6d1f2cf4c9..7be8e3efad 100644 --- a/meta-python/recipes-devtools/python/python3-wrapt_2.5.2.bb +++ b/meta-python/recipes-devtools/python/python3-wrapt_2.5.2.bb @@ -10,10 +10,12 @@ DEPENDS += "python3-wheel-native" SRC_URI[sha256sum] = "551cb49e88b3722faad780303833bc4fa70685fb1773270fb98b40d39d9fddbf" -# python3-misc for 'this' module, python3-image for colorsys (test_deferred_patching) +# python3-misc for 'this', python3-image for colorsys, python3-netserver for wsgiref, python3-pydoc for pydoc RDEPENDS:${PN}-ptest += " \ python3-image \ python3-misc \ + python3-netserver \ + python3-pydoc \ " RDEPENDS:${PN}:append:class-target = " \
tests/core/test_with_doc.py and test_with_signature.py import pydoc, so pytest aborted at collection in the qemux86-64 musl ptest image: E ModuleNotFoundError: Standard library module 'pydoc' was not found and no test ran. test_post_import_hooks.py imports wsgiref (from python3-netserver) in a thread and asserts that its import hook ran, so it would fail next. The other standard library modules the tests import are in python3-core or already installed (asyncio, debugger, image, misc, pickle, unittest). Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> --- meta-python/recipes-devtools/python/python3-wrapt_2.5.2.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)