From a23c831a20ff326987bac7a8e2a949bf74a60c90 Mon Sep 17 00:00:00 2001 From: Boger Date: Thu, 12 Mar 2020 20:52:27 +0300 Subject: [PATCH] :fire: Move aiohttp to optional dependencies --- poetry.lock | 3 ++- pyproject.toml | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/poetry.lock b/poetry.lock index 1bc05c34..18ca1cf2 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1022,10 +1022,11 @@ docs = ["sphinx", "jaraco.packaging (>=3.2)", "rst.linker (>=1.9)"] testing = ["jaraco.itertools", "func-timeout"] [extras] +aiohttp = ["aiohttp"] fast = ["uvloop"] [metadata] -content-hash = "73b45cffbbc348a1fae4d9c90e87968575cec3037bb82092a43f5ff2a69e73d4" +content-hash = "bfca643f350e5f402c6dbdecb072591b212dd882b86f275ad41a8af3ee0c347f" python-versions = "^3.7" [metadata.files] diff --git a/pyproject.toml b/pyproject.toml index bd067961..51336381 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,12 +33,12 @@ classifiers = [ [tool.poetry.dependencies] python = "^3.7" httpx = "^0.12" -aiohttp = "^3.6" pydantic = "^1.2" Babel = "^2.7" aiofiles = "^0.4.0" -uvloop = {version = "^0.14.0", markers = "sys_platform == 'darwin' or sys_platform == 'linux'", optional = true} async_lru = "^1.0" +aiohttp = {version = "^3.6", optional = true} +uvloop = {version = "^0.14.0", markers = "sys_platform == 'darwin' or sys_platform == 'linux'", optional = true} [tool.poetry.dev-dependencies] uvloop = {version = "^0.14.0", markers = "sys_platform == 'darwin' or sys_platform == 'linux'"} @@ -67,6 +67,7 @@ RESPX = "^0.10.1" [tool.poetry.extras] fast = ["uvloop"] +aiohttp = ["aiohttp"] [tool.black] line-length = 99