deps: update flask to latest
parent
3666a76146
commit
ccdacec835
|
@ -1,5 +1,16 @@
|
|||
# This file is automatically @generated by Poetry 1.6.1 and should not be changed by hand.
|
||||
|
||||
[[package]]
|
||||
name = "blinker"
|
||||
version = "1.6.2"
|
||||
description = "Fast, simple object-to-object and broadcast signaling"
|
||||
optional = false
|
||||
python-versions = ">=3.7"
|
||||
files = [
|
||||
{file = "blinker-1.6.2-py3-none-any.whl", hash = "sha256:c3d739772abb7bc2860abf5f2ec284223d9ad5c76da018234f6f50d6f31ab1f0"},
|
||||
{file = "blinker-1.6.2.tar.gz", hash = "sha256:4afd3de66ef3a9f8067559fb7a1cbe555c17dcbe15971b05d1b625c3e7abe213"},
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "click"
|
||||
version = "8.1.7"
|
||||
|
@ -27,20 +38,21 @@ files = [
|
|||
|
||||
[[package]]
|
||||
name = "flask"
|
||||
version = "2.2.5"
|
||||
version = "2.3.3"
|
||||
description = "A simple framework for building complex web applications."
|
||||
optional = false
|
||||
python-versions = ">=3.7"
|
||||
python-versions = ">=3.8"
|
||||
files = [
|
||||
{file = "Flask-2.2.5-py3-none-any.whl", hash = "sha256:58107ed83443e86067e41eff4631b058178191a355886f8e479e347fa1285fdf"},
|
||||
{file = "Flask-2.2.5.tar.gz", hash = "sha256:edee9b0a7ff26621bd5a8c10ff484ae28737a2410d99b0bb9a6850c7fb977aa0"},
|
||||
{file = "flask-2.3.3-py3-none-any.whl", hash = "sha256:f69fcd559dc907ed196ab9df0e48471709175e696d6e698dd4dbe940f96ce66b"},
|
||||
{file = "flask-2.3.3.tar.gz", hash = "sha256:09c347a92aa7ff4a8e7f3206795f30d826654baf38b873d0744cd571ca609efc"},
|
||||
]
|
||||
|
||||
[package.dependencies]
|
||||
click = ">=8.0"
|
||||
itsdangerous = ">=2.0"
|
||||
Jinja2 = ">=3.0"
|
||||
Werkzeug = ">=2.2.2"
|
||||
blinker = ">=1.6.2"
|
||||
click = ">=8.1.3"
|
||||
itsdangerous = ">=2.1.2"
|
||||
Jinja2 = ">=3.1.2"
|
||||
Werkzeug = ">=2.3.7"
|
||||
|
||||
[package.extras]
|
||||
async = ["asgiref (>=3.2)"]
|
||||
|
@ -243,13 +255,13 @@ watchdog = ["watchdog (>=2.3)"]
|
|||
|
||||
[[package]]
|
||||
name = "wtforms"
|
||||
version = "2.3.3"
|
||||
description = "A flexible forms validation and rendering library for Python web development."
|
||||
version = "3.0.1"
|
||||
description = "Form validation and rendering for Python web development."
|
||||
optional = false
|
||||
python-versions = "*"
|
||||
python-versions = ">=3.7"
|
||||
files = [
|
||||
{file = "WTForms-2.3.3-py2.py3-none-any.whl", hash = "sha256:7b504fc724d0d1d4d5d5c114e778ec88c37ea53144683e084215eed5155ada4c"},
|
||||
{file = "WTForms-2.3.3.tar.gz", hash = "sha256:81195de0ac94fbc8368abbaf9197b88c4f3ffd6c2719b5bf5fc9da744f3d829c"},
|
||||
{file = "WTForms-3.0.1-py3-none-any.whl", hash = "sha256:837f2f0e0ca79481b92884962b914eba4e72b7a2daaf1f939c890ed0124b834b"},
|
||||
{file = "WTForms-3.0.1.tar.gz", hash = "sha256:6b351bbb12dd58af57ffef05bc78425d08d1914e0fd68ee14143b7ade023c5bc"},
|
||||
]
|
||||
|
||||
[package.dependencies]
|
||||
|
@ -257,10 +269,8 @@ MarkupSafe = "*"
|
|||
|
||||
[package.extras]
|
||||
email = ["email-validator"]
|
||||
ipaddress = ["ipaddress"]
|
||||
locale = ["Babel (>=1.3)"]
|
||||
|
||||
[metadata]
|
||||
lock-version = "2.0"
|
||||
python-versions = "~3.11"
|
||||
content-hash = "318a61b7d2e1e27e71f975bcfa820a9c0bba92cb0d018cc5141445ba17a4d98c"
|
||||
content-hash = "b026e5d2d31ebde4256e7793a62fbba895b049cfc270bf24ab1a0ed352f9d933"
|
||||
|
|
|
@ -7,7 +7,7 @@ readme = "README.md"
|
|||
|
||||
[tool.poetry.dependencies]
|
||||
python = "~3.11"
|
||||
Flask = "~2.2"
|
||||
Flask = "^2.3"
|
||||
Flask-WTF = "^1"
|
||||
itsdangerous = "^2.0"
|
||||
Jinja2 = "^3.0"
|
||||
|
@ -16,7 +16,7 @@ MarkupSafe = "^2.0"
|
|||
python-ldap = "^3.2.0"
|
||||
uWSGI = "^2.0"
|
||||
Werkzeug = "^2.0"
|
||||
WTForms = "^2.2.1"
|
||||
WTForms = "^3"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
|
|
|
@ -43,8 +43,7 @@ def initialize_forms():
|
|||
forms[f] = AddForm
|
||||
return forms
|
||||
|
||||
@app.before_first_request
|
||||
def start(*a, **kw):
|
||||
def start():
|
||||
validation.sanitize_perms()
|
||||
validation.sanitize_readable()
|
||||
|
||||
|
@ -61,3 +60,4 @@ def start(*a, **kw):
|
|||
app.profiles = {}
|
||||
app.forms = initialize_forms()
|
||||
|
||||
start()
|
||||
|
|
Loading…
Reference in New Issue