update main dependencies, fix latest quart

This commit is contained in:
Luna 2023-11-18 19:04:21 -03:00
parent d853073114
commit 61f2163049
3 changed files with 985 additions and 1057 deletions

2023
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -9,15 +9,15 @@ license = "GPLv3-only"
python = "^3.9"
bcrypt = "^4.0.1"
itsdangerous = "^2.1.2"
asyncpg = "^0.27.0"
websockets = "^11.0.3"
asyncpg = "^0.29.0"
websockets = "^12.0"
Earl-ETF = "^2.1.2"
logbook = "^1.5.3"
Cerberus = "^1.3.4"
quart = "^0.18.4"
pillow = "^9.5.0"
aiohttp = "^3.8.4"
zstandard = "^0.21.0"
Cerberus = "^1.3.5"
quart = "^0.19.3"
pillow = "^10.1.0"
aiohttp = "^3.9.0"
zstandard = "^0.22.0"
winter = {git = "https://gitlab.com/elixire/winter"}
wsproto = "^1.2.0"

5
run.py
View File

@ -201,12 +201,15 @@ def set_blueprints(app_):
for bp, suffix in bps.items():
for prefix in PREFIXES:
version = int(prefix.split("v")[1])
url_prefix = f'{prefix}{suffix or ""}'
if suffix == -1:
url_prefix = ""
app_.register_blueprint(bp, url_prefix=url_prefix)
app_.register_blueprint(
bp, name=f"v{version}.{bp.name}", url_prefix=url_prefix
)
app = make_app()