installing elisa breaks the unit tests of unrelated Python packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Moovida |
Fix Released
|
High
|
Olivier Tilloy | ||
Tahoe-LAFS |
Invalid
|
Unknown
|
|||
elisa (PLD Linux) |
Invalid
|
Undecided
|
Unassigned | ||
elisa (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Hardy |
Invalid
|
Undecided
|
Unassigned | ||
Intrepid |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I maintain a Python application -- http://
raise DistutilsSetupE
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.
Related branches
Changed in elisa: | |
status: | New → Confirmed |
Changed in elisa: | |
status: | In Progress → Fix Committed |
Changed in elisa: | |
status: | Fix Committed → Fix Released |
Changed in allmydata.org: | |
status: | Unknown → Invalid |
Changed in elisa (PLD Linux): | |
status: | New → Invalid |
Here is the conversation on the distutils-sig mailing list:
http:// mail.python. org/pipermail/ distutils- sig/2008- August/ 009923. html