KnudH opened a new issue, #31803: URL: https://github.com/apache/superset/issues/31803
### Bug description 1. Follow Quickstart Guide 2. Add a "./docker/requirements-local.txt" with "starrocks" 3. Run non-dev or image (dev not tested) 4. Build works but if the containers start it fails with error ``` superset_init | Installing local overrides at /app/docker/requirements-local.txt superset_init | Resolved 16 packages in 308ms superset_init | Prepared 2 packages in 180ms superset_init | Uninstalled 2 packages in 38ms superset_init | Installed 2 packages in 22ms superset_init | - sqlalchemy==1.4.54 superset_init | + sqlalchemy==2.0.37 superset_init | - sqlalchemy-utils==0.38.3 superset_init | + sqlalchemy-utils==0.41.2 superset_init | Unknown Operation!!! superset_init | superset_init | ###################################################################### superset_init | superset_init | superset_init | Init Step 1/4 [Starting] -- Applying DB migrations superset_init | superset_init | superset_init | ###################################################################### superset_init | superset_init | Traceback (most recent call last): superset_init | File "/app/.venv/bin/superset", line 5, in <module> superset_init | from superset.cli.main import superset superset_init | File "/app/superset/__init__.py", line 20, in <module> superset_init | from superset.app import create_app # noqa: F401 superset_init | File "/app/superset/app.py", line 24, in <module> superset_init | from superset.initialization import SupersetAppInitializer superset_init | File "/app/superset/initialization/__init__.py", line 36, in <module> superset_init | from superset.extensions import ( superset_init | File "/app/superset/extensions/__init__.py", line 34, in <module> superset_init | from superset.security.manager import SupersetSecurityManager superset_init | File "/app/superset/security/__init__.py", line 17, in <module> superset_init | from superset.security.manager import SupersetSecurityManager # noqa: F401 superset_init | File "/app/superset/security/manager.py", line 51, in <module> superset_init | from sqlalchemy.orm import eagerload superset_init | ImportError: cannot import name 'eagerload' from 'sqlalchemy.orm' (/app/.venv/lib/python3.10/site-packages/sqlalchemy/orm/__init__.py) ``` I'm a beginner, so maybe its my fault. I tried other database-drivers which work. I think the problem is that superset needs sqlalchemy v1 while the Starrocks adapter needs sqlalchemy v2. Is there a way to have both versions at the same time? Thanks in advance! ### Screenshots/recordings _No response_ ### Superset version 4.1.1 ### Python version 3.10 ### Node version Not applicable ### Browser Not applicable ### Additional context _No response_ ### Checklist - [X] I have searched Superset docs and Slack and didn't find a solution to my problem. - [X] I have searched the GitHub issue tracker and didn't find a similar bug report. - [X] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org