diff --git a/Dockerfile b/Dockerfile index de5dd9f..c00b1ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.5 +FROM python:3.6 MAINTAINER Josh Mandel # Install required packages diff --git a/requirements.txt b/requirements.txt index ddefd8d..ad933ec 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,27 +7,30 @@ behave==1.2.5 billiard==3.5.0.2 bitarray==0.8.1 celery==4.0.0 -click==6.6 +certifi==2017.7.27.1 +chardet==3.0.4 +click==6.7 colorama==0.3.7 cookies==2.2.1 coverage==4.1 EasyProcess==0.2.2 enum34==1.1.6 fhirclient==1.0.4 -Flask==0.11.1 +Flask==0.12.2 flask-log==0.1.0 -Flask-SocketIO==2.7.2 +Flask-SocketIO==2.9.2 Flask-SQLAlchemy==2.1 -gevent==1.1.1 -greenlet==0.4.10 +gevent==1.2.2 +greenlet==0.4.12 grequests==0.3.0 httpretty==0.8.14 +idna==2.6 isodate==0.5.4 itsdangerous==0.24 -Jinja2==2.8 +Jinja2==2.9.6 kombu==4.0.0 lazy-object-proxy==1.2.2 -MarkupSafe==0.23 +MarkupSafe==1.0 parse==1.6.6 parse-type==0.3.4 pep8==1.7.0 @@ -37,16 +40,17 @@ pybloomfiltermmap==0.3.15 pylint==1.5.5 pytest==2.9.1 pytest-cov==2.2.1 -python-engineio==1.0.3 -python-socketio==1.6.0 +python-engineio==1.7.0 +python-socketio==1.8.0 pytz==2016.7 PyYAML==3.11 redis==2.10.5 -requests==2.10.0 +requests==2.18.4 selenium==2.53.2 -six==1.10.0 +six==1.11.0 SQLAlchemy==1.1.3 +urllib3==1.22 uWSGI==2.0.13.1 vine==1.1.3 -Werkzeug==0.11.11 +Werkzeug==0.12.2 wrapt==1.10.8 diff --git a/testsuite/application.py b/testsuite/application.py index 8e8499d..210aa9c 100644 --- a/testsuite/application.py +++ b/testsuite/application.py @@ -3,8 +3,12 @@ import os from flask import Flask +import grequests +import requests -ASYNC_MODE = 'threading' + + +ASYNC_MODE = 'gevent' PING_INTERVAL = 59 diff --git a/testsuite/celeryconfig.py b/testsuite/celeryconfig.py index bf0d792..c55ef9c 100644 --- a/testsuite/celeryconfig.py +++ b/testsuite/celeryconfig.py @@ -1,5 +1,10 @@ """ Celery configuration. """ + + +import grequests +import requests + # Broker settings BROKER_URL = 'redis://localhost:6379/'