Your message dated Wed, 04 Jan 2017 17:34:17 +0000 with message-id <[email protected]> and subject line Bug#848888: fixed in python-testtools 1.8.0-5 has caused the Debian Bug report #848888, regarding python-testtools: The testtools.deferredruntest module is not importable 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.) -- 848888: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848888 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python-testtools Version: 1.8.0-4 Severity: important Trying to import the Twisted-related test machinery fails: ~$ python -c "import testtools.deferredruntest" Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/testtools/deferredruntest.py", line 31, in <module> from twisted.trial.unittest import _LogObserver ImportError: cannot import name _LogObserver This breaks any existing consumer of the above module. The issue has been fixed upstream, but it affects the current version in Debian. A backport for the upstream fix is trivial and would look like: --- deferredruntest.py.orig 2016-12-20 15:06:12.984177176 +0000 +++ deferredruntest.py 2016-12-20 15:06:19.332664421 +0000 @@ -28,7 +28,10 @@ from twisted.internet import defer from twisted.python import log -from twisted.trial.unittest import _LogObserver +try: + from twisted.trial.unittest import _LogObserver +except ImportError: + from twisted.trial._synctest import _LogObserver class _DeferredRunTest(RunTest): -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.4.0-53-lowlatency (SMP w/4 CPU cores; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (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-extras 0.0.3-3 ii python-linecache2 1.0.0-3 ii python-mimeparse 0.1.4-1 ii python-pbr 1.10.0-1 ii python-pkg-resources 32.0.0-1 ii python-traceback2 1.4.0-4 ii python-unittest2 1.1.0-6.1 pn python:any <none> Versions of packages python-testtools recommends: ii python-fixtures 3.0.0-2 Versions of packages python-testtools suggests: pn python-testtools-doc <none> ii python-twisted 16.6.0-2 -- no debconf information
--- End Message ---
--- Begin Message ---Source: python-testtools Source-Version: 1.8.0-5 We believe that the bug you reported is fixed in the latest version of python-testtools, 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. Free Ekanayaka <[email protected]> (supplier of updated python-testtools 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: Tue, 27 Dec 2016 11:38:33 +0000 Source: python-testtools Binary: python-testtools python3-testtools python-testtools-doc Architecture: source all Version: 1.8.0-5 Distribution: unstable Urgency: medium Maintainer: PKG OpenStack <[email protected]> Changed-By: Free Ekanayaka <[email protected]> Description: python-testtools - Extensions to the Python unittest library - Python 2.x python-testtools-doc - Extensions to the Python unittest library - doc python3-testtools - Extensions to the Python unittest library - Python 3.x Closes: 848888 Changes: python-testtools (1.8.0-5) unstable; urgency=medium . [ Ondřej Nový ] * Bumped debhelper compat version to 10 . [ Free Ekanayaka ] * Fix broken import from twisted.trial.unittest (Closes: #848888) Checksums-Sha1: 8f78f50ea5ce821da2d7fc0ae242b4accebeec93 2750 python-testtools_1.8.0-5.dsc 2085834fbd1508c6781166bc5d8557816a662c59 7228 python-testtools_1.8.0-5.debian.tar.xz ccfedc41996e08b0ce05dfb48f0a604197cca853 80678 python-testtools-doc_1.8.0-5_all.deb 6e0fcd14a469bcee985b8946870d13ab87dd67ed 109476 python-testtools_1.8.0-5_all.deb b5450f7f790897076c0198b0a85bbcace987f60c 8599 python-testtools_1.8.0-5_amd64.buildinfo 073cd101334216b377c417d7c8a29e29debbb780 109520 python3-testtools_1.8.0-5_all.deb Checksums-Sha256: 429ff09ce9a14144f312b0d354999c936296425ce9c69559196ed24fe2949e46 2750 python-testtools_1.8.0-5.dsc 705af661d97816b79b1b45d8f8cf7171cb09adf1a9aec0672bc9f31b1ef3d2d9 7228 python-testtools_1.8.0-5.debian.tar.xz dda83f4fdc8411f2031e0149b979455abd585b774d950cb51de60fa6ea6d994f 80678 python-testtools-doc_1.8.0-5_all.deb 8768ae555e0fc476d812c12177fad8cb1f250d621e304054d04fa7c0fe5a9ce6 109476 python-testtools_1.8.0-5_all.deb dda861c63af24d24158953f0d919d771915cdd6fc3b4ecb7175c655f072d84b9 8599 python-testtools_1.8.0-5_amd64.buildinfo 245345022f6bfe2aa1cac8dd1af2da8b70ba64facf43b1da0834a0c040098f00 109520 python3-testtools_1.8.0-5_all.deb Files: 4de6b7d0f61706116930ab0912b98693 2750 python optional python-testtools_1.8.0-5.dsc 1d15166be4c66f8f7280993823bced52 7228 python optional python-testtools_1.8.0-5.debian.tar.xz 67452283a0a105202db6216338e6fdd0 80678 doc optional python-testtools-doc_1.8.0-5_all.deb 0a59f738c0f91bd89a129a2513ab9899 109476 python optional python-testtools_1.8.0-5_all.deb c03d198d00eb3c95c07077b8bf44ac82 8599 python optional python-testtools_1.8.0-5_amd64.buildinfo d7bfed01d7b71798f7c86fe88e0cdcb5 109520 python optional python3-testtools_1.8.0-5_all.deb -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEduexRx7o0Oelk+iWIMqg5+qIVncFAlhtLAQACgkQIMqg5+qI VnfKHxAA2f937SJbRdr1D9QfSxyoa0iHE1LfmI1BJ58cd/Vk11AjGr9o/6ZgKo83 AWYgh2MHMReQRr9l2sJl6NTnNDoszkVwgIZPSsaFGhVs49KnJaLHV3XHpKQ/RZrX VM+ibGshdIkrc8jjqRe4tN7rAskmscJQsr49pS+grFjGAYFLjOfQCJ2s85pdbtu5 96b+/lM0efMA6Ke8SW2mNBbF7kgFkemR8finyvKgU/7BZNleQ7b7To3SjEGSbk8x eeOv7OA38tocm9eHzywuoxLvg2KDVxmnQQ7X8cGOvnHQoTLcQKAuFisNfllKB1ue tsMlBoKeHCxHu4qj3/6gq5CCz3U63/ANx3w9/93+KzvGs+oLmJO2txyxTj4gN0Rf j+Dtsn/MtsWIMNnrgsW2+dFnc3VYJbx76UyIb8Y47krt9Y1UYHHFhrFc/JqTEHvI aLYs3gjvueG+6NZOeIPSRBfm/99RZRi8jDDRlHeqcvziKi12Zi+fCOqSwAkmAapb m4OdgD4cRyEwQyG/ipqSbOcTEJWzQzXMiw8vbcVO688JB7LfM0FuAOy7GdeImtwN xQPXzLRSE5YJD95uSipJPRzeTb/oB0Not/vCYmbJEk1Ii6x6qqHrCbNZrn00kCjA w4izCUIgEmbLiL93bqtJI++tnYHHxVFrlqj6+5CYxwyIz15kJLA= =LDsn -----END PGP SIGNATURE-----
--- End Message ---

