uralbash / sqlalchemy_mptt

SQLAlchemy nested sets mixin (MPTT)
http://sqlalchemy-mptt.readthedocs.io
MIT License
196 stars 32 forks source link

Prepare support for SQLAlchemy 2.0 #81

Open philpep opened 1 year ago

philpep commented 1 year ago

Require SQLAlchemy>=1.4 and follow recommended migration path for future SQLAlchemy 2.0: https://docs.sqlalchemy.org/en/14/changelog/migration_20.html

Turn SQLALCHEMY_WARN_20=1 in tests and set PYTHONWARNINGS to always::DeprecationWarning so we get DeprecationWarning displayed during tests.

Fix some contruction which are no longer compatible with SQLAlchemy 2:

MeRuslan commented 1 year ago

hello, is this going anywhere?

corentinclichy commented 1 year ago

Do you know if you will be able to merged soon ?