-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priorityIssue identified as high-priorityinfo-neededIssue requires more information from posterIssue requires more information from posterunder-discussionIssue is under discussion for relevance, priority, approachIssue is under discussion for relevance, priority, approach
Milestone
Description
I think this should be avoided, as it is this is causing a few issues in Jupyter.
E.g. i can uninstall/install packages from Jupyter extension by running code like %pip install in a cell
This is valid jupyter code, and very commonly used practice.
However the Python env tools returns stale information, hence the Python tools used in Copilot return stale information.
Restarting Jupyter kernels. or restarting the chat doesn't fix the issue, I need to reload VS Code.
Not sure why we need the cache, but i think its fair to say that we've learnt that caching can cause a lot of issues.
async getPackages(environment: PythonEnvironment): Promise<Package[] | undefined> {
if (!this.packages.has(environment.envId.id)) {
await this.refresh(environment);
}
return this.packages.get(environment.envId.id);
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priorityIssue identified as high-priorityinfo-neededIssue requires more information from posterIssue requires more information from posterunder-discussionIssue is under discussion for relevance, priority, approachIssue is under discussion for relevance, priority, approach