Comment 8 for bug 2019859

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/883288
Committed: https://opendev.org/openstack/neutron/commit/4372dd097a23ff7f042b3dfc3bf14880861b6a8f
Submitter: "Zuul (22348)"
Branch: stable/xena

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.

    [1]https://docs.sqlalchemy.org/en/20/core/selectable.html#sqlalchemy.sql.expression.select
    [2]https://github.com/openstack/requirements/blob/stable/xena/upper-constraints.txt#L157
    [3]https://review.opendev.org/c/openstack/neutron/+/877493

    Closes-Bug: #2019859
    Change-Id: I9e1e43975fb616b72f83489f34c573674a03a698