Skip to content

New release necessary in order to upgrade to SqlAlchemy 2 #63

@duncancb

Description

@duncancb

Activating SqlAlchemy 2 warnings results in:

WARNING: RemovedIn20Warning: "UserSocialAuth" object is being merged into a Session along the backref cascade path for relationship "User.social_auth"; in SQLAlchemy 2.0, this reverse cascade will not take place.  Set cascade_backrefs to False in either the relationship() or backref() function for the 2.0 behavior; or to set globally for the whole Session, set the future=True flag (Background on this error at: https://sqlalche.me/e/14/s9r1) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) in site-packages/social_sqlalchemy/storage.py:58

It looks like this issue is listed as resolved in this changelog and awaiting release:
https://github.com/python-social-auth/social-storage-sqlalchemy/blob/master/CHANGELOG.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions