Alembic 1.20.0 will drop support for SQLAlchemy 1.4, making SQLAlchemy 2.0 the minimum required version.
SQLAlchemy 1.4's final release series is well past its maintenance window, and 1.4 has no support for Python 3.13 and above, meaning the 1.4 leg of Alembic's test matrix can only run on progressively older interpreters. Removing it allows the numerous version-conditional code paths in alembic.util.sqla_compat and elsewhere to be collapsed onto the 2.0 API.
Scope:
SQLAlchemy>=2.0 in project dependencies
- remove the
sqla_14_18 / sqla_14_26 / sqla_2 compatibility flags and the code branches they guard
- remove the
sqla14 legs from the nox and GitHub Actions test matrices
- documentation and changelog updates
Alembic 1.20.0 will drop support for SQLAlchemy 1.4, making SQLAlchemy 2.0 the minimum required version.
SQLAlchemy 1.4's final release series is well past its maintenance window, and 1.4 has no support for Python 3.13 and above, meaning the 1.4 leg of Alembic's test matrix can only run on progressively older interpreters. Removing it allows the numerous version-conditional code paths in
alembic.util.sqla_compatand elsewhere to be collapsed onto the 2.0 API.Scope:
SQLAlchemy>=2.0in project dependenciessqla_14_18/sqla_14_26/sqla_2compatibility flags and the code branches they guardsqla14legs from the nox and GitHub Actions test matrices