From b8d87f363a8851cea9672494837a301ab2314f23 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 25 Sep 2024 14:18:32 -0700 Subject: python3-ujson: Add python misc modules to ptest rdeps Its needed for ModuleNotFoundError: No module named 'tracemalloc' Signed-off-by: Khem Raj Signed-off-by: Armin Kuster --- meta-python/recipes-devtools/python/python3-ujson/run-ptest | 2 +- meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-ujson/run-ptest b/meta-python/recipes-devtools/python/python3-ujson/run-ptest index 8d2017d39c..4863c5e5a3 100644 --- a/meta-python/recipes-devtools/python/python3-ujson/run-ptest +++ b/meta-python/recipes-devtools/python/python3-ujson/run-ptest @@ -1,3 +1,3 @@ #!/bin/sh -pytest --automake +FORCE_COLOR=1 pytest --automake --capture=no diff --git a/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb b/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb index 18ce5cc301..5f4439c4c3 100644 --- a/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb +++ b/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e0039a83d8a99726b5 SRC_URI[sha256sum] = "b3cd8f3c5d8c7738257f1018880444f7b7d9b66232c64649f562d7ba86ad4bc1" -inherit pypi ptest setuptools3 +inherit pypi ptest python_setuptools_build_meta # let OE do the strip operation export UJSON_BUILD_NO_STRIP = "1" @@ -24,6 +24,7 @@ RDEPENDS:${PN} += "\ RDEPENDS:${PN}-ptest += " \ python3-json \ + python3-misc \ python3-pytest \ python3-pytz \ python3-unittest-automake-output \ -- cgit v1.2.3-54-g00ecf