The attachment "loop-try-import.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to python-distutils-extra in Ubuntu. https://bugs.launchpad.net/bugs/1303550 Title: Improve diagnostics in self-test Status in python-distutils-extra package in Ubuntu: Fix Committed Bug description: p-d-e-2.38 test/auto.py failed a test for me: ====================================================================== FAIL: test_requires_provides (__main__.T) automatic requires/provides ---------------------------------------------------------------------- Traceback (most recent call last): File "test/auto.py", line 678, in test_requires_provides self.fail('You need to have pkg_resources, httplib2, and gi.repository.GLib installed for this test suite to work') AssertionError: You need to have pkg_resources, httplib2, and gi.repository.GLib installed for this test suite to work ---------------------------------------------------------------------- There's no info about which part of the multiprong requirement failed. Instead of a single "try" for multiple imports, a loop over them would make it easy to emit the specific package that failed. Wit the attached patch, I get: ====================================================================== FAIL: test_requires_provides (__main__.T) automatic requires/provides ---------------------------------------------------------------------- Traceback (most recent call last): File "test/auto.py", line 677, in test_requires_provides self.fail('You need to have %s installed for this test suite to work' % needed_pkg) AssertionError: You need to have gi.repository.GLib installed for this test suite to work ---------------------------------------------------------------------- So now I know exactly which dep is missing (or if I think I have it, which is broken). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-distutils-extra/+bug/1303550/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

