summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorStephen Finucane <stephenfin@redhat.com>2021-06-25 13:58:58 +0100
committerStephen Finucane <stephenfin@redhat.com>2021-06-25 16:15:13 +0100
commit4f9df08373973a3fbccf49b56b9bf79cc2849dba (patch)
tree6ede71c87745ef2c2feb733db97b80f500a3e2d2 /releasenotes
parent74c6bf266e0b86ceb4726cad9268f134d423bae8 (diff)
downloadoslo-db-4f9df08373973a3fbccf49b56b9bf79cc2849dba.tar.gz
tests: Remove 'ModelsMigrationsSync.check_foreign_keys'
The 'check_foreign_key' method was removed in oslo.db 1.4.0 [1] and re-added but marked as deprecated in 1.4.1 [2] to allow for a deprecation period. That was over 6 years ago so we can now remove it. Meanwhile, the private '_walk_versions', '_migrate_down' and '_migrate_up' methods have been marked as deprecated since oslo.db 0.5.0 (!!!) [3]. We can definitely remove these now. codesearch.o.o reveals no users of any of these methods. [1] I77a2bba2de08125b5a601de03c1d2d5c73fa33ee [2] Id892567bd60d6b4b88765bbfe3cd5c5e75910b25 [3] Ic9358445e60a0dd43a5900e8bda7b12f2bebf679 Change-Id: Idb9596284df3e5d038c939d27fe14fe2cc2f4318 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/remove-ModelsMigrationsSync-check_foreign_keys-467e0dbeb65a8c86.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/releasenotes/notes/remove-ModelsMigrationsSync-check_foreign_keys-467e0dbeb65a8c86.yaml b/releasenotes/notes/remove-ModelsMigrationsSync-check_foreign_keys-467e0dbeb65a8c86.yaml
new file mode 100644
index 0000000..638421c
--- /dev/null
+++ b/releasenotes/notes/remove-ModelsMigrationsSync-check_foreign_keys-467e0dbeb65a8c86.yaml
@@ -0,0 +1,12 @@
+---
+upgrade:
+ - |
+ The ``check_foreign_keys`` helper of the
+ ``oslo_db.sqlalchemy.test_migrations.ModelsMigrationsSync`` base test class
+ has been removed. This was deprecated in 1.4.1 as alembic now supports this
+ capability.
+ - The ``_walk_versions``, ``_migrate_down``, and ``_migrate_up`` methods of
+ the ``oslo_db.sqlalchemy.test_migrations.ModelsMigrationsSync`` base test
+ class have been removed. These were deprecated in 0.5.0 in favour of their
+ non-private equivalents, ``walk_versions``, ``migrate_down``, and
+ ``migrate_up`` respectively.