Update deps, use granian

This commit is contained in:
2024-03-20 14:36:53 +01:00
parent 7606ef5385
commit 5d4b5de107
3 changed files with 313 additions and 379 deletions

668
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -7,20 +7,18 @@ license = "MIT"
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.12" python = "^3.12"
fastapi = "^0.109.1" fastapi = "^0.110.0"
uvicorn = {extras = ["standard"], version = "^0.24.0.post1"} pydantic = "^2.6.4"
pydantic = "^2.5.1" python-multipart = "^0.0.9"
python-multipart = "^0.0.7" telethon = "^1.34.0"
telethon = "^1.32.1" prometheus-fastapi-instrumentator = "^7.0.0"
prometheus-fastapi-instrumentator = "^6.1.0"
uvloop = "^0.19.0"
orjson = "^3.9.15" orjson = "^3.9.15"
sentry-sdk = "^1.36.0" sentry-sdk = "^1.43.0"
pydantic-settings = "^2.1.0" pydantic-settings = "^2.2.1"
typing-extensions = "^4.8.0" typing-extensions = "^4.10.0"
httptools = "^0.6.1"
pyyaml = "^6.0.1" pyyaml = "^6.0.1"
certifi = "^2023.11.17" certifi = "^2024.2.2"
granian = "^1.2.0"
[tool.poetry.group.dev.dependencies] [tool.poetry.group.dev.dependencies]
pytest = "^7.2.0" pytest = "^7.2.0"

View File

@@ -3,4 +3,4 @@ cd /app
rm -rf prometheus rm -rf prometheus
mkdir prometheus mkdir prometheus
uvicorn main:app --host 0.0.0.0 --port 8080 --loop uvloop granian --interface asgi --host 0.0.0.0 --port 8080 --loop uvloop main:app