Public bug reported:
I maintain a Python application -- http://allmydata.org -- and I had a
user report to me that when he runs my unit tests he gets this error
message:
raise DistutilsSetupError("test_suite must be a list")
I thought this was pretty weird, because actually test_suite must be a
*string*. Investigation showed that the elisa 0.3.5 installed on my
user's Ubuntu Hardy system has reached into the distutils module and
overridden its check_test_suite() method with a mutually incompatible
requirement! This means, as far as I can tell, that any Python package
that uses the distutils test_suite feature cannot run its unit tests
when that package is installed on the system.
The work-around is to ask my users to apt-get remove elisa. A better
fix would probably be to backport some sort of patch to elisa-0.3.5 to
stop this behavior? I would be willing to contribute a bit of time to
make a patch which allows either list or string -- that would provide
compatibility.
It appears that the current elisa trunk no longer has this behavior in
it.
** Affects: elisa
Importance: Undecided
Status: New
** Affects: ubuntu
Importance: Undecided
Status: New
** Also affects: ubuntu
Importance: Undecided
Status: New
--
installing elisa 0.3.5 breaks the unit tests of unrelated Python packages
https://bugs.launchpad.net/bugs/263697
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs