Fix "KeyError: 'No such transport: sqlite. Did you mean sqla?'" in tests.
This is caused by Celery dropping the "sqlite" transport alias from version 4.3.0, so I've pinned an upper limit.
This commit is contained in:
parent
486f90a7f7
commit
912e5d2b41
@ -1,8 +1,7 @@
|
|||||||
# A docker-compose recipe for MediaGoblin hacking.
|
# A docker-compose recipe for MediaGoblin hacking.
|
||||||
#
|
#
|
||||||
# Tested on Trisquel 8 and Guix System. Currently runs Python 3 and works for
|
# Tested on Trisquel 8 and Guix System. Currently runs Python 3 and works for
|
||||||
# photos and video. Audio raises an exception "NameError: name 'audiolab' is not
|
# images, audio and video.
|
||||||
# defined".
|
|
||||||
#
|
#
|
||||||
# To run the system:
|
# To run the system:
|
||||||
#
|
#
|
||||||
|
3
setup.py
3
setup.py
@ -56,7 +56,8 @@ install_requires = [
|
|||||||
'pytest>=2.3.1',
|
'pytest>=2.3.1',
|
||||||
'pytest-xdist',
|
'pytest-xdist',
|
||||||
'werkzeug>=0.7,<1.0.0',
|
'werkzeug>=0.7,<1.0.0',
|
||||||
'celery>=3.0',
|
# Celery 4.3.0 drops the "sqlite" transport alias making our tests fail.
|
||||||
|
'celery>=3.0,<4.3.0',
|
||||||
# Jinja2 3.0.0 uses f-strings (Python 3.7 and above) but `pip install` on
|
# Jinja2 3.0.0 uses f-strings (Python 3.7 and above) but `pip install` on
|
||||||
# Debian 9 doesn't seem to respect Jinja2's 'python_requires=">=3.6"' line.
|
# Debian 9 doesn't seem to respect Jinja2's 'python_requires=">=3.6"' line.
|
||||||
'jinja2<3.0.0',
|
'jinja2<3.0.0',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user