-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Some UI settings override config file settings #8782
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for following up on this, @astrojuanlu ! |
This is not intended. In fact, we have a paragraph saying exactly this in the "Advanced settings" (
This is a bug to me. |
I created a test case to demostrate what was reported in the issue. Summarizing, if the project uses a config file and does not define `python.system_packages` but has `Project.use_system_packages=True` the config option is `True` which is wrong. When a config file is used, settings at Project level should be ignored as this messages from "Advanced settings" states: > These settings can be configured using a configuration file. That's the recommended way to set up your project. Settings listed here are ignored when using a configuration file. Reference #8782
I opened #8783 to demonstrate this case with a test case and I think I found the issue after that. The config file code is not trivial to follow but I think the defaults we are passing are not correct because they are based on the |
See for instance:
Even though the config file does not define
python.system_packages
and therefore should use the default value ofFalse
, the virtual env was created with--system-site-packages
because the option was set in the UI.@readthedocs/backend is this intended? I'm wondering if it happens with other settings as well.
The text was updated successfully, but these errors were encountered: