Cannot use sqlalchemy >= 1.4.0: set_models_as_attributes() troubles
|Reported by:||Charlotte Koch||Owned by:|
It seems to me that
set_models_as_attributes() refers to some sqlalchemy internals which simply don't exist anymore in sqlalchemy 1.4.0b1, causing my initial/fresh database migration to fail.
So, my new deployment of MediaGoblin explicitly pins sqlalchemy to a version that I know works for sure from a previous deployment (1.3.20) and just like that, the initial database migration works perfectly again.
For whatever it's worth, here's the patch I applied in my copy of MediaGoblin: https://github.com/dressupgeekout/mediagoblin-dressupgeekout/commit/b85894dddc2d304f1aff05afce99d5dfa44b1b09