eralchemy icon indicating copy to clipboard operation
eralchemy copied to clipboard

Upgrading SQLAlchemy can break ERAlchemy

Open qb14cj opened this issue 2 years ago • 1 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.

qb14cj avatar Jun 15 '22 01:06 qb14cj

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

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

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

maurerle avatar Jun 29 '22 15:06 maurerle