Files
notifications-api/requirements.txt
Leo Hemsted bfdf9bc9a0 update kombu version to prevent 100% CPU usage
This pulls in the most recent version of celery/kombu/master - it
prevents situations where the celery MainProcess would consume 100%
CPU while not distributing any tasks to the workers.

Note: If, locally, you already have kombu==4.0.2, you'll have to run
pip install --upgrade https://github.com/celery/kombu/zipball/b2f21289
to get the new version.
2017-07-17 14:21:01 +01:00

42 lines
1.3 KiB
Plaintext

apispec==0.14.0
Flask==0.10.1
Flask-Script==2.0.5
Flask-Migrate==1.3.1
Flask-SQLAlchemy==2.0
psycopg2==2.6.2
SQLAlchemy==1.0.15
SQLAlchemy-Utils==0.32.9
PyJWT==1.4.2
marshmallow==2.4.2
marshmallow-sqlalchemy==0.8.0
flask-marshmallow==0.6.2
Flask-Bcrypt==0.6.2
credstash==1.8.0
boto3==1.4.4
celery==4.0.2
monotonic==1.2
statsd==3.2.1
jsonschema==2.5.1
gunicorn==19.6.0
docopt==0.6.2
six==1.10.0
iso8601==0.1.11
pycurl==7.43.0
# pin to minor version 3.1.x
notifications-python-client>=3.1,<3.2
# PaaS
awscli>=1.11,<1.12
awscli-cwlogs>=1.4,<1.5
git+https://github.com/alphagov/notifications-utils.git@17.5.3#egg=notifications-utils==17.5.3
# Kombu is a library that celery uses under the hood.
# Kombu v4.0.2 (which ships with celery v4.0.2) doesn't work with SQS due to problems with their use of boto2, so
# Kombu migrated to boto3 - We're waiting for that to get a release version, and then to get a new version of celery
# that pulls that in. Until that point, we should override the kombu version to get these SQS fixes.
# Additionally, kombu master also includes a fix for the main process taking 100% CPU and not distributing tasks (!)
# See https://github.com/celery/kombu/pull/693 and https://github.com/celery/kombu/pull/760
https://github.com/celery/kombu/zipball/b2f21289284496efd89acea003ff9c24105b970e