fix(deps): pin dependencies (#446)

* fix(deps): pin dependencies

* fix: stop passing log_level to FastAPI

FastAPI never had a log_level parameter; it went into **extra and was
ignored until 0.162 removed **extra, where it raises TypeError at import.
uvicorn.run already receives the log level.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ThePhaseless <kukubaorch@gmail.com>
This commit is contained in:
renovate[bot]andThePhaseless authored and GitHub committed 2026-11-05 16:56:43 +01:00
1 parent 406ad428c4
commit 93ffe3ec0f
6 files changed
+20 -20

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ async def lifespan(_: FastAPI) -> AsyncGenerator[None]:
yield
app = FastAPI(debug=LOG_LEVEL == logging.DEBUG, log_level=LOG_LEVEL, lifespan=lifespan)
app = FastAPI(debug=LOG_LEVEL == logging.DEBUG, lifespan=lifespan)
app.add_middleware(GZipMiddleware)
app.add_middleware(LogRequest)