-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Better error when using conda without an environment file #9008
Comments
This sounds like the right approach to me as well! 💯 |
The other way should also be considered probably: defining |
When working on this issue, we should also take a look at #10502 which is strongly related. |
Something similar happens when the Git submodule does not exist: https://github.com/readthedocs/readthedocs.org/pull/10594/files#r1282428289 -- The user gets a weird error. I noting this here so we don't forget to improve this error when working on this. |
This is another issue related to better error messaging on the config file #8595 |
* Config: better validation error for `conda.environment` Closes #9008 * Use `dedent` and `split`
In this build https://readthedocs.org/projects/test-builds/builds/16326429/ I'm using coda, but I didn't define the environment file in the config file, so it gave me a generic error
The error came from
readthedocs.org/readthedocs/doc_builder/python_environments.py
Lines 550 to 557 in 6752de1
We should probably require using conda.environment when using build.tools.python = conda
The text was updated successfully, but these errors were encountered: