Skip to content

Switching interpreter to global in environment manager doesn't deactivate previously activated .venv #60

Open
@anthonykim1

Description

@anthonykim1

Testing microsoft/vscode-python#24503

Video example:

Screen.Recording.2024-12-03.at.12.50.40.PM.mov

Having .venv activated and then switching the environment in the environment manager to non-venv such as python3.13, does not seem to change the terminal state.

When I click the terminal icon next to my workspace name (after switching from venv to non-venv interpreter option), terminal is created with previously activated (now expected to be deactivated but wrongly persists as activated) venv.

In additional to deactivate&activate issues(such as #49) that I have previously created, perhaps shell environment API will also be a key in solving this.

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions