Your message dated Tue, 05 Apr 2011 14:53:16 +0000
with message-id <[email protected]>
and subject line Bug#617230: fixed in python-couchdbkit 0.5.4-2
has caused the Debian Bug report #617230,
regarding python-couchdbkit: Syntax errors in various scripts due to 'with' 
statements
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.)


-- 
617230: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617230
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-couchdbkit
Version: 0.5.2-1.1
Severity: important

Hi,

I'm getting the following errors when upgrading python-couchdbkit. The 
attached patch fixes them, basically just adding a bunch of 
"from __future__ import with_statement".

Processing triggers for python-support ...
/usr/lib/pymodules/python2.5/couchdbkit/consumer/ceventlet.py:51: Warning: 
'with' will become a reserved keyword in Python 2.6
Compiling /usr/lib/pymodules/python2.5/couchdbkit/consumer/ceventlet.py ...
  File "/usr/lib/pymodules/python2.5/couchdbkit/consumer/ceventlet.py", line 51
    with resp.body_stream() as body:
            ^
SyntaxError: invalid syntax

/usr/lib/pymodules/python2.5/couchdbkit/consumer/cgevent.py:39: Warning: 'with' 
will become a reserved keyword in Python 2.6
Compiling /usr/lib/pymodules/python2.5/couchdbkit/consumer/cgevent.py ...
  File "/usr/lib/pymodules/python2.5/couchdbkit/consumer/cgevent.py", line 39
    with resp.body_stream() as body:
            ^
SyntaxError: invalid syntax

/usr/lib/pymodules/python2.5/couchdbkit/ext/pylons/test.py:15: Warning: 'with' 
will become a reserved keyword in Python 2.6
Compiling /usr/lib/pymodules/python2.5/couchdbkit/ext/pylons/test.py ...
  File "/usr/lib/pymodules/python2.5/couchdbkit/ext/pylons/test.py", line 15
    with open(fixture_path, "r") as fp:
            ^
SyntaxError: invalid syntax

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-couchdbkit depends on:
ii  python                  2.6.6-3+squeeze5 interactive high-level object-orie
ii  python-anyjson          0.2.3-1          Wraps the best available JSON impl
ii  python-restkit          3.0.4-1          Restkit is an HTTP resource kit fo
ii  python-support          1.0.11           automated rebuilding support for P

python-couchdbkit recommends no packages.

python-couchdbkit suggests no packages.

-- no debconf information
diff -Nur python-couchdbkit-0.5.2/couchdbkit/consumer/ceventlet.py python-couchdbkit-0.5.2.new//couchdbkit/consumer/ceventlet.py
--- python-couchdbkit-0.5.2/couchdbkit/consumer/ceventlet.py	2011-01-10 17:50:28.000000000 +0100
+++ python-couchdbkit-0.5.2.new//couchdbkit/consumer/ceventlet.py	2011-03-07 11:46:03.000000000 +0100
@@ -3,6 +3,8 @@
 # This file is part of couchdbkit released under the MIT license. 
 # See the NOTICE for more information.
 
+from __future__ import with_statement
+
 import traceback
 
 import eventlet
@@ -13,7 +15,6 @@
 from couchdbkit.consumer.sync import SyncConsumer
 from couchdbkit.utils import json
 
-
 class ChangeConsumer(object):
     def __init__(self, db, callback, **params):
         self.process_change = callback
diff -Nur python-couchdbkit-0.5.2/couchdbkit/consumer/cgevent.py python-couchdbkit-0.5.2.new//couchdbkit/consumer/cgevent.py
--- python-couchdbkit-0.5.2/couchdbkit/consumer/cgevent.py	2011-01-10 17:50:28.000000000 +0100
+++ python-couchdbkit-0.5.2.new//couchdbkit/consumer/cgevent.py	2011-03-07 11:46:03.000000000 +0100
@@ -3,6 +3,8 @@
 # This file is part of couchdbkit released under the MIT license. 
 # See the NOTICE for more information.
 
+from __future__ import with_statement
+
 import traceback
 
 import gevent
diff -Nur python-couchdbkit-0.5.2/couchdbkit/ext/pylons/test.py python-couchdbkit-0.5.2.new//couchdbkit/ext/pylons/test.py
--- python-couchdbkit-0.5.2/couchdbkit/ext/pylons/test.py	2011-01-10 17:50:28.000000000 +0100
+++ python-couchdbkit-0.5.2.new//couchdbkit/ext/pylons/test.py	2011-03-07 11:46:03.000000000 +0100
@@ -1,3 +1,5 @@
+from __future__ import with_statement
+
 from couchdbkit import BaseDocsLoader, ResourceNotFound
 from couchdbkit.ext.pylons.db import init_db, sync_design, default_design_path
 import os, json, unittest

