Skip to content

Use conda run in the debug adapter #6010

Closed

Description

Suggestion from Conda team

Activity

  1. ghost removed
    triage-neededNeeds assignment to the proper sub-team
    on Jun 13, 2019
  2. changed the title [-]Use `conda run ...` to get environment variables[/-] [+]Use `conda run ...`[/+] on Jun 14, 2019
  3. DonJayamanne commented on Aug 14, 2019

    @DonJayamanne
    Author

    conda run <env name> python <xyz.py>

    The issue comes from spike #5664

  4. karrtikr commented on Aug 28, 2019

    @karrtikr

    Prescribed solution

    questions:

  5. ericsnowcurrently commented on Aug 28, 2019

    @ericsnowcurrently

    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.

  6. DonJayamanne commented on Aug 29, 2019

    @DonJayamanne
    Author

    Partial PR #6959

  7. DonJayamanne commented on Aug 29, 2019

    @DonJayamanne
    Author

    communicate to the (old) debug adapter the path to conda
    use "conda run" in the (old) debug adapter

    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.
    Basically It's a lot of work, that'll be thrown away.

    use "conda run" elsewhere in the extension? (only needed in cases where

    Please see the PR mentioned earlier, changes to the factory class works would suffice (i.e. change one place, the factory class)

  8. 9 remaining items

  9. changed the title [-]Use `conda run in the debug adapter`[/-] [+]Use `conda run` in the debug adapter[/+] on Sep 25, 2019
  10. ghost added
    triage-neededNeeds assignment to the proper sub-team
    on Sep 25, 2019
  11. ghost removed
    triage-neededNeeds assignment to the proper sub-team
    on Sep 25, 2019
  12. changed the title [-]Use `conda run` in the debug adapter[/-] [+]Spike: Use `conda run` in the debug adapter[/+] on Sep 25, 2019
  13. changed the title [-]Spike: Use `conda run` in the debug adapter[/-] [+]Use `conda run` in the debug adapter[/+] on Sep 30, 2019
  14. ericsnowcurrently commented on Sep 30, 2019

    @ericsnowcurrently

    As noted earlier, we are going to leave the old debug adapter alone.

  15. locked as resolved and limited conversation to collaborators on Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions