You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(deps): upgrade SQLAlchemy from 1.4.41 to 2.0.45
This PR upgrades SQLAlchemy to version 2.0.45, addressing breaking changes:
- Update DeclarativeBase: Replace deprecated declarative_base() with new
class-based DeclarativeBase pattern
- Fix raw SQL execution: Wrap string SQL with text() in mod_health and tests
- Update DeclEnumType: Use String(50) as impl instead of Enum to avoid
SQLAlchemy 2.0's stricter enum value validation in TypeDecorator
- Fix engine creation: Remove deprecated convert_unicode parameter and
use StaticPool for SQLite in-memory databases to ensure connection sharing
- Update type hints: Use generic Dialect type instead of SQLite-specific
All 402 tests pass with the upgraded SQLAlchemy version.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments