Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ dependencies = [
"python-multipart>=0.0.6",
"pydantic-settings>=2.1.0",
"sqlalchemy>=2.0.23",
"greenlet>=3.0.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For better long-term maintainability, it's good practice to add a comment explaining why this explicit dependency is needed. This helps future developers understand the context without having to dig through git history. greenlet is required for SQLAlchemy's async support but isn't always installed as a transitive dependency, which is not immediately obvious.

Suggested change
"greenlet>=3.0.0",
# Required for SQLAlchemy async support (e.g., with aiosqlite)
"greenlet>=3.0.0",

"aiosqlite>=0.19.0",
"alembic>=1.13.0",
"passlib[bcrypt]>=1.7.4",
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"python-multipart>=0.0.6",
"pydantic-settings>=2.1.0",
"sqlalchemy>=2.0.23",
"greenlet>=3.0.0",
"aiosqlite>=0.19.0",
"alembic>=1.13.0",
"passlib[bcrypt]>=1.7.4",
Expand Down