Glance compatibility with SQLAlchemy 2.x
Bug #1939716 reported by
Abhishek Kekane
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
New
|
High
|
Unassigned |
Bug Description
Oslo.db has started putting efforts to support SQLAlchemy 2.x [1]. Our oslo-tips job, 'glance-
[1] https:/
Changed in glance: | |
importance: | Undecided → High |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/c/openstack /glance/ +/804406 /opendev. org/openstack/ glance/ commit/ f374022359793db cd7346743e4345a b4ab9fcb79
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit f374022359793db cd7346743e4345a b4ab9fcb79
Author: Stephen Finucane <email address hidden>
Date: Thu Aug 12 15:59:32 2021 +0100
Resolve compatibility with oslo.db future
Change I468048c01455d9 dfe12004736c181 806dc218e37 in oslo.db means that utils.get_ table' is no longer bound to .execute' instead of 'Engine.execute' as the latter is
the table returned from 'oslo_db.
a 'Connection' or 'Engine'. Get out ahead of this breaking change by
creating out own 'Connection' as part of the test. Note that we use
'Connection
deprecated in SQLAlchemy 1.4 for removal in 2.0.
Related-Bug: #1939716
Change-Id: I957d2a9d7c8751 20bed0022ce1e95 3b2ec9f97cd
Signed-off-by: Stephen Finucane <email address hidden>