Use python from virtualenv's bin directory when executing commands #5107
We are executing python commands like
Sometimes it gives a non-deterministic behaviour.
Commands like sphinx-build and mkdocs have an
Now we are running the commands like
I notice this problem while implementing #5006.
When calling the
I'm not sure about conda, but I think we have a command that uses pip there. But first I'd like to have some opinions here. And maybe someone using rtd without docker can test this to make sure this doesn't break that workflow.
The text was updated successfully, but these errors were encountered:
We are executing python commands like `python /path/to/bin/command` Sometimes it gives a non-deterministic behaviour. Like using pip from the virtualenv in the first build and using pip from the global installation other times. Commands like sphinx-build and mkdocs have an `console_scripts` entry point and shouldn't be a problem.
Oh boy! This is crazy! Nice that you find this issue. It's a good one to be bitten off