Bug#851324: python-debian: migrate to standard ‘unittest’ for test suite discovery

Stuart Prescott stuart at debian.org
Sun Sep 10 04:28:52 UTC 2017


Control: tags -1 - patch

> The test suite does not appear to use any ‘nose’ features that are not
> already in the standard library ‘unittest’ module as of Python 2.7.
> The dependency on ‘nose’ is evidently only to do automatic test suite
> discovery.

More relevant, I think, is that the nose module is essentially unmaintained 
and so it is wortwhile migrating to something that has a future.

> My proposed implementation for this is at
> <URL:https://git.fosscommunity.in/bignose/debian_python-debian/commits/wip/m
> aintenance/unittest>, the ‘wip/maintenance/unittest’ branch.

As already noted on the mailing list, these changes completely break the test 
suite at build time and are additionally buggy in their invocation of the 
autopkgtests (hence removing the "patch" tag). Something similar in nature 
that is tested and works would be quite welcome.

regards
Stuart

-- 
Stuart Prescott    http://www.nanonanonano.net/   stuart at nanonanonano.net
Debian Developer   http://www.debian.org/         stuart at debian.org
GPG fingerprint    90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7



More information about the pkg-python-debian-maint mailing list