Remove kombu-sqlalchemy and use database string in modern kombu-proper format
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 22 Apr 2012 01:29:02 +0000 (20:29 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 22 Apr 2012 01:29:02 +0000 (20:29 -0500)
Previously we were using kombu-sqlalchemy the library for sqlalchemy
support.  Newer kombu has support for this internally, so we're using
that.  Requires changing a celery setting and also removing
kombu-sqlalchemy from your path.

I hope the process of removing kombu-sqlalchemy from one's path
doesn't confuse too many people...!

mediagoblin/config_spec.ini
setup.py

index 01853e48528b3522d0bd55361a9e5ce10d21156d..f8311dc5728af4a6b3698607c3b7c7e132c420e6 100644 (file)
@@ -117,7 +117,7 @@ CELERY_RESULT_DBURI = string(default="sqlite:///%(here)s/celery.db")
 
 # default kombu stuff
 BROKER_TRANSPORT = string(default="sqlalchemy")
-BROKER_HOST = string(default="sqlite:///%(here)s/kombu.db")
+BROKER_HOST = string(default="sqlalchemy+sqlite:///%(here)s/kombu.db")
 
 # known booleans
 CELERY_RESULT_PERSISTENT = boolean()
index 3e382e565a0fb360c98bdd5744bb11a02c827fb7..1c7caf96fed34d28bbf81b0d47890ba18d6264b9 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -64,7 +64,6 @@ setup(
         'Markdown',
         'sqlalchemy',
         'sqlalchemy-migrate',
-        'kombu-sqlalchemy',
         ## For now we're expecting that users will install this from
         ## their package managers.
         # 'lxml',