mailcow-ldap-sync icon indicating copy to clipboard operation
mailcow-ldap-sync copied to clipboard

Warning: Deprecated API features detected! These feature(s) are not compatible with SQLAlchemy 2.0.

Open ne0YT opened this issue 11 months ago • 2 comments

/opt/mailcow-ldap-sync/mailcow_ldap_sync/./main.py:361: MovedIn20Warning: Deprecated API features detected! These feature(s) are not compatible with SQLAlchemy 2.0. To prevent incompatible upgrades prior to updating applications, ensure requirements files are pinned to "sqlalchemy<2.0". Set environment variable SQLALCHEMY_WARN_20=1 to show all deprecation warnings. Set environment variable SQLALCHEMY_SILENCE_UBER_WARNING=1 to silence this message. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) Base = declarative_base()

ne0YT avatar Jul 17 '23 15:07 ne0YT

the tool still works, but gives this error.

ne0YT avatar Jul 17 '23 15:07 ne0YT

Yeah, I have encountered this issue before when SQLAlchemy hasn't even released there 2.0 version.

I'll check if I want to upgrade to 2.0 or pin the version to <2.0

myOmikron avatar Jul 17 '23 15:07 myOmikron