From 49f1ee2e32b4893817b698d6925ef6c2b05464bc Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Mon, 19 Dec 2016 10:10:47 +0100 Subject: [PATCH] Support aiohttp 1.2 (but not compatible with previous versions) Fix #840 --- gns3server/web/request_handler.py | 2 +- requirements.txt | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gns3server/web/request_handler.py b/gns3server/web/request_handler.py index 17e0ab90..e5adf01e 100644 --- a/gns3server/web/request_handler.py +++ b/gns3server/web/request_handler.py @@ -19,7 +19,7 @@ import aiohttp.web import logging -class RequestHandler(aiohttp.web.RequestHandler): +class RequestHandler(aiohttp.web_server.RequestHandler): def log_access(self, message, environ, response, time): diff --git a/requirements.txt b/requirements.txt index 59e6145b..b58003eb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,7 @@ jsonschema>=2.4.0 -aiohttp>=0.21.5 +aiohttp>=1.2.0 +aiohttp_cors>=0.4.0 +yarl>=0.7.0 Jinja2>=2.7.3 raven>=5.2.0 psutil>=3.0.0