Skip to content

Expose API for when the list of interpreters have changed #16676

Description

Currently there's no way for Jupyter to know when user creates a new Python environment (conda, or the like).

Is it possible to get an event so we know that new interpreters have been created.

Note: Once thats done, how would we get these new interpreters. Not sure the GetInterrpeters is the best API for this, as that will return all interpreters all over again. Personally it would be nice to have something we can subscribe to, like an observable, this way we only get whats new).

Activity

  1. added
    bugIssue identified by VS Code Team member as probable bug
    triage-neededNeeds assignment to the proper sub-team
    and removed
    bugIssue identified by VS Code Team member as probable bug
    on Jul 13, 2021
  2. brettcannon commented on Jul 13, 2021

    @brettcannon
    Member

    There's no way for us to know when a conda environment is created outside of the local environment since there isn't a push notification from conda itself. Short of polling conda for that information I don't see how we can provide this without hacking around conda and we explicitly are trying not to do that anymore.

  3. DonJayamanne commented on Jul 13, 2021

    @DonJayamanne
    Author

    we explicitly are trying not to do that anymore

    Thanks

  4. locked and limited conversation to collaborators on Jul 14, 2021
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions