Your message dated Wed, 17 Feb 2016 12:36:05 +0000 with message-id <e1aw1kv-0002nl...@franck.debian.org> and subject line Bug#802894: fixed in python-invoke 0.11.1+dfsg1-1 has caused the Debian Bug report #802894, regarding python-invoke: FTBFS with Python 3.5 as default: cannot import name 'mswindows' 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 ow...@bugs.debian.org immediately.) -- 802894: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802894 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Source: python-invoke Version: 0.9.0-2 Severity: important Tags: patch User: debian-pyt...@lists.debian.org Usertags: python3.5 Dear Maintainer, python-invoke FTBFS when 3.5 is the default Python 3 version: nosetests3 E ====================================================================== ERROR: Failure: ImportError (cannot import name 'mswindows') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3/dist-packages/nose/loader.py", line 420, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib/python3.5/imp.py", line 244, in load_module return load_package(name, filename) File "/usr/lib/python3.5/imp.py", line 216, in load_package return _load(spec) File "<frozen importlib._bootstrap>", line 693, in _load File "<frozen importlib._bootstrap>", line 673, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 662, in exec_module File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed File "/«PKGBUILDDIR»/invoke/__init__.py", line 2, in <module> from .tasks import task, ctask, Task File "/«PKGBUILDDIR»/invoke/tasks.py", line 11, in <module> from .context import Context File "/«PKGBUILDDIR»/invoke/context.py", line 3, in <module> from .runner import run File "/«PKGBUILDDIR»/invoke/runner.py", line 5, in <module> from .monkey import Popen, PIPE File "/«PKGBUILDDIR»/invoke/monkey.py", line 4, in <module> from subprocess import Popen as OriginalPopen, mswindows, PIPE ImportError: cannot import name 'mswindows' ---------------------------------------------------------------------- Ran 1 test in 0.015s FAILED (errors=1) make[1]: *** [override_dh_auto_test] Error 1 The attached patch fixes the issue. -- Dmitry ShachnevDescription: do not rely on undocumented unittest.mswindows variable This variable has been renamed to _mswindows in Python 3.5, however we do not need it on Debian at all. Author: Dmitry Shachnev <mity...@debian.org> Forwarded: not-needed This monkey.py file has been dropped in the latest upstream release altogether. Last-Update: 2015-10-24 --- a/invoke/monkey.py +++ b/invoke/monkey.py @@ -1,7 +1,7 @@ # Fuckin' A. import select, errno, os, sys -from subprocess import Popen as OriginalPopen, mswindows, PIPE +from subprocess import Popen as OriginalPopen, PIPE import six @@ -23,7 +23,7 @@ # # Copy/modified code from upstream # - if mswindows: + if False: def _readerthread(self, fh, buffer): # TODO: How to determine which sys.std(out|err) to use? buffer.append(fh.read())signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---Source: python-invoke Source-Version: 0.11.1+dfsg1-1 We believe that the bug you reported is fixed in the latest version of python-invoke, 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 802...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Thomas Goirand <z...@debian.org> (supplier of updated python-invoke 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 ftpmas...@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Wed, 28 Oct 2015 06:00:18 +0000 Source: python-invoke Binary: python-invoke python3-invoke Architecture: source all Version: 0.11.1+dfsg1-1 Distribution: unstable Urgency: medium Maintainer: PKG OpenStack <openstack-de...@lists.alioth.debian.org> Changed-By: Thomas Goirand <z...@debian.org> Description: python-invoke - Pythonic task execution - Python 2.x python3-invoke - Pythonic task execution - Python 3.x Closes: 802894 Changes: python-invoke (0.11.1+dfsg1-1) unstable; urgency=medium . * New upstream release: - Fixes FTBFS (Closes: #802894). * Rewrote unvendorize-six.patch. * Switched to git tags packaging workflow. * Fixed watch file to use github tag rather than broken pypi. * Removed unit testing, because upstream now uses spec, which isn't in Debian. * Using HTTPS for VCS URLs. * Fix debian/copyright ordering, years, and six.py removal. Checksums-Sha1: 392852bbc111f2ed00201bbe4ff14f067dfed2bd 2346 python-invoke_0.11.1+dfsg1-1.dsc 7785be6a6b5223ffaa6126952ae2a23deb8084ac 108380 python-invoke_0.11.1+dfsg1.orig.tar.xz 1fce9a568aa27e568c8f7143ea6ac1f349eaad17 4540 python-invoke_0.11.1+dfsg1-1.debian.tar.xz 0e21fc2a8f645adf6b590fbb18d9d77874bd90af 45670 python-invoke_0.11.1+dfsg1-1_all.deb 7f66193c5998eac16a6b30d7046bd24e3620b8e9 45788 python3-invoke_0.11.1+dfsg1-1_all.deb Checksums-Sha256: 88d1c639e98ad385c36c44813fc8dcc548bc1ad9297a297e7118f48698c4da1b 2346 python-invoke_0.11.1+dfsg1-1.dsc bf27d926eaaa9f332a029cb0cb32bf4c3eb94e994bff438335860666ad2da882 108380 python-invoke_0.11.1+dfsg1.orig.tar.xz 670922d11217697bd4ada2063d29c0454cbb19158ee608b2f7e994bd32933380 4540 python-invoke_0.11.1+dfsg1-1.debian.tar.xz 7148a7e5d84217b220cf23ac9dea3b4a33e7559f27bbf02898ccb55fa9c9599b 45670 python-invoke_0.11.1+dfsg1-1_all.deb f8e819590e2d5d48ebeeec2173455100d4cde7d23e54e13b694ed78259a30b0a 45788 python3-invoke_0.11.1+dfsg1-1_all.deb Files: 498d75cac0e07ee11b6d5d71e8bcb95a 2346 python optional python-invoke_0.11.1+dfsg1-1.dsc 3dbd0989595865716f07d977c6da16bf 108380 python optional python-invoke_0.11.1+dfsg1.orig.tar.xz c65a8f3471e98d18eaee0fca6d014e3e 4540 python optional python-invoke_0.11.1+dfsg1-1.debian.tar.xz 9deda04cfee7b76b623d90d1cad85314 45670 python optional python-invoke_0.11.1+dfsg1-1_all.deb 43b97d0c9e529ef84d921723395610f8 45788 python optional python3-invoke_0.11.1+dfsg1-1_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJWxGUoAAoJENQWrRWsa0P+/DkP/jKzQ06+GApNOhDDV6+QBOCY qWLG+Od0TXfPCMpMMnX/AHXr15ghUoIRr1DEEbW7uoN72S5fN0G1gj3ZCC1H8SdR mhcQTJbIzE3oK1O6nmueACUINd6R9o43KPx9c53eIZtbQiNg2kYiDw3D/FjoFQRt gzmp9AFt7+YiiSrZuo6vEKrPzw8BxZ8r6BCZc/+h01Yxlitu1MlfYuuKSr+dVyW6 4ignBJTMmKFnfRH790OViPSCjy65Dr1PtwUb0vVaJx61/ut+rMpuK8XyYaHZmlGy iOJ1I1A/xkWAhUO+voRcOZUZT3FGKByIOw/4fxrldtTz7xRnVHVv1+fm9Q9o9sY9 z+yESrTsNpUqDR5AYaeb6fm7LNkvzOnyUIRekJjQ6v7R7gCFSnyh64RDL1vo/hZG 0pDov5CAqHtIDE+F0WNihXhM8lVnje7UF9oREFMZnrKqkQS1zzbvgK6obhZvyr8d gLDD0Y9CE39KUTLdVYRbbXV36JybJyWIf+uhK3zZQ5y/3tXNtfgY9L25rydULxBu V1W4GpS9MEsWI+13AEF/bKu+e7f62uPIt9cm4X1TqkoQ7VVVWJ1lGkh9Egwxc9n3 oE2mxJd6TlxB3jbLkp+MX5DKEyodUSUj4MfCEg9Iy3GrD1x6t+Ds23Ck3ahsF9cq pKBUQGmqTvpdHV4Gxl2J =uE+w -----END PGP SIGNATURE-----
--- End Message ---