chg: Use restx that supports flask >2.0

restx
Raphaël Vinot 2021-07-06 06:40:40 +02:00
parent cc2e5a4159
commit a9a529f8a0
2 changed files with 13 additions and 9 deletions

20
poetry.lock generated
View File

@ -290,25 +290,32 @@ Flask = "*"
[[package]]
name = "flask-restx"
version = "0.4.0"
version = "0.4.1.dev0"
description = "Fully featured framework for fast, easy and documented API development with Flask"
category = "main"
optional = false
python-versions = "*"
develop = false
[package.dependencies]
aniso8601 = {version = ">=0.82", markers = "python_version >= \"3.5\""}
Flask = ">=0.8,<2.0.0"
Flask = ">=0.8,<2.0.0 || >2.0.0"
jsonschema = "*"
pytz = "*"
six = ">=1.3.0"
werkzeug = "<2.0.0"
werkzeug = "!=2.0.0"
[package.extras]
dev = ["blinker", "Faker (==2.0.0)", "mock (==3.0.5)", "pytest-benchmark (==3.2.2)", "pytest-cov (==2.7.1)", "pytest-flask (==0.15.1)", "pytest-mock (==1.10.4)", "pytest-profiling (==1.7.0)", "tzlocal", "invoke (==1.3.0)", "readme-renderer (==24.0)", "twine (==1.15.0)", "tox", "pytest (==4.6.5)", "pytest (==5.4.1)", "ossaudit", "black"]
doc = ["alabaster (==0.7.12)", "Sphinx (==2.1.2)", "sphinx-issues (==1.2.0)"]
test = ["blinker", "Faker (==2.0.0)", "mock (==3.0.5)", "pytest-benchmark (==3.2.2)", "pytest-cov (==2.7.1)", "pytest-flask (==0.15.1)", "pytest-mock (==1.10.4)", "pytest-profiling (==1.7.0)", "tzlocal", "invoke (==1.3.0)", "readme-renderer (==24.0)", "twine (==1.15.0)", "pytest (==4.6.5)", "pytest (==5.4.1)", "ossaudit"]
[package.source]
type = "git"
url = "https://github.com/python-restx/flask-restx.git"
reference = "master"
resolved_reference = "0dc1c3c966d0394da4b807e491225e90f46b27b8"
[[package]]
name = "gunicorn"
version = "20.1.0"
@ -1262,7 +1269,7 @@ misp = ["python-magic", "pydeep"]
[metadata]
lock-version = "1.1"
python-versions = "^3.8"
content-hash = "7cb24042a7ab8e1b97c9804c34ff2a28115d7963844eef796385798ac8ff33eb"
content-hash = "436048496998de03e68f4796ded142f84c9ce81935e1670db54b136ef062ba0a"
[metadata.files]
aiohttp = [
@ -1474,10 +1481,7 @@ flask-login = [
{file = "Flask-Login-0.5.0.tar.gz", hash = "sha256:6d33aef15b5bcead780acc339464aae8a6e28f13c90d8b1cf9de8b549d1c0b4b"},
{file = "Flask_Login-0.5.0-py2.py3-none-any.whl", hash = "sha256:7451b5001e17837ba58945aead261ba425fdf7b4f0448777e597ddab39f4fba0"},
]
flask-restx = [
{file = "flask-restx-0.4.0.tar.gz", hash = "sha256:8bdbfd8ad2949383c490b3b180481c0e9f70163230a5b567a56592c82f7c5cb0"},
{file = "flask_restx-0.4.0-py2.py3-none-any.whl", hash = "sha256:780ac57ebda25e9f17ffccf3ff1b47a2c4efe5787cebddbbba1a91f53560d79f"},
]
flask-restx = []
gunicorn = [
{file = "gunicorn-20.1.0.tar.gz", hash = "sha256:e0a968b5ba15f8a328fdfd7ab1fcb5af4470c28aaf7e55df02a99bc13138e6e8"},
]

View File

@ -57,7 +57,7 @@ pydeep = {version = "^0.4", optional = true}
Pillow = "^8.3.0"
lief = "^0.11.4"
Flask-Login = "^0.5.0"
flask-restx = "^0.4.0"
flask-restx = {git = "https://github.com/python-restx/flask-restx.git"}
[tool.poetry.extras]
misp = ['python-magic', 'pydeep']