tags 638747 + pending thanks Dear maintainer,
I've prepared an NMU for childsplay (versioned as 1.5.1-1.1) and uploaded it to DELAYED/5. Please feel free to tell me if I should delay it longer.
-- Jakub Wilk
diffstat for childsplay-1.5.1 childsplay-1.5.1 changelog | 8 +++++++ patches/fix-sqlalchemy-exceptions-import.diff | 28 ++++++++++++++++++++++++++ patches/series | 1 3 files changed, 37 insertions(+) diff -Nru childsplay-1.5.1/debian/changelog childsplay-1.5.1/debian/changelog --- childsplay-1.5.1/debian/changelog 2010-11-06 00:31:37.000000000 +0100 +++ childsplay-1.5.1/debian/changelog 2011-09-16 18:58:22.000000000 +0200 @@ -1,3 +1,11 @@ +childsplay (1.5.1-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix compatiblity with SQLAlchemy 0.7 (closes: #638747). Thanks to Petr + Gajdůšek for the bug report and the initial patch. + + -- Jakub Wilk <jw...@debian.org> Fri, 16 Sep 2011 18:58:19 +0200 + childsplay (1.5.1-1) unstable; urgency=low * New upstream release (the waiting for 2.x release). diff -Nru childsplay-1.5.1/debian/patches/fix-sqlalchemy-exceptions-import.diff childsplay-1.5.1/debian/patches/fix-sqlalchemy-exceptions-import.diff --- childsplay-1.5.1/debian/patches/fix-sqlalchemy-exceptions-import.diff 1970-01-01 01:00:00.000000000 +0100 +++ childsplay-1.5.1/debian/patches/fix-sqlalchemy-exceptions-import.diff 2011-09-16 19:09:02.000000000 +0200 @@ -0,0 +1,28 @@ +Description: Fix sqlalchemy.exceptions import. + Use ‘exceptions’ as a normal attribute of the ‘sqlalchemy’ module, don't + try to import it. (The ‘sqlalchemy.exceptions’ alias in sys.modules was + removed in SQLAlchemy 0.7.) +Author: Jakub Wilk <jw...@debian.org> +Bug-Debian: http://bugs.debian.org/638747 +Forwarded: no +Last-Update: 2011-09-16 + +--- a/SPDataManager.py ++++ b/SPDataManager.py +@@ -38,7 +38,6 @@ + + try: + import sqlalchemy as sqla +- import sqlalchemy.exceptions as sqlae + import SQLTables + except ImportError: + module_logger.exception("No sqlalchemy package found") +@@ -82,7 +81,7 @@ + sqltb = SQLTables.SqlTables(self.metadata) + # returns lookup table to get table objects by name and creates tables + self.tables = sqltb._create_tables(self.metadata, self.engine) +- except (AttributeError, sqlae.SQLAlchemyError), info: ++ except (AttributeError, sqla.exceptions.SQLAlchemyError), info: + self.logger.exception("Failed to start the DBase, %s" % info) + raise MyError, info + else: diff -Nru childsplay-1.5.1/debian/patches/series childsplay-1.5.1/debian/patches/series --- childsplay-1.5.1/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ childsplay-1.5.1/debian/patches/series 2011-09-16 18:54:34.000000000 +0200 @@ -0,0 +1 @@ +fix-sqlalchemy-exceptions-import.diff