mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 18:11:21 +08:00
fix: 依赖改为可选
This commit is contained in:
@@ -45,14 +45,17 @@ filetype = {version = "^1.0.7", optional = true}
|
||||
Brotli = "^1.0.9"
|
||||
jinja2 = "^3.0.3"
|
||||
toml = "^0.10.2"
|
||||
sqlalchemy = "^1.4.36"
|
||||
cython = "^0.29.28"
|
||||
thriftpy2 = "^0.4.14"
|
||||
thrift = "^0.16.0"
|
||||
sqlalchemy = {version = "^1.4.36", optional = true}
|
||||
pymysql = {version = "^1.0.2",optional = true}
|
||||
cython = {version = "^0.29.28", optional = true}
|
||||
thriftpy2 = {version = "^0.4.14", optional = true}
|
||||
thrift = {version = "^0.16.0", optional = true}
|
||||
|
||||
[tool.poetry.extras]
|
||||
allure = ["allure-pytest"] # pip install "httprunner[allure]", poetry install -E allure
|
||||
upload = ["requests-toolbelt", "filetype"] # pip install "httprunner[upload]", poetry install -E upload
|
||||
sql = ["sqlalchemy","pymysql"] # pip install "httprunner[sql]", poetry install -E sql
|
||||
thrift = ["cython","thrift","thriftpy2"] # pip install "httprunner[thrift]", poetry install -E sql
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
coverage = "^4.5.4"
|
||||
|
||||
Reference in New Issue
Block a user