This is http://dev.pocoo.org/projects/zine/ticket/248, (patch http://dev.pocoo.org/projects/zine/changeset/df2adf8afbfb)
I've patched that into the debian package. It works but it raises deprecation warnings. A new release of zine is planned for within about one month, so is that OK until then? (considering that it does not work at all in sid atm). I don't know if I did it right, i've only started with that packaging stuff. Help appreciated. A debdiff is attached. Marian
diff -Nru zine-0.1.2/debian/changelog zine-0.1.2/debian/changelog --- zine-0.1.2/debian/changelog 2010-06-24 20:15:48.000000000 +0200 +++ zine-0.1.2/debian/changelog 2010-06-24 20:01:26.000000000 +0200 @@ -1,3 +1,10 @@ +zine (0.1.2-3) unstable; urgency=low + + * Switch to dpkg-source 3.0 (quilt) format + * SQLAlchemy 0.6 Compatibility (closes: #584759) + + -- Marian Sigler <mariansig...@gmail.com> Thu, 24 Jun 2010 20:01:21 +0200 + zine (0.1.2-2) unstable; urgency=low * Upload to unstable diff -Nru zine-0.1.2/debian/control zine-0.1.2/debian/control --- zine-0.1.2/debian/control 2010-06-24 20:15:48.000000000 +0200 +++ zine-0.1.2/debian/control 2010-06-20 04:59:45.000000000 +0200 @@ -24,7 +24,7 @@ python-pybabel (>= 0.9.4), python-lxml (>= 2.0), libjs-jquery (>= 1.1) -Recommends: python (>= 2.5) | python-pysqlite2 | python-pysqlite1.1, python-flup +Recommends: python (>= 2.6) | python-pysqlite2 | python-pysqlite1.1, python-flup Suggests: python-psycopg2, python-mysqldb, httpd | libapache2-mod-wsgi | libapache2-mod-python XB-Python-Version: ${python:Versions} diff -Nru zine-0.1.2/debian/patches/series zine-0.1.2/debian/patches/series --- zine-0.1.2/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ zine-0.1.2/debian/patches/series 2010-06-20 04:40:37.000000000 +0200 @@ -0,0 +1 @@ +sqlalchemy-0.6-compat.patch diff -Nru zine-0.1.2/debian/patches/sqlalchemy-0.6-compat.patch zine-0.1.2/debian/patches/sqlalchemy-0.6-compat.patch --- zine-0.1.2/debian/patches/sqlalchemy-0.6-compat.patch 1970-01-01 01:00:00.000000000 +0100 +++ zine-0.1.2/debian/patches/sqlalchemy-0.6-compat.patch 2010-06-20 04:48:30.000000000 +0200 @@ -0,0 +1,38 @@ +Update Zine to work with SQLAlchemy 0.6. + +Patch by Mike Crute, taken from +http://dev.pocoo.org/projects/zine/changeset/df2adf8afbfb . + +See also http://dev.pocoo.org/projects/zine/ticket/248 . +Index: zine-0.1.2/zine/database.py +=================================================================== +--- zine-0.1.2.orig/zine/database.py 2010-06-20 04:40:49.000000000 +0200 ++++ zine-0.1.2/zine/database.py 2010-06-20 04:41:49.000000000 +0200 +@@ -117,7 +117,7 @@ + class ZEMLParserData(MutableType, TypeDecorator): + """Holds parser data.""" + +- impl = sqlalchemy.Binary ++ impl = sqlalchemy.LargeBinary + + def process_bind_param(self, value, dialect): + if value is None: +@@ -171,11 +171,15 @@ + del key, mod, value + + #: forward some session methods to the module as well +-for name in 'delete', 'save', 'flush', 'execute', 'begin', 'mapper', \ +- 'commit', 'rollback', 'clear', 'refresh', 'expire', \ +- 'query_property': ++for name in ('delete', 'flush', 'execute', 'begin', 'mapper', ++ 'commit', 'rollback', 'refresh', 'expire', ++ 'query_property'): + setattr(db, name, getattr(session, name)) + ++# Some things changed names with SQLAlchemy 0.6.0 ++db.save = session.add ++db.clear = session.expunge_all ++ + #: and finally hook our own implementations of various objects in + db.Model = Model + db.Query = Query diff -Nru zine-0.1.2/debian/source/format zine-0.1.2/debian/source/format --- zine-0.1.2/debian/source/format 1970-01-01 01:00:00.000000000 +0100 +++ zine-0.1.2/debian/source/format 2010-06-24 20:15:49.000000000 +0200 @@ -0,0 +1 @@ +3.0 (quilt)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 3.0 (quilt) Source: zine Binary: zine Architecture: all Version: 0.1.2-3 Maintainer: Armin Ronacher <armin.ronac...@active-4.com> Uploaders: Python Applications Packaging Team <python-apps-t...@lists.alioth.debian.org>, Piotr Ożarowski <pi...@debian.org> Homepage: http://zine.pocoo.org/ Standards-Version: 3.8.2 Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/zine/trunk/ Vcs-Svn: svn://svn.debian.org/python-apps/packages/zine/trunk/ Build-Depends: debhelper (>= 5) Build-Depends-Indep: python (>= 2.4), python-support (>= 0.5.6) Checksums-Sha1: 4b1c457acd399f34ace8fbf2cf32709761276148 1354321 zine_0.1.2.orig.tar.gz 22bf0ba7b22e649355cffe3b8c05a03931273912 4926 zine_0.1.2-3.debian.tar.gz Checksums-Sha256: 6517f291c22c6f269f218ba5d949c591366872d3370b716702f33698104cd21e 1354321 zine_0.1.2.orig.tar.gz 2cc795951385ab01004d2897947b6b257b84fc190036f4732ea2dde68f574103 4926 zine_0.1.2-3.debian.tar.gz Files: ba1f08a2093f42c79e81fff25e5ef17c 1354321 zine_0.1.2.orig.tar.gz b70a623715e5e247caebb3c65879bbde 4926 zine_0.1.2-3.debian.tar.gz Python-Version: >= 2.4 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkwjnbIACgkQyoukcaP2scRHAACcDcqdMKIjIGxIMZP1JM6mMuRc OZAAn3EQeRbej8EMwJhPG+MwTGEuQm2v =5+rI -----END PGP SIGNATURE-----