Sub slot should be added to dev-python/subunit and it should be used in dev-python/testtools deps. When i downgraded dev-python/subunit-0.0.16 to dev-python/subunit-0.0.15-r1 tests failed for testrepository: >>> Source compiled. * python2_7: running distutils-r1_run_phase python_test running=${PYTHON:-python} -m subunit.run testrepository.tests.test_suite ====================================================================== FAIL: testrepository.tests.commands.test_load.TestCommandLoad.test_load_abort_over_interactive_stream tags: worker-0 ---------------------------------------------------------------------- Traceback (most recent call last): File "testrepository/tests/commands/test_load.py", line 238, in test_load_abort_over_interactive_stream ui.outputs) File "/usr/lib64/python2.7/site-packages/testtools/testcase.py", line 322, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib64/python2.7/site-packages/testtools/testcase.py", line 412, in assertThat raise MismatchError(matchee, matcher, mismatch, verbose) MismatchError: !=: reference = [('results', *), ('summary', False, 1, None, None, None, [('id', 0, None), ('failures', 1, None)])] actual = [('results', <testrepository.ui.model.TestSuiteModel object at 0x4fb14a5b50>), ('summary', True, 0, None, None, None, [('id', 0, None)])] ====================================================================== FAIL: process-returncode tags: worker-0 ---------------------------------------------------------------------- Binary content: traceback (test/plain; charset="utf8") Ran 336 tests in 1.273s FAILED (id=0, failures=2, skips=2) * ERROR: dev-python/testrepository-0.0.17-r1::gentoo failed (test phase): Rebuilding dev-python/testtools solved problem: >>> Source compiled. * python2_7: running distutils-r1_run_phase python_test running=${PYTHON:-python} -m subunit.run testrepository.tests.test_suite Ran 335 tests in 1.297s PASSED (id=0, skips=2) >>> Install testrepository-0.0.17-r1 into /var/package-manager/tmp/portage/dev-python/testrepository-0.0.17-r1/image/ category dev-python
Can you explain why you think we need a subslot here?
Else dev-python/subunit:= will not work. Or how else you want to trigger rebuild of dev-python/testtools after dev-python/subunit update or downgrade?
subunit-0.0.16 just needs a newer testtools. + 15 Dec 2013; Mike Gilbert <floppym@gentoo.org> subunit-0.0.16.ebuild: + Adjust dependency on testtools, and make the tests work.
Tests still fail: >>> Source compiled. * python2_7: running distutils-r1_run_phase python_test /usr/bin/python2.7 setup.py test running test Tests running... ====================================================================== FAIL: testtools.tests.test_distutilscmd.TestCommandTest.test_test_module ---------------------------------------------------------------------- stdout: {{{ running test Tests running... Ran 2 tests in 0.000s OK }}} Traceback (most recent call last): File "/var/package-manager/tmp/portage/dev-python/testtools-0.9.34/work/testtools-0.9.34/testtools/tests/test_distutilscmd.py", line 73, in test_test_module """))) File "/var/package-manager/tmp/portage/dev-python/testtools-0.9.34/work/testtools-0.9.34/testtools/testcase.py", line 414, in assertThat raise MismatchError(matchee, matcher, mismatch, verbose) MismatchError: u'running test\nTests running...\n\nRan 2 tests in 0.000s\nOK\n' does not match /Tests running...\n\nRan 2 tests in \d.\d\d\ds\nOK\n/ ====================================================================== FAIL: testtools.tests.test_distutilscmd.TestCommandTest.test_test_suite ---------------------------------------------------------------------- stdout: {{{ running test Tests running... Ran 2 tests in 0.000s OK }}} Traceback (most recent call last): File "/var/package-manager/tmp/portage/dev-python/testtools-0.9.34/work/testtools-0.9.34/testtools/tests/test_distutilscmd.py", line 95, in test_test_suite """))) File "/var/package-manager/tmp/portage/dev-python/testtools-0.9.34/work/testtools-0.9.34/testtools/testcase.py", line 414, in assertThat raise MismatchError(matchee, matcher, mismatch, verbose) MismatchError: u'running test\nTests running...\n\nRan 2 tests in 0.000s\nOK\n' does not match /Tests running...\n\nRan 2 tests in \d.\d\d\ds\nOK\n/ Ran 1170 tests in 0.206s FAILED (failures=2) >>> Install testtools-0.9.34 into /var/package-manager/tmp/portage/dev-python/testtools-0.9.34/image/ category dev-python Or is it better to open new bug?
It's a different bug, so yes. Please attach a full build log, along with temp/build-python2_7.log.