caretdev / superset-iris

MIT License
1 stars 0 forks source link

ERROR: module 'sqlalchemy.sql.sqltypes' has no attribute 'Uuid' #1

Open bdeboe opened 3 weeks ago

bdeboe commented 3 weeks ago

based on this link, it appears this is because Superset these days requires SQLAlchemy 2.0, but the Dockerfile supposedly still uses an older version of apache-superset (2.1.0), which works with SQLAlchemy<2

bdeboe commented 3 weeks ago

I'm getting this when using the documented docker-compose up (in the superset_app container) as well as when just building the superset container using the Dockerfile and then opening the app and trying to provide an IRIS SQLAlchemy URL

daimor commented 3 weeks ago

Looks like the latest superset is still on <2 version https://github.com/apache/superset/blob/fc9bc175e6fcadadbc01f0af3ee54d0fb245bb5b/pyproject.toml#L89

I'll try to look into it

daimor commented 1 week ago

Updated SQLAlchemy-iris, so its backward compatible with older SQLAlchemy, and updated the version here, now it should work