Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow gunicorns after 20.0.0 #105

Merged
merged 1 commit into from Nov 30, 2019
Merged

Conversation

HebaruSan
Copy link
Member

Problem

gunicorn is currently pinned to version 19.9.0.

Cause

The 20.0.0 release broke support for the factory pattern, which we use: benoitc/gunicorn#2159

Changes

Version 20.0.1 fixed the issue (20.0.2 includes notes for 20.0.1):

https://github.com/benoitc/gunicorn/releases/tag/20.0.2

fixed support of applications loaded from a factory function

I tried it out (with 20.0.3) and it seems to work, so now the pin is changed to just exclude 20.0.0.

Fixes #85.

@HebaruSan HebaruSan added Bug Something isn't working Webhooks Listens for notifications and triggers actions via queues labels Nov 29, 2019
Copy link
Member

@techman83 techman83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for unpinning!

@@ -19,7 +19,7 @@
'requests',
'flask',
'internetarchive',
'gunicorn>=19.9,<20.0.0',
'gunicorn>=19.9,!=20.0.0',
'discord',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could probably just require >20.0.0, but it doesn't really make much difference for us.

@techman83 techman83 merged commit c655666 into KSP-CKAN:master Nov 30, 2019
@HebaruSan HebaruSan deleted the update-gunicorn branch December 3, 2019 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Webhooks Listens for notifications and triggers actions via queues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Webhooks fail to start under gunicorn 20.0.0
2 participants