caretdev / superset-iris

MIT License
1 stars 0 forks source link

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

Open bdeboe opened 5 months ago

bdeboe commented 5 months 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 5 months 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 5 months 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 4 months ago

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