← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/874938
Committed: https://opendev.org/openstack/neutron/commit/d4a85833a70d1ffe06985988a87dd85d39c9d7a8
Submitter: "Zuul (22348)"
Branch:    master

commit d4a85833a70d1ffe06985988a87dd85d39c9d7a8
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Sat Feb 18 21:06:38 2023 +0100

    [sqlalchemy-20] The Session.begin.subtransactions flag is deprecated
    
    Closes-Bug: #2008276
    Change-Id: I5472db98c6ae24b8b1e6add2c0d73aeb1ed016ca


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
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:
  Fix Released

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



References