diff --git a/requirements-aiohttp.txt b/requirements-aiohttp.txt index da90e9ddf..c3e1857e0 100644 --- a/requirements-aiohttp.txt +++ b/requirements-aiohttp.txt @@ -1,4 +1,4 @@ -aiohttp>=2.2.5,<3.5.2 +aiohttp>=2.2.5 aiohttp-swagger>=1.0.5 ujson>=1.35 aiohttp_jinja2==0.15.0 diff --git a/setup.py b/setup.py index ed14c0ffd..a5ff0e82f 100755 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ def read_version(package): swagger_ui_require = 'swagger-ui-bundle>=0.0.2' flask_require = 'flask>=1.0.4' aiohttp_require = [ - 'aiohttp>=2.3.10,<3.5.2', + 'aiohttp>=2.3.10', 'aiohttp-jinja2>=0.14.0' ] ujson_require = 'ujson>=1.35' diff --git a/tests/test_cli.py b/tests/test_cli.py index cd7624f53..f7bcbe136 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -262,6 +262,7 @@ def test_run_with_wsgi_containers(mock_app_run, spec_file): def test_run_with_aiohttp_not_installed(mock_app_run, spec_file): import sys aiohttp_bkp = sys.modules.pop('aiohttp', None) + sys.modules['aiohttp'] = None runner = CliRunner()