← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2008276] [NEW] [sqlalchemy-20] The Session.begin.subtransactions flag is deprecated

 

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:14:32.646654 | controller | /home/zuul/src/opendev.org/openstack/neutron/neutron/db/migration/alembic_migrations/versions/mitaka/contract/8a6d8bdae39_migrate_neutron_resources_table.py:72: RemovedIn20Warning: The Session.begin.subtransactions flag is deprecated and will be removed in SQLAlchemy version 2.0.  See the documentation at session_subtransactions for background on a compatible alternative pattern. (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/2008276

Title:
  [sqlalchemy-20] The Session.begin.subtransactions flag is deprecated

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:14:32.646654 | controller | /home/zuul/src/opendev.org/openstack/neutron/neutron/db/migration/alembic_migrations/versions/mitaka/contract/8a6d8bdae39_migrate_neutron_resources_table.py:72: RemovedIn20Warning: The Session.begin.subtransactions flag is deprecated and will be removed in SQLAlchemy version 2.0.  See the documentation at session_subtransactions for background on a compatible alternative pattern. (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/2008276/+subscriptions



Follow ups