Public bug reported: Binary package hint: python-nose
With python-nose-10.3.1, which is available in jaunty, I get errors when running unit tests: Traceback (most recent call last): File "setup.py", line 556, in <module> test_suite = 'nose.collector' File "/usr/lib/python2.6/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands self.run_command(cmd) File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command cmd_obj.run() File "/var/lib/python-support/python2.6/nose/commands.py", line 117, in run TestProgram(argv=argv, config=self.__config) File "/var/lib/python-support/python2.6/nose/core.py", line 219, in __init__ argv=argv, testRunner=testRunner, testLoader=testLoader) File "/usr/lib/python2.6/unittest.py", line 817, in __init__ self.runTests() File "/var/lib/python-support/python2.6/nose/core.py", line 298, in runTests result = self.testRunner.run(self.test) File "/var/lib/python-support/python2.6/nose/core.py", line 62, in run test(result) File "/var/lib/python-support/python2.6/nose/suite.py", line 132, in __call__ return self.run(*arg, **kw) File "/var/lib/python-support/python2.6/nose/suite.py", line 162, in run test(orig) File "/usr/lib/python2.6/unittest.py", line 464, in __call__ return self.run(*args, **kwds) File "/usr/lib/python2.6/unittest.py", line 457, in run for test in self._tests: File "/var/lib/python-support/python2.6/nose/suite.py", line 76, in _get_tests for test in self.test_generator: File "/var/lib/python-support/python2.6/nose/loader.py", line 165, in loadTestsFromDir entry_path, discovered=True) File "/var/lib/python-support/python2.6/nose/loader.py", line 377, in loadTestsFromName module, discovered=discovered) File "/var/lib/python-support/python2.6/nose/loader.py", line 301, in loadTestsFromModule tests.extend(self.loadTestsFromDir(path)) File "/var/lib/python-support/python2.6/nose/loader.py", line 165, in loadTestsFromDir entry_path, discovered=True) File "/var/lib/python-support/python2.6/nose/loader.py", line 377, in loadTestsFromName module, discovered=discovered) File "/var/lib/python-support/python2.6/nose/loader.py", line 301, in loadTestsFromModule tests.extend(self.loadTestsFromDir(path)) File "/var/lib/python-support/python2.6/nose/loader.py", line 157, in loadTestsFromDir entry_path, discovered=True) File "/var/lib/python-support/python2.6/nose/loader.py", line 377, in loadTestsFromName module, discovered=discovered) File "/var/lib/python-support/python2.6/nose/loader.py", line 294, in loadTestsFromModule test_classes + test_funcs) File "/var/lib/python-support/python2.6/nose/loader.py", line 293, in <lambda> tests = map(lambda t: self.makeTest(t, parent=module), File "/var/lib/python-support/python2.6/nose/loader.py", line 484, in makeTest return self.loadTestsFromTestClass(obj) File "/var/lib/python-support/python2.6/nose/loader.py", line 458, in loadTestsFromTestClass return self.suiteClass(ContextList(cases, context=cls)) File "/var/lib/python-support/python2.6/nose/suite.py", line 332, in __call__ return self.makeSuite(tests, context) File "/var/lib/python-support/python2.6/nose/suite.py", line 377, in makeSuite self.context.setdefault(suite, []).append(context) TypeError: unhashable type: 'ContextSuite' The issue appears to be fixed in python-nose-10.4. Could jaunty please include 10.4 instead of 10.3.1? ** Affects: nose (Ubuntu) Importance: Undecided Status: New -- python-nose-10.3.1 incompatibility with python-2.6 in jaunty https://bugs.launchpad.net/bugs/342839 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs