oslo.db/releasenotes/notes/remove-NotCommitting-utils-fed6df0e2f85edfa.yaml
Stephen Finucane 22c602f075 utils: Remove troublesome utility methods
These are not compatible with SQLAlchemy 2.0 due to their reliance on
nested transactions. We should deprecate them first but doing so would
push the boat out further wrt how long we have to wait before achieving
compatibility with this new version.

Change-Id: If3db4e8c1b681c0c62d3f04a57f92802639b3b9b
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2022-02-08 14:40:36 +00:00

16 lines
527 B
YAML

---
upgrade:
- |
The following helpers have been removed from the
``oslo_db.sqlalchemy.utils`` module:
- ``NonCommittingConnectable``
- ``NonCommittingEngine``
- ``NonCommittingConnection``
- ``NonCommittingTransaction``
These were unused outside of oslo.db and were not compatible with
SQLAlchemy 2.0. In addition, the ``RollsBackTransaction`` fixture has
been removed from ``oslo_db.sqlalchemy.test_fixtures``. This was
similarly unused and presented similar compatibility issues.