Commit Graph

36 Commits

Author SHA1 Message Date
pyup-bot
81c5e2c6c4 Update ago from 0.0.92 to 0.0.93 2018-10-29 16:39:35 +00:00
pyup-bot
c0b11c7a15 Update pytz from 2018.5 to 2018.7 2018-10-29 16:05:02 +00:00
Katie Smith
4927da62fb Update notifications-utils to 30.5.6
This brings in the change to email validation which removes obscure white space from email addresses.
2018-10-29 10:21:04 +00:00
Tom Byers
e9afad80ed Bump utils to 3.5.5 2018-10-18 16:59:48 +01:00
Chris Hill-Scott
e36b946064 Bump utils to 30.5.3 2018-10-05 15:27:57 +01:00
Chris Hill-Scott
52cc41b8a8 Bump utils to 30.5.2 2018-10-05 13:32:11 +01:00
Leo Hemsted
efab189ae8 update jobs to take into account first class 2018-10-01 11:07:33 +01:00
Tom Byers
943a400c72 Bump utils to 30.3.1
Brings in stripping of the line separator
character from emails.

https://github.com/alphagov/notifications-utils/pull/531
2018-09-25 16:30:29 +01:00
pyup-bot
162b33e041 Update notifications-python-client from 5.1.0 to 5.2.0 2018-09-25 12:13:16 +01:00
Chris Hill-Scott
6990128212 Bump utils to 30.3.0
Depends on:
- [ ] https://github.com/alphagov/notifications-utils/pull/529
2018-09-24 14:52:31 +01:00
pyup-bot
7fb42c0877 Update whitenoise from 4.0 to 4.1 2018-09-24 13:30:14 +01:00
Alexey Bezhan
86c2ec2af8 Stop gunicorn from terminating eventlet workers on timeout
According to gunicorn `timeout` docs, async workers shouldn't be
terminated after the request time exceeds the specified timeout
as long as the worker process is still communicating.

This makes sense for async workers since they generally don't
block other requests from processing.

This is the behaviour we've seen on notifications-api - requests
can sometimes take much longer than the default 30 second timeout
and still succeed.

For the admin app however gunicorn has been shutting down workers
after 30s with `[CRITICAL] WORKER TIMEOUT`. This results in a 502
response from the admin app. Most of these requests fail because
the underlying requests to the api is taking longer than 30 seconds,
however we haven't seen this in the logs originally since unlike
the admin app, api requests succeed (even though their response is
no longer needed).

This seems like a bug in newer versions of gunicorn, downgrading
it to the version that the api is currently using solves the problem
by allowing admin requests to take longer than 30 seconds.

(Tested by trying requests with a `time.sleep(30)` locally).

It's not clear what exactly the bug in gunicorn is, but this also
potentially unblocks eventlet workers and allows them to process
more than one request at a time.
2018-09-18 11:59:48 +01:00
pyup-bot
ad16448d5a Update notifications-python-client from 5.0.1 to 5.1.0 2018-09-12 10:25:44 +01:00
Athanasios Voutsadakis
8d32600716 Bump python client version to 5.0.1 2018-09-04 14:14:08 +01:00
Chris Hill-Scott
17f5098cb1 Update pyexcel to 0.5.9.1
0.5.9 seems to have disappeared and is causing tests to fail on Jenkins.

https://github.com/pyexcel/pyexcel/compare/v0.5.9...v0.5.9.1
2018-09-03 13:53:37 +01:00
Chris Hill-Scott
9d54a360fe Merge branch 'master' into pyup-update-pyexcel-io-0.5.9-to-0.5.9.1 2018-09-03 10:29:07 +01:00
Chris Hill-Scott
a5840e2173 Merge pull request #2278 from alphagov/pyup-update-pyexcel-xls-0.5.7-to-0.5.8
Update pyexcel-xls to 0.5.8
2018-09-03 10:23:07 +01:00
pyup-bot
8d6df5b1fd Update pyexcel-xls from 0.5.7 to 0.5.8 2018-09-03 09:56:45 +01:00
pyup-bot
c56843741f Update pyexcel-io from 0.5.9 to 0.5.9.1 2018-09-03 09:55:48 +01:00
Chris Hill-Scott
4fc585201a Merge branch 'master' into pyup-update-pyexcel-0.5.8-to-0.5.9 2018-09-03 09:52:01 +01:00
pyup-bot
17a8567839 Update pyexcel from 0.5.8 to 0.5.9 2018-08-30 07:30:20 +01:00
pyup-bot
18e41902fb Update pyexcel-io from 0.5.8 to 0.5.9 2018-08-23 20:30:06 +01:00
Chris Hill-Scott
6c8345045f Merge pull request #2245 from alphagov/bump-utils-long-letters
Bump utils to show error message for long letters
2018-08-22 09:41:28 +01:00
Chris Hill-Scott
270a563fea Bump utils to show error message for long letters
Brings in:
- [ ] https://github.com/alphagov/notifications-utils/pull/518
2018-08-22 09:32:34 +01:00
Chris Hill-Scott
9e5ce87f58 Update eventlet from 0.22.1 to 0.24.1 2018-08-20 16:12:27 +01:00
Chris Hill-Scott
b8f41d5204 Merge pull request #2218 from alphagov/pyup-update-whitenoise-3.3.1-to-4.0
Update whitenoise to 4.0
2018-08-20 16:09:39 +01:00
pyup-bot
49b79dc8ac Update whitenoise from 3.3.1 to 4.0 2018-08-20 11:23:12 +01:00
pyup-bot
6071c98031 Update pyexcel-io from 0.5.7 to 0.5.8 2018-08-20 10:27:24 +01:00
Katie Smith
cdd828da20 Bump utils to version 30.1.0
Bumped notifications-utils to bring in the new value for
`SMS_CHAR_COUNT_LIMIT`
2018-08-16 16:56:32 +01:00
Leo Hemsted
d2f5da317c bump utils
brings in changes to fix crash in GSM downgrading
2018-08-15 16:06:50 +01:00
Athanasios Voutsadakis
6786ff8fde Use the zipkin headers from utils version 30.0.0 2018-08-14 13:20:21 +01:00
Tom Byers
7669ffa8ef Bump notifications-utils to 29.3.6
Brings in:

https://github.com/alphagov/notifications-utils/pull/513

Only effects the email branding preview at
`/_email` so only used by platform admins.
2018-08-14 10:30:35 +01:00
Leo Hemsted
f279bbbd33 bump utils to fix slow notification rendering 2018-08-09 14:07:06 +01:00
pyup-bot
77d43b8fed Update notifications-python-client from 4.10.0 to 5.0.0 2018-08-03 16:10:57 +01:00
Chris Hill-Scott
0d2de75e84 Bump utils to 29.3.4
https://github.com/alphagov/notifications-utils/compare/29.3.2...bullet-for-bullet
2018-08-03 13:57:55 +01:00
Alexey Bezhan
2f876243ae Pin all requirements in requirements.txt
The list of top-level dependencies is moved to requirements-app.txt,
which is used by `make freeze-requirements` to generate the full
list of requirements in requirements.txt.

(See alphagov/notifications-api#1938 for details.)
2018-07-30 16:43:03 +01:00