You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "dosubot[bot] (via GitHub)" <gi...@apache.org> on 2026/05/02 03:15:03 UTC
Re: [D] unable to setup using docker compose for 5.0.0 [superset]
GitHub user dosubot[bot] edited a comment on the discussion: unable to setup using docker compose for 5.0.0
<!-- Greeting -->
Hi @AFTABSHIAKH786! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team.
<!-- Answer -->
This appears to be a version mismatch issue. The `superset.sql.dialects.db2` module [was added after the 5.0.0 release](https://github.com/apache/superset/pull/36365), so it doesn't exist in version 5.0.0 at all.
The error suggests your Docker setup might be pulling inconsistent code - possibly mixing newer source files with the 5.0.0 release. A few things to try:
1. **Clean rebuild**: Remove all cached images and volumes, then rebuild:
```bash
docker compose down -v
docker system prune -a
docker compose up -d --build
```
2. **Check your branch/tag**: Make sure you're on the correct `5.0.0` tag and not on `master` or a newer branch that has the dialects module reference but missing files.
3. **Use a newer release**: If you're okay with a more recent version, consider using the latest release where the `sql.dialects` module is fully implemented.
Also note that [Superset 5.0.0 switched from `pip` to `uv` for package management](https://github.com/apache/superset/issues/32364), so if you have any custom packages to install, you'll need to use `/app/.venv/bin/uv pip install` instead of regular pip.
Could you confirm which branch/tag you cloned and whether you made any modifications to the repo?
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).*
---
Share context across your team and agents. Try [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-tagline&utm_term=apache%2Fsuperset).
[](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-feedback&utm_term=apache%2Fsuperset&message_id=51c16af4-5721-4182-a027-0df61303c33c) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-learn-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-add-team&utm_term=apache%2Fsuperset)
GitHub link: https://github.com/apache/superset/discussions/38439#discussioncomment-16006759
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org