From 2bcff2edc7308f8ec4a59b30dd482025bf7396e7 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 2 Oct 2023 12:17:28 +0200 Subject: [PATCH] API - update to Flask 3+ --- poetry.lock | 10 +++++----- pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/poetry.lock b/poetry.lock index 60c133e0..78813133 100644 --- a/poetry.lock +++ b/poetry.lock @@ -644,13 +644,13 @@ pyflakes = ">=3.1.0,<3.2.0" [[package]] name = "flask" -version = "2.3.3" +version = "3.0.0" description = "A simple framework for building complex web applications." optional = false python-versions = ">=3.8" files = [ - {file = "flask-2.3.3-py3-none-any.whl", hash = "sha256:f69fcd559dc907ed196ab9df0e48471709175e696d6e698dd4dbe940f96ce66b"}, - {file = "flask-2.3.3.tar.gz", hash = "sha256:09c347a92aa7ff4a8e7f3206795f30d826654baf38b873d0744cd571ca609efc"}, + {file = "flask-3.0.0-py3-none-any.whl", hash = "sha256:21128f47e4e3b9d597a3e8521a329bf56909b690fcc3fa3e477725aa81367638"}, + {file = "flask-3.0.0.tar.gz", hash = "sha256:cfadcdb638b609361d29ec22360d6070a77d7463dcb3ab08d2c2f2f168845f58"}, ] [package.dependencies] @@ -659,7 +659,7 @@ click = ">=8.1.3" importlib-metadata = {version = ">=3.6.0", markers = "python_version < \"3.10\""} itsdangerous = ">=2.1.2" Jinja2 = ">=3.1.2" -Werkzeug = ">=2.3.7" +Werkzeug = ">=3.0.0" [package.extras] async = ["asgiref (>=3.2)"] @@ -2711,4 +2711,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = "^3.8.1" -content-hash = "ddd3af7e6c44d1de854cc0844025684376f0d332a706fe95289de3d8bc4086e3" +content-hash = "e1820655c6f600c86818c32e09305b24daa5b5eca10c31e52c7af604f0c55289" diff --git a/pyproject.toml b/pyproject.toml index b51d6250..2c46d1e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ authlib = "=1.2.1" babel = "^2.11.0" click = "=8.1.3" dramatiq = {version = "^1.14", extras = ["redis"]} -flask = "^2.3" +flask = "^3.0" flask-bcrypt = "^1.0" flask-dramatiq = "^0.6" flask-limiter = {version = "^3.5", extras = ["redis"]}