Remove kombu-sqlalchemy and use database string in modern kombu-proper format
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...!
This commit is contained in:
parent
c2c66ea1c1
commit
ec05785089
@ -117,7 +117,7 @@ CELERY_RESULT_DBURI = string(default="sqlite:///%(here)s/celery.db")
|
|||||||
|
|
||||||
# default kombu stuff
|
# default kombu stuff
|
||||||
BROKER_TRANSPORT = string(default="sqlalchemy")
|
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
|
# known booleans
|
||||||
CELERY_RESULT_PERSISTENT = boolean()
|
CELERY_RESULT_PERSISTENT = boolean()
|
||||||
|
1
setup.py
1
setup.py
@ -64,7 +64,6 @@ setup(
|
|||||||
'Markdown',
|
'Markdown',
|
||||||
'sqlalchemy',
|
'sqlalchemy',
|
||||||
'sqlalchemy-migrate',
|
'sqlalchemy-migrate',
|
||||||
'kombu-sqlalchemy',
|
|
||||||
## For now we're expecting that users will install this from
|
## For now we're expecting that users will install this from
|
||||||
## their package managers.
|
## their package managers.
|
||||||
# 'lxml',
|
# 'lxml',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user