Skip to content

Provide a quicker way to update conda env after python is installed in it #20765

@karrtikr

Description

@karrtikr

Once Jupyter installs ipykernel into the env, python is installed along with it. To update the env, right now running the refresh api and waiting for the env change event to get fired takes around 60s according to #20634 (comment). Potential solutions:

  • See if it's possible to use resolveEnvironment to quickly resolve the latest details for such envs. (either the same API or a new parameter on the same API)
  • Provide a private API to forcibly just refresh conda envs, so we need not do a full refresh.
  • Add a watcher for conda envs without python.
  • Investigate why the refresh for envs takes 60s and possibly prioritize refresh of conda envs over others.

Metadata

Metadata

Assignees

Labels

area-environmentsFeatures relating to handling interpreter environmentsfeature-requestRequest for new features or functionalityneeds spikeLabel for issues that need investigation before they can be worked on.partner askverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions