From: Filipe Laíns Date: Tue, 5 Oct 2021 08:58:00 +0000 (+0100) Subject: ➖ Do not require backports in Python >= 3.7 (#1880) X-Git-Tag: 0.68.2~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8a02a471240b5f7991f05c2ff6bb0f49caa7d198;p=thirdparty%2Ffastapi%2Ffastapi.git ➖ Do not require backports in Python >= 3.7 (#1880) Co-authored-by: Sebastián Ramírez --- diff --git a/pyproject.toml b/pyproject.toml index b2be66fa13..30ebe55ccf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,11 +59,11 @@ test = [ "databases[sqlite] >=0.3.2,<0.4.0", "orjson >=3.2.1,<4.0.0", "ujson >=4.0.1,<5.0.0", - "async_exit_stack >=1.0.1,<2.0.0", - "async_generator >=1.10,<2.0.0", "python-multipart >=0.0.5,<0.0.6", "aiofiles >=0.5.0,<0.6.0", "flask >=1.1.2,<2.0.0", + "async_exit_stack >=1.0.1,<2.0.0; python_version < '3.7'", + "async_generator >=1.10,<2.0.0; python_version < '3.7'", # types "types-ujson ==0.1.1", @@ -98,8 +98,8 @@ all = [ "orjson >=3.2.1,<4.0.0", "email_validator >=1.1.1,<2.0.0", "uvicorn[standard] >=0.12.0,<0.16.0", - "async_exit_stack >=1.0.1,<2.0.0", - "async_generator >=1.10,<2.0.0" + "async_exit_stack >=1.0.1,<2.0.0; python_version < '3.7'", + "async_generator >=1.10,<2.0.0; python_version < '3.7'", ] [tool.isort]