Your message dated Wed, 25 Nov 2015 15:59:23 +0000 with message-id <[email protected]> and subject line Bug#802677: fixed in python-django 1.8.7-2 has caused the Debian Bug report #802677, regarding AttributeError: 'IntegrityError' object has no attribute '__traceback__' to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 802677: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802677 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python-testtools Version: 1.8.0-3 Severity: important python-testtools introduces a bug which causes the failure of all django unit tests for my package. The full traceback is: Traceback (most recent call last): File "./lava_server/manage.py", line 137, in <module> legacy_main() File "./lava_server/manage.py", line 133, in legacy_main execute_from_command_line(sys.argv) File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 385, in execute_from_command_line utility.execute() File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 377, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python2.7/dist-packages/django/core/management/commands/test.py", line 50, in run_from_argv super(Command, self).run_from_argv(argv) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 288, in run_from_argv self.execute(*args, **options.__dict__) File "/usr/lib/python2.7/dist-packages/django/core/management/commands/test.py", line 71, in execute super(Command, self).execute(*args, **options) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 338, in execute output = self.handle(*args, **options) File "/usr/lib/python2.7/dist-packages/django/core/management/commands/test.py", line 88, in handle failures = test_runner.run_tests(test_labels) File "/usr/lib/python2.7/dist-packages/django/test/runner.py", line 148, in run_tests result = self.run_suite(suite) File "/usr/lib/python2.7/dist-packages/django/test/runner.py", line 115, in run_suite ).run(suite) File "/usr/lib/python2.7/unittest/runner.py", line 151, in run test(result) File "/usr/lib/python2.7/unittest/suite.py", line 70, in __call__ return self.run(*args, **kwds) File "/usr/lib/python2.7/unittest/suite.py", line 108, in run test(result) File "/usr/lib/python2.7/dist-packages/unittest2/case.py", line 673, in __call__ return self.run(*args, **kwds) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 606, in run return run_test.run(result) File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 80, in run return self._run_one(actual_result) File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 94, in _run_one return self._run_prepared_result(ExtendedToOriginalDecorator(result)) File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 108, in _run_prepared_result self._run_core() File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 144, in _run_core self.case._run_test_method, self.result): File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 193, in _run_user return self._got_user_exception(sys.exc_info()) File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 213, in _got_user_exception self.case.onException(exc_info, tb_label=tb_label) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 556, in onException self._report_traceback(exc_info, tb_label=tb_label) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 592, in _report_traceback self, '__testtools_tb_locals__', False))) File "/usr/lib/python2.7/dist-packages/testtools/content.py", line 205, in __init__ limit=limit, capture_locals=capture_locals).format()) File "/usr/lib/python2.7/dist-packages/traceback2/__init__.py", line 449, in __init__ exc_value.__cause__.__traceback__, AttributeError: 'IntegrityError' object has no attribute '__traceback__' Downgrading python-testtools to 0.9.39-2 - with no other changes - completely fixes the problem. This happens with all calls to the django unit tests using manage.py test. ii python-django 1.7.10-1 To reproduce, it is necessary to install lava-server, so a Stretch VM is recommended. This provides the django environment and migrations: $ echo "Accept defaults for debconf prompts" $ sudo apt -y install lava-server lava-dev $ git clone http://git.linaro.org/lava/lava-server.git $ cd lava-server $ git checkout release $ ./ci-run -v2 To call unit tests individually, use: $ ./lava_server/manage.py test <app_name> where <app_name> is one of dashboard_app, lava_scheduler_app, lava_scheduler_daemon or lava_results_app. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386, armhf, arm64 Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python-testtools depends on: ii python 2.7.9-1 ii python-extras 0.0.3-3 ii python-mimeparse 0.1.4-1 ii python-pkg-resources 18.4-1 Versions of packages python-testtools recommends: ii python-fixtures 1.3.1-2 Versions of packages python-testtools suggests: pn python-testtools-doc <none> ii python-twisted 15.2.1-1 -- no debconf information
--- End Message ---
--- Begin Message ---Source: python-django Source-Version: 1.8.7-2 We believe that the bug you reported is fixed in the latest version of python-django, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Raphaël Hertzog <[email protected]> (supplier of updated python-django package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Wed, 25 Nov 2015 16:16:10 +0100 Source: python-django Binary: python-django python3-django python-django-common python-django-doc Architecture: source Version: 1.8.7-2 Distribution: unstable Urgency: high Maintainer: Debian Python Modules Team <[email protected]> Changed-By: Raphaël Hertzog <[email protected]> Description: python-django - High-level Python web development framework (Python 2 version) python-django-common - High-level Python web development framework (common) python-django-doc - High-level Python web development framework (documentation) python3-django - High-level Python web development framework (Python 3 version) Closes: 802677 Changes: python-django (1.8.7-2) unstable; urgency=high . * Rely on C.UTF-8 to run the tests instead of building our locale ourselves. * Add debian/patches/fix-25761-add-traceback-attribute.patch: new patch to ensure exceptions registered in __cause__ attributes have a __traceback__ attribute. Closes: #802677 * Extend lintian overrides to cover more false positives of source-is-missing. * Cleanup debian/copyright for dropped/renamed files. * Run tests for all supported Python versions. Checksums-Sha1: 508668131d38516ccffaf4cd9bcc790f131396d4 2369 python-django_1.8.7-2.dsc 2104b492785bd0449499b0e0bc7575c155e8043b 24400 python-django_1.8.7-2.debian.tar.xz Checksums-Sha256: 8935cf2d095cdf4a8ecc92875b5448a0ec06cdfe005d531a3801065ce5fe08c8 2369 python-django_1.8.7-2.dsc b2f83ee168f12324e469b3d4acfd25b42219be245cd96fdf13c7f3ec62d49d0f 24400 python-django_1.8.7-2.debian.tar.xz Files: 36845db5a877b8d7aa5ce30102db56ce 2369 python optional python-django_1.8.7-2.dsc 9c38d326f405c7dede87765b25b78b2a 24400 python optional python-django_1.8.7-2.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Signed by Raphael Hertzog iQEcBAEBCAAGBQJWVdDvAAoJEAOIHavrwpq518sH/RS8VuX5LLHPm5GvxgoyZCx7 btoMtcDgfhzwa9bIB6/whWHfD7FdMB7Fnf0I5NUPPDqJr0QEz3Xc1btPXoZ1zQVc EKH7EB37cayswiFf0lRS5RY9y7W/dU6BV4CunfZm2jvYA39VLNngMPloKax4uwXp ardYBK/4+d8QBW7fPcjLIOqpE8jknZwBjtYG7NN+Jc5279K5M9qBzCLGtf6pI9CA ynUHvP2XK0h994jimPZFoLx+wXR33xOn7crvT2C2qCD8H+UHFDZ8AyQxAAPvn3pn 7RjkZ75+hoIvdRy1kBsYlDzKFwe1IJ/1ZE7yezuboMVOEAPSvdYPwxuBvanTcuQ= =2PfY -----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

