feat: [python/asyncio] use ssl argument instead of ssl_context (deprecated from aiohttp>=3.0.0) (#1724)

This commit is contained in:
Tomasz Prus
2018-12-21 02:52:27 +01:00
committed by William Cheng
parent d38b9e588b
commit 89a0ffa66c
20 changed files with 11 additions and 29 deletions

View File

@@ -58,7 +58,7 @@ class RESTClientObject(object):
connector = aiohttp.TCPConnector(
limit=maxsize,
ssl_context=ssl_context
ssl=ssl_context
)
# https pool manager

View File

@@ -18,7 +18,7 @@ VERSION = "{{packageVersion}}"
REQUIRES = ["urllib3 >= 1.15", "six >= 1.10", "certifi", "python-dateutil"]
{{#asyncio}}
REQUIRES.append("aiohttp")
REQUIRES.append("aiohttp >= 3.0.0")
{{/asyncio}}
{{#tornado}}
REQUIRES.append("tornado>=4.2,<5")