dosubot[bot] commented on issue #36549:
URL: https://github.com/apache/superset/issues/36549#issuecomment-3644753098

   <!-- Answer -->
   Yes, the issues described should affect deployments using the official 
apache/superset:6.0.0rc4 Docker image, because the image is built directly from 
the same source and dependency pins as the release—specifically, it includes 
Flask-AppBuilder 4.7.0 and Flask-SQLAlchemy 2.5.1, not the newer versions 
required for full FAB 5.0.0 compatibility. There are no post-release patches or 
dependency overrides in the Docker build process that would fix these 
incompatibilities; the image simply installs what's in requirements/base.txt at 
build time 
[(Dockerfile)](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/Dockerfile#L218-L229),
 
[(requirements/base.txt)](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/requirements/base.txt#L114-L137).
   
   If the Docker image "works" out of the box, it's likely because: (a) you're 
using it as-is, without installing extras or overriding dependencies, and (b) 
you haven't triggered the specific code paths (like `superset init` or certain 
DB operations) that hit the incompatibilities. Manual installs or Docker images 
modified with additional packages or extras can easily surface these issues, as 
seen in other threads where users hit version conflicts or runtime errors after 
changing dependencies.
   
   To check which versions are installed in your running container, you can 
exec into it and run `pip freeze | grep -E 
'flask-appbuilder|flask-sqlalchemy|sqlalchemy'`. If you see Flask-SQLAlchemy 
2.5.1 and Flask-AppBuilder 4.7.0, you're running the versions known to be 
incompatible with FAB 5.0.0 and SQLAlchemy 1.4+.
   
   If you need to patch or override dependencies, you'll have to rebuild the 
image with updated requirements, or manually upgrade the relevant packages 
inside the container. But as shipped, the official image is subject to the same 
compatibility issues as a manual install with the same requirements.
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/3143d5cd-7fe1-42e8-b86e-78b702ae30bf?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/3143d5cd-7fe1-42e8-b86e-78b702ae30bf?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/3143d5cd-7fe1-42e8-b86e-78b702ae30bf?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/3143d5cd-7fe1-42e8-b86e-78b702ae30bf?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/3143d5cd-7fe1-42e8-b86e-78b702ae30bf?feedback_type=hallucination)
 | [Report 
šŸ›](https://app.dosu.dev/response-feedback/3143d5cd-7fe1-42e8-b86e-78b702ae30bf?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/3143d5cd-7fe1-42e8-b86e-78b702ae30bf?feedback_type=other)</sup>
   
   [![Chat with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&nbsp;[![Open
 in 
Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=Yes%2C%20the%20issues%20described%20should%20affect%20deployments%20using%20the%20official%20apache/superset%3A6.0.0rc4%20Docker%20image%2C%20because%20the%20image%20is%20built%20directly%20from%20the%20same%20source%20and%20dependency%20pins%20as%20the%20release%E2%80%94specifically%2C%20it%20includes%20Flask-AppBuilder%204.7.0%20and%20Flask-SQLAlchemy%202.5.1%2C%20not%20the%20newer%20versions%20required%20for%20full%20FAB%205.0.0%20compatibility.%20There%20are%20no%20post-release%20patches%20or%20dependency%20overrides%20in%20the%20Docker%20build%20process%20that%20would%20fix%20these%20incompatibilities%3B%20the%20image%20simply%20installs%20what%27s%20in%20requirements/base.txt%20at%20build%20time%20%5B%28Dockerfile%29%5D%28https%3A//github.com
 
/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/Dockerfile%23L218-L229%29%2C%20%5B%28requirements/base.txt%29%5D%28https%3A//github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/requirements/base.txt%23L114-L137%29.%0A%0AIf%20the%20Docker%20image%20%22works%22%20out%20of%20the%20box%2C%20it%27s%20likely%20because%3A%20%28a%29%20you%27re%20using%20it%20as-is%2C%20without%20installing%20extras%20or%20overriding%20dependencies%2C%20and%20%28b%29%20you%20haven%27t%20triggered%20the%20specific%20code%20paths%20%28like%20%60superset%20init%60%20or%20certain%20DB%20operations%29%20that%20hit%20the%20incompatibilities.%20Manual%20installs%20or%20Docker%20images%20modified%20with%20additional%20packages%20or%20extras%20can%20easily%20surface%20these%20issues%2C%20as%20seen%20in%20other%20threads%20where%20users%20hit%20version%20conflicts%20or%20runtime%20errors%20after%20changing%20dependencies.%0A%0ATo%20check%20which%20versions%20are%20installed%20in%20y
 
our%20running%20container%2C%20you%20can%20exec%20into%20it%20and%20run%20%60pip%20freeze%20%7C%20grep%20-E%20%27flask-appbuilder%7Cflask-sqlalchemy%7Csqlalchemy%27%60.%20If%20you%20see%20Flask-SQLAlchemy%202.5.1%20and%20Flask-AppBuilder%204.7.0%2C%20you%27re%20running%20the%20versions%20known%20to%20be%20incompatible%20with%20FAB%205.0.0%20and%20SQLAlchemy%201.4%2B.%0A%0AIf%20you%20need%20to%20patch%20or%20override%20dependencies%2C%20you%27ll%20have%20to%20rebuild%20the%20image%20with%20updated%20requirements%2C%20or%20manually%20upgrade%20the%20relevant%20packages%20inside%20the%20container.%20But%20as%20shipped%2C%20the%20official%20image%20is%20subject%20to%20the%20same%20compatibility%20issues%20as%20a%20manual%20install%20with%20the%20same%20requirements.)&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/inte
 
nt/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/36549)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to