--- End Message ---
--- Begin Message ---
Source: python-couchdbkit
Source-Version: 0.5.4-2

We believe that the bug you reported is fixed in the latest version of
python-couchdbkit, which is due to be installed in the Debian FTP archive:

python-couchdbkit_0.5.4-2.debian.tar.gz
  to main/p/python-couchdbkit/python-couchdbkit_0.5.4-2.debian.tar.gz
python-couchdbkit_0.5.4-2.dsc
  to main/p/python-couchdbkit/python-couchdbkit_0.5.4-2.dsc
python-couchdbkit_0.5.4-2_all.deb
  to main/p/python-couchdbkit/python-couchdbkit_0.5.4-2_all.deb



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.
TANIGUCHI Takaki <[email protected]> (supplier of updated python-couchdbkit 
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, 05 Apr 2011 22:53:15 +0900
Source: python-couchdbkit
Binary: python-couchdbkit
Architecture: source all
Version: 0.5.4-2
Distribution: unstable
Urgency: low
Maintainer: Debian Python Modules Team 
<[email protected]>
Changed-By: TANIGUCHI Takaki <[email protected]>
Description: 
 python-couchdbkit - Trying to improve couchdb experience in Python
Closes: 617230
Changes: 
 python-couchdbkit (0.5.4-2) unstable; urgency=low
 .
   * debian/patches/couchdbkit-with-keyword.patch: a patch for python2.5
     (Closes: #617230)
Checksums-Sha1: 
 89b2693f67651da0cda6ed8d2fcd4edda159fe46 1849 python-couchdbkit_0.5.4-2.dsc
 594be5c21441aa69c5d1e79c63ea92e9ee8909a7 3414 
python-couchdbkit_0.5.4-2.debian.tar.gz
 c3151f3636fe6f04362eea88f60a53899f49edc3 59154 
python-couchdbkit_0.5.4-2_all.deb
Checksums-Sha256: 
 6e0411e66a513e36598ed4d0fb85793c69477f14d3f6f9d97a684d0e55ffe242 1849 
python-couchdbkit_0.5.4-2.dsc
 efc352108c9c488e248fde2177f0cebe819bbd981fc7f5f2a029c4a9e850c541 3414 
python-couchdbkit_0.5.4-2.debian.tar.gz
 79a947bde0d012682aea53be2f5f720ba0ea7adbc8093648a9118c93e0577948 59154 
python-couchdbkit_0.5.4-2_all.deb
Files: 
 67e82840eb52c9a936f72de7a2262f75 1849 python optional 
python-couchdbkit_0.5.4-2.dsc
 290004f805a753c92ca751f2ef6e5999 3414 python optional 
python-couchdbkit_0.5.4-2.debian.tar.gz
 7cc27fa668c9699d3f4694db74f090f0 59154 python optional 
python-couchdbkit_0.5.4-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJNmx+ZAAoJEMwUn2wopeJX6wYP/RLc9KfGnMavS9BXB0zffDal
oWFS3Apgy4lQm6ZFQmu3bZhjQ21tYsegrqE0tf6xmNSKxa3+F/KU18dUiz5ZuAqg
3CJ/BMCosgwH1vIv1uaSOpm8LDPzcXSwbiBavyCgCoFFF7yvXRDw3T0pb9UaIVIq
m4LNw9t9EOm71iPre6OgfUVrGy6nsQV8dYNQpsegqbJnox78pETcCx+pBuLQoOc7
HOkPDObkGfzykga9/GPRcJvWDYBOl1WZUZ6f8VWjA22ky4JJcSUxU1hemV9mo4tv
IzD860Qh7gqyPtXpqFQGmVerOIGPDROlZ++cvQ4GhboGR4F9lXn216Hm7qDPGo/5
UVp8wa9gu0cYlaxlAFXaLbRLY94COyHzipDhNwPUWUzIfaeSQcex8ahEbs1luM8D
X3dPDMBJgf9WitR0XEoeaf/iatp1n0jEfEp+f7svrQaPU/ZKMUTjhE4fGdFOMnba
aWIIbt5SrEbCCyvbx0ymgdXX8IkGWfKXcguqpoBIiU2pbSjTQwna09duMPbaR5bG
lxyXH8NFD6jfKxJDS5qzoqAvalqi/3ED2PIAowj9602y1fm6W5tMULXpxf5wI8W0
+kJF5FIN/MZ8bZCHg0yiyLxPFSnn/ovxx7DlaiaJkFniD895wQMdOMlvmoc+cIE1
Gc2v7qQJxLGx4sjDqUi9
=CCLr
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

Reply via email to