[Python-modules-team] Bug#693157: [python-oauthlib] FTBFS with Python 2.5 on squeeze backport

Jordi Gutiérrez Hermoso jordigh at octave.org
Tue Nov 13 18:25:22 UTC 2012


Package: python-oauthlib
Version: 0.1.2-1+jordigh
Severity: minor
Tags: patch

The setup.py file has a with statement that doesn't work in Python 2.5
without a __future__ import. This is a problem for backporting this
package to squeeze. The easiest solution seems to be to bump the
required Python version to 2.6 which is also available on squeeze.

Thanks,
- Jordi G. H.

--- debian.orig/control	2012-11-13 13:20:38.000000000 -0500
+++ debian/control	2012-11-13 13:20:46.000000000 -0500
@@ -11,7 +11,7 @@
  python-setuptools (>= 0.6b3),
  python-unittest2
 Standards-Version: 3.9.3
-X-Python-Version: >= 2.5
+X-Python-Version: >= 2.6
 Homepage: https://github.com/idangazit/oauthlib
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-oauthlib/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-oauthlib/trunk/


--- System information. ---
Architecture: amd64
Kernel: Linux 2.6.32-5-amd64

Debian Release: 6.0.4
990 stable www.debian-multimedia.org
990 stable security.debian.org
990 stable ftp.ca.debian.org
500 unstable ftp.ca.debian.org
150 squeeze-backports backports.debian.org
101 experimental ftp.ca.debian.org

--- Package information. ---
Depends (Version) | Installed
========================================-+-=======================
python2.6 | 2.6.6-8+b1
python (>= 2.6.6-3+squeeze3~) | 2.6.6-3+squeeze7
python (<< 2.7) | 2.6.6-3+squeeze7
python-crypto | 2.6-1


Package's Recommends field is empty.

Package's Suggests field is empty.



More information about the Python-modules-team mailing list