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:
parent
0410a1f483
commit
184fcd3166
1 changed files with 8 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue