From 71f3b50912288377ffc0a6d32623c3f8ff96a85b Mon Sep 17 00:00:00 2001 From: root Date: Fri, 2 Oct 2026 11:37:20 +0000 Subject: [PATCH 1/2] fix(deps): declare async dependency explicitly and pin greenlet The running image (~2 weeks old) happened to carry greenlet; the rebuild for this deploy was the first fresh in weeks and resolved SQLAlchemy without greenlet. This exposes an unpinned dependency that any fresh build would hit. Add the [asyncio] extra to sqlalchemy and pin greenlet>=3.0 to prevent future breaks on fresh builds. --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c188f3e..9d3815f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,8 @@ requires-python = ">=3.11" dependencies = [ "fastapi[standard]>=0.115.0", "uvicorn[standard]>=0.30.0", - "sqlalchemy>=2.0.0", + "sqlalchemy[asyncio]>=2.0.0" + "greenlet>=3.0", "alembic>=1.13.0", "pydantic-settings>=2.5.0", "python-jose[cryptography]>=3.3.0", -- 2.54.0 From 23be01e200fcd1cfc90e845c8713a3c5e05d9731 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 2 Oct 2026 12:32:17 +0000 Subject: [PATCH 2/2] fix(deps): add missing comma in TOML dependencies array --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9d3815f..fa47fc1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ requires-python = ">=3.11" dependencies = [ "fastapi[standard]>=0.115.0", "uvicorn[standard]>=0.30.0", - "sqlalchemy[asyncio]>=2.0.0" + "sqlalchemy[asyncio]>=2.0.0", "greenlet>=3.0", "alembic>=1.13.0", "pydantic-settings>=2.5.0", -- 2.54.0