Your message dated Thu, 21 Jan 2016 12:34:00 +0000
with message-id <e1amer6-0007qr...@franck.debian.org>
and subject line Bug#798681: fixed in cmd2 0.6.8-1
has caused the Debian Bug report #798681,
regarding cmd2: Python 3.5 compatibility
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.)
--
798681: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798681
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: cmd2
Severity: important
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Dear Maintainer,
In Ubuntu, I updated to cmd2 0.6.8, however that version and the
current Debian version 0.6.7 are both incompatible with Python 3.5.
I've submitted the attached patch upstream to workaround a renaming
of a private attribute.
- -- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.1.0-2-amd64 (SMP w/1 CPU core)
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)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJV8wwCAAoJEBJutWOnSwa/kP8P/RGrBnZNjMKyzxiECjMRuMqy
hkE8Af6LXSLHRmvBXahA2z7xkNlF5xDQ1DMl7Cv9cdzhqs5FUmRD/sEhjFguY0Jf
/Mta7Yf//kaOwQMGSRgC0pYsiWocHPYyv4hzk2LTLxgAITRXk13mJLet7S42X/xT
oheeN7ij9SEzVy1FDExMfezwLhv+2LCMcYQH8qlT76B3yprv35BGUj7+Rlf7U0gg
3ishxJoEV1IXqSiUHR+mIJJIJioyAg/jpsdJzVCcZI1SLu3qjhT8jcSF+eZY+5gd
PuBDwqb4kQYvImnI9Gi2C4sm4rTStj7umDPoSwlFVpeBUuFIaNy6u6NBYJr4ZghQ
vLqP8P1lmDqjnE9fxyQeEoIAHhL1tBBn1OsWH30lDfAo2JCHILyphx+PQYNXYu1b
veViXPsZMV8Tae/cqr61bK4ABgtHGHc2V6KFLnpqM3Mnu4d72IYtNSHhYyZnZ5Hi
mddlBJbW3BdPcDy91JeJ6x5Q+9hcUchv96a+MifYuXfqOg636uI3Z6dlmrvwt+ED
bs2td+YrWRwbjDgk/L4wN3/8Owg1BxdgueH64mpv1rPXN+cJ0K540giWjK4o8fOY
ysQaIv2GWb3C+IMgc4rPxjMQ+jYl1+cvsxNjYL4W9C0MS6CY0nSoA+KJnC7/hT+4
WPGt2VLCHm11+5dORQOm
=sQPZ
-----END PGP SIGNATURE-----
Description: Workaround the renaming of a private attribute in Python 3.5.
Author: Barry Warsaw <ba...@ubuntu.com>
Bug: https://bitbucket.org/catherinedevlin/cmd2/issues/18/python-35-renames-subprocessmswindows
--- a/cmd2.py
+++ b/cmd2.py
@@ -47,6 +47,13 @@
if sys.version_info[0] == 2:
pyparsing.ParserElement.enablePackrat()
+try:
+ is_mswindows = subprocess.mswindows
+except AttributeError:
+ # Python 3.5+
+ is_mswindows = subprocess._mswindows
+
+
"""
Packrat is causing Python3 errors that I don't understand.
@@ -184,7 +191,7 @@
to be installed on operating system.
%s"""
-if subprocess.mswindows:
+if is_mswindows:
try:
import win32clipboard
def get_paste_buffer():
--- End Message ---
--- Begin Message ---
Source: cmd2
Source-Version: 0.6.8-1
We believe that the bug you reported is fixed in the latest version of
cmd2, 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 798...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Federico Ceratto <feder...@debian.org> (supplier of updated cmd2 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: SHA1
Format: 1.8
Date: Thu, 21 Jan 2016 12:19:27 +0000
Source: cmd2
Binary: python-cmd2 python3-cmd2
Architecture: source all
Version: 0.6.8-1
Distribution: unstable
Urgency: low
Maintainer: Federico Ceratto <feder...@debian.org>
Changed-By: Federico Ceratto <feder...@debian.org>
Description:
python-cmd2 - enhanced Python cmd module - Python 2.x
python3-cmd2 - enhanced Python cmd module - Python 3.x
Closes: 798681
Changes:
cmd2 (0.6.8-1) unstable; urgency=low
.
* New upstream release.
* Add patch to support Python 3.5 (Closes: #798681)
* Switch to Pybuild, add README.txt
Checksums-Sha1:
c4a81864b4ecc41a920410f07a43f8db5dd6ec3a 1991 cmd2_0.6.8-1.dsc
b5cbf5a0ba53c4e2d255264247f2a6a7d49c579c 21483 cmd2_0.6.8.orig.tar.gz
79dde70678afa9a21fe93fe75e9fc0f7b57211e9 2956 cmd2_0.6.8-1.debian.tar.xz
bab8759af70d3f93ee7a1e753c72c71b87e7f942 22328 python-cmd2_0.6.8-1_all.deb
28c7a663602fd49f6b99dcd5cd4c7644c51c9ffa 22390 python3-cmd2_0.6.8-1_all.deb
Checksums-Sha256:
baf4d440716b41959a0bacb3c1130c85ef27372a5eec10f6633eb1c9f322afa3 1991
cmd2_0.6.8-1.dsc
ac780d8c31fc107bf6b4edcbcea711de4ff776d59d89bb167f8819d2d83764a8 21483
cmd2_0.6.8.orig.tar.gz
d409cc7a4685ae0572ab2080914c59512ba5a934aa061fc33146fda2bfa1ae49 2956
cmd2_0.6.8-1.debian.tar.xz
f53a1524ff78706135a53996e07cdc29940299a8fc2989ef67028751c78511fe 22328
python-cmd2_0.6.8-1_all.deb
7570757b465e1d51bca030b41b4b20461bcdff674e0a3056ff1015677aa8b1d6 22390
python3-cmd2_0.6.8-1_all.deb
Files:
148cca5d7c612abd9a0ab430a4addb49 1991 python optional cmd2_0.6.8-1.dsc
c32c9a897e010c977b50c1ddc13f09fe 21483 python optional cmd2_0.6.8.orig.tar.gz
22c4831c2a4dde8d07cdf8b84c7c8b20 2956 python optional
cmd2_0.6.8-1.debian.tar.xz
93f26241e785adb622121284afaa7627 22328 python optional
python-cmd2_0.6.8-1_all.deb
dddccbde050294765fb35a8f00e7cf43 22390 python optional
python3-cmd2_0.6.8-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJWoM6fAAoJEG8xvET1F32qD3sP/igJD9FGfhUM/cVQ1oMIAtKu
UeBhZfIegeVqWLYK09VmrQt+/wuCTsGsuwUZwALycmz7UFxmvQGndo7HGQO2mYU9
N8pYxZO1sYfB3rdr+Ak70esrSc6NHoTH01PV+L7p3rze/rcttm4lO7Lbc9SudCNh
Etf0E6vwY76H0fEYxqmW4/GZD28QIX12vycMGVZ+817AaNjUP2Ff65KNWiA4nScd
YQntI+zv79NQc4bvIMFaUeuGekWuiPE7Jw4xMOXCCpm2KSjDDLMVoruTg+yAjp9n
sNpGK1bEWaZqWPWXAP2HCAPGcpS/q8RJicFZY2mTiwx6jyCFS6/8xTbYDGOW4AVc
rX47TYa+GSskVR9oYar0HkjnduhjfRNXmzcIVuPYj4+XnYKppbq3Qag2T1HjIhy3
H2DEc0b6w9we8tHEkqpbFSy4TM7Q+LrnJxLRyeK55q6iZLE6A320QBlyNO290i0A
PiiH1wRfXzpwWaxCKG4rl3yy1NF5U4lqvgMlCorhFGrGoKUcvKBy7kALXO+4YBsD
l7yCR60+sS7Sd3Rae+0HbzZq7TdRrGfCic1fzyp/iVusBUc9rBEk7h49seQGRGG/
ALurvrFIMR1Nax2LtJt5yJj7ad1DIwCFNyIWz1RRKGATQbhMt9OWS9TxkhyD98wh
WWL4RoikaK88JHp1453Y
=9NLK
-----END PGP SIGNATURE-----
--- End Message ---