LucasRakotomalala opened a new issue, #31497: URL: https://github.com/apache/superset/issues/31497
### Bug description I am using Superset through the Helmchart from this repository. When I mount something under `extraConfigMountPath` (with the default value `/app/pythonpath`), Python files cannot be used in `superset_config.py` since `/app` folder is missing from `PYTHONPATH`. I use it to provide Python files for SSO authentication, to avoid using `Flask-OIDC`. However, in Superset 4.0.2, `/app` folder was part of `PYTHONPATH`. ### Screenshots/recordings Here is the trace i got from Superset Init DB job: ```text ModuleNotFoundError: No module named `authentication` ``` ### 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: [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]
