[Python-apps-commits] r7470 - in packages/ibid/trunk/debian/patches (sqlalchemy-0.7.diff)
stefanor at users.alioth.debian.org
stefanor at users.alioth.debian.org
Fri Aug 19 10:17:50 UTC 2011
Date: Friday, August 19, 2011 @ 10:17:48
Author: stefanor
Revision: 7470
Update sqlalchemy 0.7 patch
Modified:
packages/ibid/trunk/debian/patches/sqlalchemy-0.7.diff
Modified: packages/ibid/trunk/debian/patches/sqlalchemy-0.7.diff
===================================================================
--- packages/ibid/trunk/debian/patches/sqlalchemy-0.7.diff 2011-08-18 19:34:16 UTC (rev 7469)
+++ packages/ibid/trunk/debian/patches/sqlalchemy-0.7.diff 2011-08-19 10:17:48 UTC (rev 7470)
@@ -1,10 +1,10 @@
Description: SQLAlchemy 0.7 support (beta)
Ibid 0.1.x only supports SQLAlchemy 0.4 an 0.5, but Debian now ships 0.7. This
- is a preliminary version of the upstream patch, bumping supported versions to
+ is a backport of the in-progress upstream patch, bumping supported versions to
0.6 and 0.7
Origin: https://code.launchpad.net/~stefanor/ibid/sqlalchemy-0.6-trunk
Bug-Debian: http://bugs.debian.org/634913
-Last-Update: 2011-08-12
+Last-Update: 2011-08-19
--- a/docs/install.rst
+++ b/docs/install.rst
@@ -50,7 +50,7 @@
@@ -27,7 +27,7 @@
import ibid
from ibid.event import Event
-@@ -332,28 +332,33 @@
+@@ -332,28 +332,35 @@
else:
if uri.startswith(u'mysql://'):
if u'?' not in uri:
@@ -50,6 +50,8 @@
engine = create_engine(uri, encoding='utf-8',
- convert_unicode=True, assert_unicode=True, echo=echo)
+ convert_unicode=True, assert_unicode=True, echo=echo,
++ # For PostgreSQL to ensure decoded unicode values are returned:
++ use_native_unicode=False,
+ # For MySQL which closes 8hr old connections:
+ pool_recycle=3600)
More information about the Python-apps-commits
mailing list