commit 4372dd097a23ff7f042b3dfc3bf14880861b6a8f
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue May 16 18:48:25 2023 +0200
[stable-only] Don't use "sqlalchemy.select" with SQLAlchemy<1.4
The "sqlalchemy.select" function accepts column arguments positionally
since 1.4.x [3]. However, the minimum version accepted in Xena branch
is 1.3.23 [2]. This patch uses the implementation merged in Wallaby
branch [3] for the method "get_duplicated_port_bindings", that is
compatible with SQLAlchemy 1.3 and 1.4.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/883288 /opendev. org/openstack/ neutron/ commit/ 4372dd097a23ff7 f042b3dfc3bf148 80861b6a8f
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/xena
commit 4372dd097a23ff7 f042b3dfc3bf148 80861b6a8f
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue May 16 18:48:25 2023 +0200
[stable-only] Don't use "sqlalchemy.select" with SQLAlchemy<1.4
The "sqlalchemy.select" function accepts column arguments positionally _port_bindings" , that is
since 1.4.x [3]. However, the minimum version accepted in Xena branch
is 1.3.23 [2]. This patch uses the implementation merged in Wallaby
branch [3] for the method "get_duplicated
compatible with SQLAlchemy 1.3 and 1.4.
[1]https:/ /docs.sqlalchem y.org/en/ 20/core/ selectable. html#sqlalchemy .sql.expression .select /github. com/openstack/ requirements/ blob/stable/ xena/upper- constraints. txt#L157 /review. opendev. org/c/openstack /neutron/ +/877493
[2]https:/
[3]https:/
Closes-Bug: #2019859 b72f83489f34c57 3674a03a698
Change-Id: I9e1e43975fb616