Skip to content

DeprecationWarnings with SQLAlchemy 1.4.0b1 #54

@sallner

Description

@sallner

In SQLAlchemy 1.4 a some new DeprecationWarnings were issued.

Most prominent, the old-style method signature of after_bulk_update and after_bulk_delete changed to a take a [update|delete]_context similar to after_flush https://github.com/zopefoundation/zope.sqlalchemy/blob/master/src/zope/sqlalchemy/datamanager.py#L280-L284

This style was introduced in version 0.9 and would also require to bump the minimal required version of SQLAlchemy to this version. https://docs.sqlalchemy.org/en/14/orm/events.html?highlight=after_bulk_update#sqlalchemy.orm.SessionEvents.after_bulk_delete

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions