feat: add fastapi and uvicorn, remove compatibility with 2.7/3.5

This commit is contained in:
debugtalk
2020-02-21 19:28:27 +08:00
parent f53f8a2353
commit d6acdfdc69

View File

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