summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2020-11-27 20:24:31 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-30 14:42:22 +0000
commit79750c292ee63d6a6882bd22fb9f62d2d633acd4 (patch)
tree13d08654f6fac55cf865ab8afacfb9d9a786c9c9 /meta/recipes-devtools
parent32425b765df28045ceb1599c3d10145057507708 (diff)
downloadpoky-79750c292ee63d6a6882bd22fb9f62d2d633acd4.tar.gz
python3-pytest: RDEPENDS on python3-toml
The generated requires.txt in pytest-*-py3.9.egg-info shows the requirement. Caught during ptest of python3-wcwidth: Signed-off-byROR collecting tests/test_core.py ______________________ tests/test_core.py:4: in <module> import pkg_resources ../../python3.9/site-packages/pkg_resources/__init__.py:3239: in <module> def _initialize_master_working_set(): ../../python3.9/site-packages/pkg_resources/__init__.py:3222: in _call_aside f(*args, **kwargs) ../../python3.9/site-packages/pkg_resources/__init__.py:3251: in _initialize_master_working_set working_set = WorkingSet._build_master() ../../python3.9/site-packages/pkg_resources/__init__.py:567: in _build_master ws.require(__requires__) ../../python3.9/site-packages/pkg_resources/__init__.py:884: in require needed = self.resolve(parse_requirements(requirements)) ../../python3.9/site-packages/pkg_resources/__init__.py:770: in resolve raise DistributionNotFound(req, requirers) E pkg_resources.DistributionNotFound: The 'toml' distribution was not found and is required by pytest (From OE-Core rev: 8e2ec368e4c8fe7594bc178fffe42fbb8ac632e7) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/python/python3-pytest_6.1.2.bb11
1 files changed, 6 insertions, 5 deletions
diff --git a/meta/recipes-devtools/python/python3-pytest_6.1.2.bb b/meta/recipes-devtools/python/python3-pytest_6.1.2.bb
index 6872da5cfa..6fc3b6f328 100644
--- a/meta/recipes-devtools/python/python3-pytest_6.1.2.bb
+++ b/meta/recipes-devtools/python/python3-pytest_6.1.2.bb
@@ -10,21 +10,22 @@ SRC_URI[sha256sum] = "c0a7e94a8cdbc5422a51ccdad8e6f1024795939cc89159a0ae7f0b316a
10inherit update-alternatives pypi setuptools3 10inherit update-alternatives pypi setuptools3
11 11
12RDEPENDS_${PN}_class-target += " \ 12RDEPENDS_${PN}_class-target += " \
13 ${PYTHON_PN}-atomicwrites \
13 ${PYTHON_PN}-attrs \ 14 ${PYTHON_PN}-attrs \
14 ${PYTHON_PN}-debugger \ 15 ${PYTHON_PN}-debugger \
15 ${PYTHON_PN}-doctest \ 16 ${PYTHON_PN}-doctest \
17 ${PYTHON_PN}-importlib-metadata \
16 ${PYTHON_PN}-iniconfig \ 18 ${PYTHON_PN}-iniconfig \
17 ${PYTHON_PN}-json \ 19 ${PYTHON_PN}-json \
20 ${PYTHON_PN}-more-itertools \
21 ${PYTHON_PN}-packaging \
22 ${PYTHON_PN}-pathlib2 \
18 ${PYTHON_PN}-pluggy \ 23 ${PYTHON_PN}-pluggy \
19 ${PYTHON_PN}-py \ 24 ${PYTHON_PN}-py \
20 ${PYTHON_PN}-setuptools \ 25 ${PYTHON_PN}-setuptools \
21 ${PYTHON_PN}-six \ 26 ${PYTHON_PN}-six \
22 ${PYTHON_PN}-atomicwrites \ 27 ${PYTHON_PN}-toml \
23 ${PYTHON_PN}-importlib-metadata \
24 ${PYTHON_PN}-pathlib2 \
25 ${PYTHON_PN}-wcwidth \ 28 ${PYTHON_PN}-wcwidth \
26 ${PYTHON_PN}-more-itertools \
27 ${PYTHON_PN}-packaging \
28" 29"
29 30
30ALTERNATIVE_${PN} += "py.test pytest" 31ALTERNATIVE_${PN} += "py.test pytest"