From 6e4079ac64c1c69843fd5b2a9c735bb46671b5bf Mon Sep 17 00:00:00 2001 From: maxDzh Date: Thu, 21 Feb 2019 20:43:34 +0200 Subject: [PATCH] Update sanic version in requirements.txt (#255) Sanic example doesn't work because of the server version specified in requirements (0.3.1). Traceback (most recent call last): File "app.py", line 23, in @app.listener('before_server_start') AttributeError: 'Sanic' object has no attribute 'listener' The code starts to work from 0.7 sanic version. --- examples/server/sanic/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/server/sanic/requirements.txt b/examples/server/sanic/requirements.txt index 08e8972..d24ac51 100644 --- a/examples/server/sanic/requirements.txt +++ b/examples/server/sanic/requirements.txt @@ -2,7 +2,7 @@ aiofiles==0.3.0 httptools==0.0.9 python_engineio python_socketio -sanic==0.3.1 +sanic==0.8 six==1.10.0 ujson==1.35 uvloop==0.8.0