* [meta-python][PATCH] python-pytest.inc: add ${PYTHON_PN}-doctest to RDEPENDS
@ 2018-03-02 23:22 Tim Orling
0 siblings, 0 replies; only message in thread
From: Tim Orling @ 2018-03-02 23:22 UTC (permalink / raw)
To: openembedded-devel
If pytest fallsback to pdb, it needs python-doctest module or
else it fails with:
Traceback (most recent call last):
File \"/usr/bin/pytest\", line 11, in <module>
load_entry_point('pytest==3.4.1', 'console_scripts', 'pytest')()
File \"/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py\", line 572, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File \"/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py\", line 2755, in load_entry_point
return ep.load()
File \"/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py\", line 2408, in load
return self.resolve()
File \"/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py\", line 2414, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File \"/usr/lib64/python3.5/site-packages/pytest.py\", line 17, in <module>
from _pytest.debugging import pytestPDB as __pytestPDB
File \"/usr/lib64/python3.5/site-packages/_pytest/debugging.py\", line 5, in <module>
from doctest import UnexpectedException
ImportError: No module named 'doctest'
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
meta-python/recipes-devtools/python/python-pytest.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-python/recipes-devtools/python/python-pytest.inc b/meta-python/recipes-devtools/python/python-pytest.inc
index ecb729331..60ff83008 100644
--- a/meta-python/recipes-devtools/python/python-pytest.inc
+++ b/meta-python/recipes-devtools/python/python-pytest.inc
@@ -12,6 +12,7 @@ SRC_URI_append = " file://0001-setup.py-remove-the-setup_requires-for-setuptools
RDEPENDS_${PN}_class-target += " \
${PYTHON_PN}-attrs \
${PYTHON_PN}-debugger \
+ ${PYTHON_PN}-doctest \
${PYTHON_PN}-json \
${PYTHON_PN}-pluggy \
${PYTHON_PN}-py \
--
2.13.6
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-03-02 23:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-02 23:22 [meta-python][PATCH] python-pytest.inc: add ${PYTHON_PN}-doctest to RDEPENDS Tim Orling
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.