The Wire ยท Showcase
FASTAPI AND SQLMODEL SHED LEGACY PACKAGING CRUFT
By RepoJournal ยท Filed ยท About FastAPI & Pydantic
Both FastAPI and SQLModel are removing deprecated slim package stubs that have lingered unused for months, signaling a focused push toward cleaner dependency chains.
FastAPI dropped its slim package stub [1], a deprecated compatibility layer that served no purpose for months and was kept only as a precaution. SQLModel followed suit the same day, removing its own unused slim stub [2] to match. The parallel cleanup across both Tiangolo projects suggests a deliberate housekeeping cycle to reduce packaging surface area and eliminate dead weight from the dependency graph. In a separate move, SQLModel is automating its release preparation workflow [3], borrowing patterns from asyncer to streamline the path from code to production. These aren't flashy features, but they're the kind of maintenance work that prevents future pain when version bumps slow down because of accumulated technical debt.
Action items
- โ Update FastAPI and SQLModel pins to latest in your lockfile fastapi/fastapi [plan]
- โ Verify slim package stubs aren't in your requirements if you were using them tiangolo/sqlmodel [plan]
- โ Watch for SQLModel release cadence to improve with automation tiangolo/sqlmodel [monitor]
References
- [1] ๐ฅ Remove slim package stub, deprecated for a while (#15649) fastapi/fastapi
- [2] ๐ฅ Remove old package stub slim, not used nor needed (#1987) tiangolo/sqlmodel
- [3] ๐ท Automate release preparation โ tiangolo/sqlmodel
FAQ
- What changed in FastAPI & Pydantic on May 31, 2026?
- Both FastAPI and SQLModel are removing deprecated slim package stubs that have lingered unused for months, signaling a focused push toward cleaner dependency chains.
- What should FastAPI & Pydantic teams do about it?
- Update FastAPI and SQLModel pins to latest in your lockfile โข Verify slim package stubs aren't in your requirements if you were using them โข Watch for SQLModel release cadence to improve with automation
- Which FastAPI & Pydantic repositories shipped on May 31, 2026?
- fastapi/fastapi, tiangolo/sqlmodel