Emering dev-python/subunit-1.2.0 fails its test suite: [...] * python3_4: running distutils-r1_run_phase python_test Tests running... ====================================================================== ERROR: subunit.tests.test_test_protocol2.TestByteStreamToStreamResult.test_hypothesis_decoding ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/subunit-1.2.0/work/subunit-1.2.0-abi_x86_64.amd64/python/subunit/tests/test_test_protocol2.py", line 449, in test_hypothesis_decoding def test_hypothesis_decoding(self, code_bytes): File "/usr/lib64/python3.4/site-packages/hypothesis/core.py", line 619, in wrapped_test if settings.database: File "/usr/lib64/python3.4/site-packages/hypothesis/_settings.py", line 259, in database from hypothesis.database import ExampleDatabase File "/usr/lib64/python3.4/site-packages/hypothesis/database/__init__.py", line 19, in <module> from hypothesis.database.backend import SQLiteBackend File "/usr/lib64/python3.4/site-packages/hypothesis/database/backend.py", line 19, in <module> import sqlite3 ImportError: No module named 'sqlite3' [...] Reason seems to be that dev-lang/python-3.4 was installed with USE flag 'sqlite' disabled. Indeed, subunit-1.2.0 passes the test for python, which has USE flag 'sqlite' enabled. Suggested solution: Add 'test? ( dev-lang/python[sqlite] )' to DEPEND. Note: This probably also affects subunit-1.1.0, but this is untested.
> Add 'test? ( dev-lang/python[sqlite] )' to DEPEND. We will need to use a python-utils-r1 eclass function to generate proper deps for each version of python.
Hypothesis was missing a dependency on sqlite, this should be fixed in 3.6.0 in this PR: https://github.com/gentoo/gentoo/pull/2737
Thank you !