Browse Source

Update all requirements of AsyncIO

Ludovic Gasc (GMLudo) 10 years ago
parent
commit
5d875f5472

+ 1 - 2
frameworks/Python/AsyncIO/aiohttp.web/hello/__init__.py

@@ -38,7 +38,7 @@ class Container(api_hour.Container):
 
 
     def make_servers(self):
     def make_servers(self):
         return [self.servers['http'].make_handler(logger=self.worker.log,
         return [self.servers['http'].make_handler(logger=self.worker.log,
-                                                  debug=self.worker.cfg.debug,
+                                                  debug=False,
                                                   keep_alive=self.worker.cfg.keepalive,
                                                   keep_alive=self.worker.cfg.keepalive,
                                                   access_log=self.worker.log.access_log,
                                                   access_log=self.worker.log.access_log,
                                                   access_log_format=self.worker.cfg.access_log_format),
                                                   access_log_format=self.worker.cfg.access_log_format),
@@ -68,7 +68,6 @@ class Container(api_hour.Container):
 
 
         LOG.info('All engines ready !')
         LOG.info('All engines ready !')
 
 
-
     @asyncio.coroutine
     @asyncio.coroutine
     def stop(self):
     def stop(self):
         LOG.info('Stopping engines...')
         LOG.info('Stopping engines...')

+ 13 - 9
frameworks/Python/AsyncIO/aiohttp.web/requirements.txt

@@ -1,14 +1,18 @@
+aiohttp==0.16.3
+aiohttp-jinja2==0.4.2
+aiopg==0.7.0
+api-hour==0.6.2
+asyncio-redis==0.13.4
+chardet==2.3.0
+gunicorn==19.3.0
+hiredis==0.2.0
 Jinja2==2.7.3
 Jinja2==2.7.3
 MarkupSafe==0.23
 MarkupSafe==0.23
+piprot==0.9.1
+psycopg2==2.6
 PyYAML==3.11
 PyYAML==3.11
-aiohttp==0.13.1
-aiohttp-jinja2==0.0.2
-aiopg==0.5.2
-api-hour==0.6.1
-asyncio-redis==0.13.4
-gunicorn==19.1.1
-hiredis==0.1.6
-psycopg2==2.5.4
+requests==2.7.0
+requests-futures==0.9.5
 setproctitle==1.1.8
 setproctitle==1.1.8
-six==1.8.0
+six==1.9.0
 ujson==1.33
 ujson==1.33