diff --git a/neutron_lib/db/api.py b/neutron_lib/db/api.py index c9d0157a2..8b46223fa 100644 --- a/neutron_lib/db/api.py +++ b/neutron_lib/db/api.py @@ -48,10 +48,7 @@ def _create_context_manager(): global _CTX_MANAGER if _CTX_MANAGER is None: _CTX_MANAGER = enginefacade.transaction_context() - # TODO(stephenfin): Drop "__autocommit=False" when oslo.db changes its - # default (https://review.opendev.org/c/openstack/oslo.db/+/804775) - _CTX_MANAGER.configure(sqlite_fk=True, flush_on_subtransaction=True, - __autocommit=False) + _CTX_MANAGER.configure(sqlite_fk=True, flush_on_subtransaction=True) return _CTX_MANAGER diff --git a/requirements.txt b/requirements.txt index bfe83f8d0..de70967df 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,7 +17,7 @@ os-ken >= 0.3.0 # Apache-2.0 oslo.concurrency>=3.26.0 # Apache-2.0 oslo.config>=8.0.0 # Apache-2.0 oslo.context>=2.22.0 # Apache-2.0 -oslo.db>=4.44.0 # Apache-2.0 +oslo.db>=12.1.0 # Apache-2.0 oslo.i18n>=3.20.0 # Apache-2.0 oslo.log>=4.3.0 # Apache-2.0 oslo.messaging>=14.2.0 # Apache-2.0