Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bdeboe opened this issue Jun 7, 2024 · 3 comments
Open

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

bdeboe opened this issue Jun 7, 2024 · 3 comments

Comments

@bdeboe
Copy link

bdeboe commented Jun 7, 2024

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
Copy link
Author

bdeboe commented Jun 7, 2024

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
Copy link
Member

daimor commented Jun 7, 2024

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
Copy link
Member

daimor commented Jun 22, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants