diff mbox series

[1/3] python3-unittest-automake-output: add dependency on unittest

Message ID 20240724171926.3724005-1-ross.burton@arm.com
State Accepted, archived
Commit 98343c8fa3572ccd04964c988d55cd31f2ad8d9f
Headers show
Series [1/3] python3-unittest-automake-output: add dependency on unittest | expand

Commit Message

Ross Burton July 24, 2024, 5:19 p.m. UTC
This module can be used as a wrapper around unittest, so depend on that.

Don't also depend on pytest as that's a much larger dependency, and
in ptest images we want as little pulled in as possible.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../python/python3-unittest-automake-output_0.2.bb              | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-unittest-automake-output_0.2.bb b/meta/recipes-devtools/python/python3-unittest-automake-output_0.2.bb
index 1fc6180d0eb..fefd4654c72 100644
--- a/meta/recipes-devtools/python/python3-unittest-automake-output_0.2.bb
+++ b/meta/recipes-devtools/python/python3-unittest-automake-output_0.2.bb
@@ -10,4 +10,6 @@  S = "${WORKDIR}/git"
 
 inherit python_flit_core
 
+RDEPENDS:${PN} += "python3-unittest"
+
 BBCLASSEXTEND = "native nativesdk"