]> code.ossystems Code Review - openembedded-core.git/commit
python3-pytest: RDEPENDS on python3-toml
authorTim Orling <timothy.t.orling@linux.intel.com>
Sat, 28 Nov 2020 04:24:31 +0000 (20:24 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Nov 2020 14:40:55 +0000 (14:40 +0000)
commit8e2ec368e4c8fe7594bc178fffe42fbb8ac632e7
tree76827a3f2d8c18f52d1f2924a0c7f82029dbd23b
parente6be2a1dbf1743edb1bfa97a91d87e5f7ab2d555
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

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-pytest_6.1.2.bb