dependencies: Add futures as a dependency of Gunicorn.

Gunicorn needs futures on Python 2 when used with multiple threads per worker.

This is addressing issue #3995.
This commit is contained in:
Johannes Bornhold 2016-06-08 22:02:30 +02:00
parent 0410a1f483
commit 184fcd3166

View file

@ -21,6 +21,14 @@ self: super: {
'';
});
gunicorn = super.gunicorn.override (attrs: {
propagatedBuildInputs = attrs.propagatedBuildInputs ++ [
# johbo: futures is needed as long as we are on Python 2, otherwise
# gunicorn explodes if used with multiple threads per worker.
self.futures
];
});
kombu = super.kombu.override (attrs: {
# The current version of kombu needs some patching to work with the
# other libs. Should be removed once we update celery and kombu.