Guidance requested: integrated Alembic migration CLI dependencies #2062
Replies: 1 comment
Architectural & Packaging GuidanceTo give you a clear direction before reopening the PR, here is how Tiangolo's ecosystem (FastAPI, SQLModel, Typer) typically resolves this dilemma, along with why your PR was automatically closed: 1. Which Packaging Direction?❌ Direction 1: Core Runtime Dependencies (Not Recommended)Making
💡 Direction 2: Optional Dependency Extra (
|
Uh oh!
There was an error while loading. Please reload this page.
Hi maintainers,
I revived the work from #689 against current
mainin #2061. The implementation adds asqlmodel migrationsCLI with Alembic commands and documentation. The test matrix passed, but #2061 was closed automatically because it modifiespyproject.tomlanduv.lock.The feature needs Alembic and Typer available at runtime for the console command. Before proposing it again, could you advise which packaging direction you prefer?
The updated implementation preserves the current PDM/uv setup and current CI, and replaces the original deprecated entry-point loader with
importlib.metadata. I am happy to adapt the PR to the preferred design.Thanks!
All reactions