You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Luciana Abud (@luabud)Brett Cannon (@brettcannon)
I'd prefer to somehow implement this as an experiment.
I.e. roll this out slowly to users, rather than everyone in one go. This way we'll know whether it works or not. If it doesn't work or we have issues, then the number of users impacted is small.
Don Jayamanne (@DonJayamanne) how is this not going to be an improvement from what we are doing now? conda run is the official way to do this sort of thing now, so I'm not seeing where the worry is about it being "wrong".
Activity
luabud commentedon Sep 16, 2019
PythonExecutionFactoryandPythonExecutionServicefix the following (Update PythonExecutionService to support "conda run". #7696):exec()(Stop using "exec()" in the extension. #7697):spawn():[ ] old debug adapter (launch)PythonExecutionFactoryfor running python[ ] old debug adapter (multi-proc case) Useconda runin the debug adapter #6010[-]Use conda run for running tools[/-][+]Use `conda run` for running tools[/+]DonJayamanne commentedon Sep 17, 2019
Isn't this a duplicate of #6010?
luabud commentedon Sep 17, 2019
Don Jayamanne (@DonJayamanne) we separated the issues for running tools and for the debugger
DonJayamanne commentedon Sep 17, 2019
Added another item for running Jupyter (DataScience)
DonJayamanne commentedon Sep 17, 2019
Luciana Abud (@luabud) Brett Cannon (@brettcannon)
I'd prefer to somehow implement this as an experiment.
I.e. roll this out slowly to users, rather than everyone in one go. This way we'll know whether it works or not. If it doesn't work or we have issues, then the number of users impacted is small.
brettcannon commentedon Sep 18, 2019
Don Jayamanne (@DonJayamanne) how is this not going to be an improvement from what we are doing now?
conda runis the official way to do this sort of thing now, so I'm not seeing where the worry is about it being "wrong".DonJayamanne commentedon Sep 19, 2019
Just a fear of something going wrong. Nothing else. 😁
karrtikr commentedon Sep 25, 2019
Meta issue
Looks like formatting, linting, and testing are run from one place in the extension
https://github.com/Microsoft/vscode-python/blob/ecad0ce4df2b5a3da299c5f7775c8735305b846c/src/client/common/process/pythonExecutionFactory.ts
Code execution is run separately
Jupyter (Jupyter doesn't work with anaconda #5539)
discovery of interpreter environments? (see Unable to access Python 3 environments in /anaconda2 #7548)
[-]Use `conda run` for running tools[/-][+][meta] Use `conda run` for running tools[/+]ericsnowcurrently commentedon Sep 30, 2019
There is also a concern that "pythonPath" in debug config (see #7690) can conflict and cause a problem.
luabud commentedon Oct 9, 2019
Closing in favour of #5344.