dosubot[bot] commented on issue #35306: URL: https://github.com/apache/superset/issues/35306#issuecomment-3337630832
<!-- Greeting --> Hi @alanorth! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team. <!-- Answer --> You're right—Superset v5.0.0 strictly requires greenlet==3.1.1, but recent gevent releases (like 25.x) require greenlet>=3.2.2, which causes a dependency conflict. Superset does not directly depend on gevent, so its version isn't pinned, but installing the latest gevent will pull in an incompatible greenlet version and break Superset's requirements. This is enforced in Superset's requirements/base.txt, which lists greenlet==3.1.1 as a hard requirement [(source)](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/requirements/base.txt). To avoid this, use gevent==24.2.1, which is the last version compatible with greenlet<=3.1.1 [(gevent 24.2.1 setup.py)](https://github.com/gevent/gevent/blob/24.2.1/setup.py#L213C6-L213C23). You can install compatible versions with: ```bash pip install "gevent==24.2.1" "greenlet==3.1.1" ``` This will ensure both packages are compatible with Superset v5.0.0 and Python 3.10. There are currently no official docs or issues in the Superset repo that address this, so this manual pinning is necessary for now. <!-- 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/c96d8ef3-ae47-405b-864d-7f55519b631f?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/c96d8ef3-ae47-405b-864d-7f55519b631f?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/c96d8ef3-ae47-405b-864d-7f55519b631f?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/c96d8ef3-ae47-405b-864d-7f55519b631f?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/c96d8ef3-ae47-405b-864d-7f55519b631f?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/c96d8ef3-ae47-405b-864d-7f55519b631f?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/c96d8ef3-ae47-405b-864d-7f55519b631f?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/35306) -- 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]
