Opened 3 years ago

Closed 3 years ago

#5624 closed defect (fixed)

Cannot use sqlalchemy >= 1.4.0: set_models_as_attributes() troubles

Reported by: Charlotte Koch Owned by:
Priority: major Milestone:
Component: programming Keywords:
Cc: Parent Tickets:


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:

Change History (1)

comment:1 by Ben Sturmfels, 3 years ago

Resolution: fixed
Status: newclosed

Hi Charlotte,

Thanks very much for hunting down this issue with sqlalchemy - that's very useful. I've merged this into master:


Note: See TracTickets for help on using tickets.