From 6df48ab9d67e46f97d13ddc7a21016c60aedee88 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Wed, 27 Aug 2014 18:27:24 +0200 Subject: [PATCH] buildbot: add patch to disable sqlalchemy version check --- .../patches/disable-sqlalchemy-version-check.patch | 12 ++++++++++++ srcpkgs/buildbot/template | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/buildbot/patches/disable-sqlalchemy-version-check.patch diff --git a/srcpkgs/buildbot/patches/disable-sqlalchemy-version-check.patch b/srcpkgs/buildbot/patches/disable-sqlalchemy-version-check.patch new file mode 100644 index 0000000000..a5d2947a00 --- /dev/null +++ b/srcpkgs/buildbot/patches/disable-sqlalchemy-version-check.patch @@ -0,0 +1,12 @@ +--- buildbot/db/enginestrategy.py.orig ++++ buildbot/db/enginestrategy.py +@@ -174,9 +174,6 @@ class BuildbotEngineStrategy(strategies. + + if version_tup < (0, 6): + raise RuntimeError("SQLAlchemy version %s is too old" % (version,)) +- if version_tup > (0, 7, 10): +- raise RuntimeError("SQLAlchemy version %s is not supported by " +- "SQLAlchemy-Migrate" % (version,)) + + def create(self, name_or_url, **kwargs): + if 'basedir' not in kwargs: diff --git a/srcpkgs/buildbot/template b/srcpkgs/buildbot/template index cea11433d6..d012c89fb8 100644 --- a/srcpkgs/buildbot/template +++ b/srcpkgs/buildbot/template @@ -1,7 +1,7 @@ # Template file for 'buildbot' pkgname=buildbot version=0.8.9 -revision=1 +revision=2 noarch=yes build_style=python-module hostmakedepends="python"