glance-specs/specs/xena/approved/glance/remove-sqlalchemy-migrate.rst
Stephen Finucane d4780187c7 Add remove-sqlalchemy-migrate
Delete the legacy sqlalchemy-migrate-based migrations and related
tooling.

Part of blueprint remove-sqlalchemy-migrate

Change-Id: I88e64043f268b857de69f98a78c74c1ac6b02120
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2021-07-13 18:19:19 +01:00

1.1 KiB

Spec Lite: Remove sqlalchemy-migrate

project

glance

problem

The sqlalchemy-migrate library is unmaintained and has been deprecated in favour of alembic. It is not compatible with sqlalchemy 2.0 and is issuing many warnings suggesting Python 3.10 compatibility may be in doubt. Glance switched to alembic for new migrations during the Ocata cycle and no longer needs to carry the old sqlalchemy-migrate-based migrations.

solution

Remove the sqlalchemy-migrate-based migrations and related tooling.

impacts

None. Users coming from a pre-Ocata deployment will need to deploy a pre-Xena glance before deploying Xena, but that's standard practice anyway.

timeline

Xena milestone 3

link

https://review.opendev.org/c/openstack/glance/+/760411

assignee

stephenfin