summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-subunit_1.3.0.bb
diff options
context:
space:
mode:
authorTrevor Gamblin <trevor.gamblin@windriver.com>2019-09-23 11:52:38 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-27 13:02:17 +0100
commitbbe46d8ca333e1161378d9cdc935279fcb15a088 (patch)
treeaf1fb38f2b3b25bb4b413fbd2b7f16c4d265ec22 /meta/recipes-devtools/python/python3-subunit_1.3.0.bb
parent5af64b55f3f1066488056d8c052ebc1561834b4a (diff)
downloadpoky-bbe46d8ca333e1161378d9cdc935279fcb15a088.tar.gz
python3-subunit: ensure runtime dependencies are present
Without access to unittest, subunit cannot be imported in python3: root@qemux86-64:~# python3 Python 3.7.4 (default, Sep 20 2019, 13:38:31) [GCC 9.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import subunit Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.7/site-packages/subunit/__init__.py", line 123, in <module> import unittest ModuleNotFoundError: No module named 'unittest' >>> Adding python3-testtools to python3-subunit's RDEPENDS fixes the issue. This also implicitly provides the functionality found in the python3-extras module. (From OE-Core rev: 7ed7dc39e379c18f757e3c326ec1466c8ab27b41) Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-subunit_1.3.0.bb')
-rw-r--r--meta/recipes-devtools/python/python3-subunit_1.3.0.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-subunit_1.3.0.bb b/meta/recipes-devtools/python/python3-subunit_1.3.0.bb
index 2ece4451df..55066e2d0f 100644
--- a/meta/recipes-devtools/python/python3-subunit_1.3.0.bb
+++ b/meta/recipes-devtools/python/python3-subunit_1.3.0.bb
@@ -1,2 +1,4 @@
1inherit setuptools3 1inherit setuptools3
2require python-subunit.inc 2require python-subunit.inc
3
4RDEPENDS_${PN} = " python3-testtools"