-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Use conda run
in the debug adapter
#6010
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
conda run ...
to get environment variablesconda run ...
The issue comes from spike #5664 |
Prescribed solution
questions:
|
FYI, all other env types are fine because using the python executable directly is equivalent to activating first. Conda doesn't work like that and requires activation. Also, keep in mind that the key objective of this issue is to resolve the race condition in env activation when we launch the debugger. |
Partial PR #6959 |
With the new DA coming in as an experiment, do we need to consider adding support for conda run for the old debugger. I don't see much value in this.
Please see the PR mentioned earlier, changes to the factory class works would suffice (i.e. change one place, the factory class) |
For non-debugger cases, "conda run" makes failures consistent. For the debugger case (a race condition) we will resolve this using the new debug adapter. See #7001. |
Affected components:
Solved by updating command provider. |
conda run ...
conda run in the debug adapter
conda run in the debug adapter
conda run
in the debug adapter
conda run
in the debug adapterconda run
in the debug adapter
conda run
in the debug adapterconda run
in the debug adapter
As noted earlier, we are going to leave the old debug adapter alone. |
Suggestion from Conda team
The text was updated successfully, but these errors were encountered: