Skip to content

Commit f092e04

Browse files
committed
fix: add explicit greenlet dependency for SQLAlchemy async support
SQLAlchemy's async features (used with aiosqlite) require greenlet at runtime, but it's not always installed as a transitive dependency. This caused make start to fail on macOS with a missing module error. Added greenlet>=3.0.0 to both pyproject.toml and setup.py to ensure consistent installs across PEP517 and legacy/Docker fallback paths.
1 parent a80b302 commit f092e04

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ dependencies = [
3434
"python-multipart>=0.0.6",
3535
"pydantic-settings>=2.1.0",
3636
"sqlalchemy>=2.0.23",
37+
"greenlet>=3.0.0",
3738
"aiosqlite>=0.19.0",
3839
"alembic>=1.13.0",
3940
"passlib[bcrypt]>=1.7.4",

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"python-multipart>=0.0.6",
2525
"pydantic-settings>=2.1.0",
2626
"sqlalchemy>=2.0.23",
27+
"greenlet>=3.0.0",
2728
"aiosqlite>=0.19.0",
2829
"alembic>=1.13.0",
2930
"passlib[bcrypt]>=1.7.4",

0 commit comments

Comments
 (0)