On ia64 tests fails as: >>> Test phase: dev-python/cheroot-8.3.1 * python3_7: running distutils-r1_run_phase python_test ============================= test session starts ============================== platform linux -- Python 3.7.8, pytest-5.4.3, py-1.8.0, pluggy-0.13.1 -- /usr/bin/python3.7 cachedir: .pytest_cache rootdir: /var/tmp/portage/dev-python/cheroot-8.3.1/work/cheroot-8.3.1, inifile: pytest.ini, testpaths: cheroot/test/ plugins: freezegun-0.4.1, timeout-1.4.1, flaky-3.6.1, mock-3.1.1 collecting ... collected 130 items / 2 errors / 128 selected ==================================== ERRORS ==================================== __________________ ERROR collecting cheroot/test/test_wsgi.py __________________ cheroot/test/test_wsgi.py:6: in <module> import portend E ModuleNotFoundError: No module named 'portend' ThreadPoolExecutor = <class 'concurrent.futures.thread.ThreadPoolExecutor'> __builtins__ = <builtins> __cached__ = '/var/tmp/portage/dev-python/cheroot-8.3.1/work/cheroot-8.3.1/cheroot/test/__pycache__/test_wsgi.cpython-37.pyc' __doc__ = 'Test wsgi.' __file__ = '/var/tmp/portage/dev-python/cheroot-8.3.1/work/cheroot-8.3.1/cheroot/test/test_wsgi.py' __loader__ = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x2000000002836c90> __name__ = 'cheroot.test.test_wsgi' __package__ = 'cheroot.test' __spec__ = ModuleSpec(name='cheroot.test.test_wsgi', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x2000000002836c90>, origin='/var/tmp/portage/dev-python/chero ot-8.3.1/work/cheroot-8.3.1/cheroot/test/test_wsgi.py') pytest = <module 'pytest' from '/usr/lib/python3.7/site-packages/pytest/__init__.py'> __________________ ERROR collecting cheroot/test/test_wsgi.py __________________ ImportError while importing test module '/var/tmp/portage/dev-python/cheroot-8.3.1/work/cheroot-8.3.1/cheroot/test/test_wsgi.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.7/site-packages/_pytest/python.py:511: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) /usr/lib/python3.7/site-packages/py/_path/local.py:701: in pyimport __import__(modname) /usr/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:152: in exec_module exec(co, module.__dict__) cheroot/test/test_wsgi.py:6: in <module> import portend E ModuleNotFoundError: No module named 'portend' - generated xml file: /var/tmp/portage/dev-python/cheroot-8.3.1/work/cheroot-8.3.1/junit-test-results.xml - =========================== short test summary info ============================ ERROR cheroot/test/test_wsgi.py - ModuleNotFoundError: No module named 'portend' ERROR cheroot/test/test_wsgi.py !!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!! ============================== 2 errors in 3.51s =============================== * ERROR: dev-python/cheroot-8.3.1::gentoo failed (test phase): * Tests fail with python3.7 * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 2922: Called distutils-r1_src_test * environment, line 1250: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 446: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test'
After installing 'dev-python/portend' next module is requests_toolbelt: """ cheroot/test/test_wsgi.py:8: in <module> from requests_toolbelt.sessions import BaseUrlSession as Session E ModuleNotFoundError: No module named 'requests_toolbelt' - generated xml file: /var/tmp/portage/dev-python/cheroot-8.3.1/work/cheroot-8.3.1/junit-test-results.xml - """
Seems that I was so occupied with packaging jaraco.context for it that I've forgotten to update other deps.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f36a4da4e21a1768fa3c4ee29811e0798c128b3e commit f36a4da4e21a1768fa3c4ee29811e0798c128b3e Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2020-08-13 09:40:26 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2020-08-13 10:04:48 +0000 dev-python/cheroot: Add missing test deps Closes: https://bugs.gentoo.org/733402 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/cheroot/cheroot-8.3.1.ebuild | 2 ++ dev-python/cheroot/cheroot-8.4.2.ebuild | 2 ++ 2 files changed, 4 insertions(+)