From d9370cfc0981266d681c6483cb8f7614509e5c16 Mon Sep 17 00:00:00 2001 From: debugtalk Date: Fri, 21 Feb 2020 19:28:27 +0800 Subject: [PATCH] feat: add fastapi and uvicorn, remove compatibility with 2.7/3.5 --- pyproject.toml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9dc88b7a..a0140669 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,8 +20,6 @@ classifiers = [ "Operating System :: MacOS", "Operating System :: POSIX :: Linux", "Operating System :: Microsoft :: Windows", - "Programming Language :: Python :: 2.7", - "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8" @@ -30,7 +28,7 @@ classifiers = [ include = ["docs/CHANGELOG.md"] [tool.poetry.dependencies] -python = "~2.7 || ^3.5" +python = "^3.6" requests = "^2.22.0" requests-toolbelt = "^0.9.1" pyyaml = "^5.1.2" @@ -41,13 +39,13 @@ colorlog = "^4.0.2" filetype = "^1.0.5" jsonpath = "^0.82" sentry-sdk = "^0.13.5" -future = { version = "^0.18.1", python = "~2.7" } -enum34 = { version = "^1.1.6", python = "~2.7" } jsonschema = "^3.2.0" [tool.poetry.dev-dependencies] flask = "<1.0.0" coverage = "^4.5.4" +uvicorn = "^0.11.3" +fastapi = "^0.49.0" [tool.poetry.scripts] hrun = "httprunner.cli:main"