Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable sqlalchemy warnings and update mbdata
With SQLAlchemy warnings enabled, SQLAlchemy 1.4 gives the following warning. MovedIn20Warning: The declarative_base() function is now available as sqlalchemy.orm.declarative_base(). (deprecated since: 1.4) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) Base = declarative_base() The rationale of the move is explained here: https://docs.sqlalchemy.org/en/14/changelog/migration_20.html#declarative-becomes-a-first-class-api This is fixed in mbdata in acoustid/mbdata#52, meanwhile BU is using our fork anyway so we can update. There are some other warnings in BU code that result in SQLAlchemy warnings but not fixing those for now as those are only relevant to CB, will fix those separately.
- Loading branch information