← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2008226] [NEW] [sqlalchemy-20] Use the .begin() method of Engine

 

Public bug reported:

Testing patch: https://review.opendev.org/c/openstack/neutron/+/874778

Logs:
https://c06c4109be1832423601-1eb2471c773c922210e88856273ba212.ssl.cf5.rackcdn.com/874778/1/check/neutron-
functional-with-uwsgi/4c704c1/job-output.txt

Error:
2023-02-22 20:05:33.640982 | controller | /home/zuul/src/opendev.org/openstack/neutron/neutron/tests/functional/db/test_migrations.py:422: RemovedIn20Warning: The current statement is being autocommitted using implicit autocommit, which will be removed in SQLAlchemy 2.0. Use the .begin() method of Engine or Connection in order to use an explicit transaction for DML and DDL statements. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)

** Affects: neutron
     Importance: Undecided
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2008226

Title:
  [sqlalchemy-20] Use the .begin() method of Engine

Status in neutron:
  In Progress

Bug description:
  Testing patch: https://review.opendev.org/c/openstack/neutron/+/874778

  Logs:
  https://c06c4109be1832423601-1eb2471c773c922210e88856273ba212.ssl.cf5.rackcdn.com/874778/1/check/neutron-
  functional-with-uwsgi/4c704c1/job-output.txt

  Error:
  2023-02-22 20:05:33.640982 | controller | /home/zuul/src/opendev.org/openstack/neutron/neutron/tests/functional/db/test_migrations.py:422: RemovedIn20Warning: The current statement is being autocommitted using implicit autocommit, which will be removed in SQLAlchemy 2.0. Use the .begin() method of Engine or Connection in order to use an explicit transaction for DML and DDL statements. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2008226/+subscriptions



Follow ups