From 1e58a3e44ceb78205a201aade6210d77363dd10b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Sun, 20 Dec 2020 20:12:39 +0100 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Upgrade=20Uvicorn=20when?= =?UTF-8?q?=20installing=20fastapi[all]=20to=20the=20latest=20version=20in?= =?UTF-8?q?cluding=20uvloop=20(#2548)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ⬆️ Upgrade Uvicorn when installing fastapi[all] to the latest version, including uvloop * ⬆️ Relax Uvicorn version range to the minimum supported in case anyone depends older versions somehow installed with FastAPI extras --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3dc6b6f83..567276036 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -76,7 +76,7 @@ dev = [ "passlib[bcrypt] >=1.7.2,<2.0.0", "autoflake >=1.3.1,<2.0.0", "flake8 >=3.8.3,<4.0.0", - "uvicorn >=0.11.5,<0.12.0", + "uvicorn[standard] >=0.12.0,<0.14.0", "graphene >=2.1.8,<3.0.0" ] all = [ @@ -90,7 +90,7 @@ all = [ "ujson >=3.0.0,<4.0.0", "orjson >=3.2.1,<4.0.0", "email_validator >=1.1.1,<2.0.0", - "uvicorn >=0.11.5,<0.12.0", + "uvicorn[standard] >=0.12.0,<0.14.0", "async_exit_stack >=1.0.1,<2.0.0", "async_generator >=1.10,<2.0.0" ]