[Bug 263697] Re: installing elisa breaks the unit tests of unrelated Python packages

dino99 263697 at bugs.launchpad.net
Sat Apr 12 09:54:22 CEST 2014


** Changed in: elisa (PLD Linux)
       Status: New => Invalid

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/263697

Title:
  installing elisa breaks the unit tests of unrelated Python packages

Status in Moovida (formerly Elisa), a universal and user-friendly media center:
  Fix Released
Status in Tahoe, the Lovely Accessible File System:
  Invalid
Status in “elisa” package in Ubuntu:
  Invalid
Status in “elisa” source package in Hardy:
  Invalid
Status in “elisa” source package in Intrepid:
  Invalid
Status in “elisa” package in PLD Linux:
  Invalid

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/moovida/+bug/263697/+subscriptions


More information about the pld-bugs mailing list