From 1433813ec7d8fbebb47085e7ec6ca36bca2dd9c6 Mon Sep 17 00:00:00 2001 From: Davide Grilli Date: Sat, 17 Oct 2026 16:29:21 +0200 Subject: [PATCH] Install SQLAlchemy's asyncio extra so greenlet ships in the image A clean `pip install .` in the Docker image left out greenlet, so `alembic upgrade head` crashed on import of sqlalchemy.ext.asyncio and the container restart-looped. Co-Authored-By: Claude Sonnet 5.5 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1725028..dca8bb8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ requires-python = ">=3.12" dependencies = [ "fastapi>=0.115", "uvicorn[standard]>=0.32", - "sqlalchemy>=2.0", + "sqlalchemy[asyncio]>=2.0", "aiosqlite>=0.20", "alembic>=1.13", "pydantic-settings>=2.6",