SQLAlchemy "ConnectionEvents.before_execute" signature has changed in 1.4

Bug #1952409 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Rodolfo Alonso

Bug Description

``sqlalchemy.events.ConnectionEvents.before_execute`` method signature has changed in version 1.4. Warning message:

SADeprecationWarning: The argument signature for the "ConnectionEvents.before_execute" event listener has changed as o
f version 1.4, and conversion for the old argument signature will be removed in a future release. The new signature is "def before_execute(conn, clauseelement, multiparams, params, execution_options)"

Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
importance: Undecided → Low
Changed in neutron:
status: New → In Progress
Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit d3990468b9ffd2a5c780ed9801fe1f7428475990
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Fri Nov 26 10:25:58 2021 +0000

    Change signature of "sqlalchemy.events.ConnectionEvents.before_execute"

    New method signature is:
      def before_execute(conn, clauseelement, multiparams, params,
                         execution_options)

    Closes-Bug: #1952409
    Change-Id: I817c04ffe97ff03f60ff63d38471e48d7c63ceb7

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 20.0.0.0rc1

This issue was fixed in the openstack/neutron 20.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.