mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-22 00:32:11 +08:00
feat: add fastapi and uvicorn, remove compatibility with 2.7/3.5
This commit is contained in:
@@ -20,8 +20,6 @@ classifiers = [
|
|||||||
"Operating System :: MacOS",
|
"Operating System :: MacOS",
|
||||||
"Operating System :: POSIX :: Linux",
|
"Operating System :: POSIX :: Linux",
|
||||||
"Operating System :: Microsoft :: Windows",
|
"Operating System :: Microsoft :: Windows",
|
||||||
"Programming Language :: Python :: 2.7",
|
|
||||||
"Programming Language :: Python :: 3.5",
|
|
||||||
"Programming Language :: Python :: 3.6",
|
"Programming Language :: Python :: 3.6",
|
||||||
"Programming Language :: Python :: 3.7",
|
"Programming Language :: Python :: 3.7",
|
||||||
"Programming Language :: Python :: 3.8"
|
"Programming Language :: Python :: 3.8"
|
||||||
@@ -30,7 +28,7 @@ classifiers = [
|
|||||||
include = ["docs/CHANGELOG.md"]
|
include = ["docs/CHANGELOG.md"]
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "~2.7 || ^3.5"
|
python = "^3.6"
|
||||||
requests = "^2.22.0"
|
requests = "^2.22.0"
|
||||||
requests-toolbelt = "^0.9.1"
|
requests-toolbelt = "^0.9.1"
|
||||||
pyyaml = "^5.1.2"
|
pyyaml = "^5.1.2"
|
||||||
@@ -41,13 +39,13 @@ colorlog = "^4.0.2"
|
|||||||
filetype = "^1.0.5"
|
filetype = "^1.0.5"
|
||||||
jsonpath = "^0.82"
|
jsonpath = "^0.82"
|
||||||
sentry-sdk = "^0.13.5"
|
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"
|
jsonschema = "^3.2.0"
|
||||||
|
|
||||||
[tool.poetry.dev-dependencies]
|
[tool.poetry.dev-dependencies]
|
||||||
flask = "<1.0.0"
|
flask = "<1.0.0"
|
||||||
coverage = "^4.5.4"
|
coverage = "^4.5.4"
|
||||||
|
uvicorn = "^0.11.3"
|
||||||
|
fastapi = "^0.49.0"
|
||||||
|
|
||||||
[tool.poetry.scripts]
|
[tool.poetry.scripts]
|
||||||
hrun = "httprunner.cli:main"
|
hrun = "httprunner.cli:main"
|
||||||
|
|||||||
Reference in New Issue
Block a user