From b98909727fbdc26d33436ba6a603080762d48baa Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Thu, 24 Aug 2023 11:12:23 -0700 Subject: [PATCH 1/2] notify-api-389 unpin gunicorn --- Pipfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Pipfile b/Pipfile index 5da402ebe..aa84c2cc8 100644 --- a/Pipfile +++ b/Pipfile @@ -14,7 +14,8 @@ flask-wtf = "~=1.1" gds-metrics = {version = "==0.2.4", ref = "6f1840a57b6fb1ee40b7e84f2f18ec229de8aa72", git = "https://github.com/alphagov/gds_metrics_python.git"} govuk-bank-holidays = "==0.13" govuk-frontend-jinja = {version = "==0.5.8-alpha", git = "https://github.com/alphagov/govuk-frontend-jinja.git"} -gunicorn = {version = "==20.1.0", extras = ["eventlet"], ref = "1299ea9e967a61ae2edebe191082fd169b864c64", git = "https://github.com/benoitc/gunicorn.git"} +gunicorn = "==21.2.0" +# gunicorn = {version = "==20.1.0", extras = ["eventlet"], ref = "1299ea9e967a61ae2edebe191082fd169b864c64", git = "https://github.com/benoitc/gunicorn.git"} humanize = "~=4.8" itsdangerous = "~=2.1" jinja2 = "~=3.1" From 7743c2fe7981953eca9ef9812cc1d50784f0218e Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Fri, 25 Aug 2023 07:31:57 -0700 Subject: [PATCH 2/2] modify gunicorn to specify eventlet (green threads) --- Pipfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Pipfile b/Pipfile index aa84c2cc8..64062d8c9 100644 --- a/Pipfile +++ b/Pipfile @@ -14,8 +14,7 @@ flask-wtf = "~=1.1" gds-metrics = {version = "==0.2.4", ref = "6f1840a57b6fb1ee40b7e84f2f18ec229de8aa72", git = "https://github.com/alphagov/gds_metrics_python.git"} govuk-bank-holidays = "==0.13" govuk-frontend-jinja = {version = "==0.5.8-alpha", git = "https://github.com/alphagov/govuk-frontend-jinja.git"} -gunicorn = "==21.2.0" -# gunicorn = {version = "==20.1.0", extras = ["eventlet"], ref = "1299ea9e967a61ae2edebe191082fd169b864c64", git = "https://github.com/benoitc/gunicorn.git"} +gunicorn = {version = "==21.2.0", extras = ["eventlet"]} humanize = "~=4.8" itsdangerous = "~=2.1" jinja2 = "~=3.1"