🔥 Move aiohttp to optional dependencies

This commit is contained in:
Boger 2020-03-12 20:52:27 +03:00
parent 8a38da5d22
commit a23c831a20
2 changed files with 5 additions and 3 deletions

3
poetry.lock generated
View file

@ -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]

View file

@ -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