Alexis-benoist / eralchemy

Entity Relation Diagrams generation tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrading SQLAlchemy can break ERAlchemy

qb14cj opened this issue · comments

As of this date, the latest release of SQLAlchemy is 1.4.37. This release of SQLAlchemy causes the render_er function to throw an exception. I'm guessing a number of releases earlier than this one will probably have the same effect. The latest release of SQLAlchemy that successfully creates the ER diagram that I have used is 1.3.24.

My recommendation: pip install SQLAlchemy==1.3.24 Either this or this library has to be updated which I may have to do anyway for the sake of our customized version of JupyterLab. Don't know yet if downgrading SQLAlchemy will cause a problem for another Python library, but I am sure my users will let me know soon enough.

Hi,
this has been discussed in #80 for a while.

I added a fork of eralchemy which contains fixes for the current SQLAlchemy version: #94
https://github.com/maurerle/eralchemy2

You can simply install it with pip install eralchemy2 and enjoy the new version