Skip to content

Return early in activate from env var collection #25286

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 14, 2025

Conversation

anthonykim1
Copy link

@anthonykim1 anthonykim1 commented Jul 14, 2025

Resolves: #25275 #25284
It seems like python env var experiment is interfering when env extension is being used.
We should not implicit activate with env var experiment if environment extension is installed and being used.

@anthonykim1 anthonykim1 added this to the July 2025 milestone Jul 14, 2025
@anthonykim1 anthonykim1 self-assigned this Jul 14, 2025
@anthonykim1 anthonykim1 added bug Issue identified by VS Code Team member as probable bug area-terminal labels Jul 14, 2025
@anthonykim1 anthonykim1 added the area-environments Features relating to handling interpreter environments label Jul 14, 2025
Copy link

⚠️ This PR originates from a fork. Due to security restrictions, pipelines from forks are no longer triggered automatically. Learn more.

If the changes appear safe, you can manually trigger the pipeline by commenting /AzurePipelines run.

@anthonykim1
Copy link
Author

anthonykim1 commented Jul 14, 2025

Env contribution now: Screenshot 2025-07-14 at 11 18 05 AM

We won't be contributing path and ps1 from Python extension when env extension is installed, hich seems like what has been causing the issue for all.

Image is pre-PR
Screenshot 2025-07-14 at 11 18 46 AM

Co-authored-by: Eleanor Boyd <26030610+eleanorjboyd@users.noreply.github.com>
@anthonykim1 anthonykim1 added the skip tests Updates to tests unnecessary label Jul 14, 2025
@anthonykim1 anthonykim1 enabled auto-merge (squash) July 14, 2025 18:41
@anthonykim1 anthonykim1 merged commit aff035a into microsoft:main Jul 14, 2025
47 of 48 checks passed
eleanorjboyd added a commit to eleanorjboyd/vscode-python that referenced this pull request Jul 21, 2025
Resolves: microsoft#25275
microsoft#25284
It seems like python env var experiment is interfering when env
extension is being used.
We should not implicit activate with env var experiment if environment
extension is installed and being used.

---------

Co-authored-by: Eleanor Boyd <26030610+eleanorjboyd@users.noreply.github.com>
eleanorjboyd added a commit to eleanorjboyd/vscode-python that referenced this pull request Jul 21, 2025
Resolves: microsoft#25275
microsoft#25284
It seems like python env var experiment is interfering when env
extension is being used.
We should not implicit activate with env var experiment if environment
extension is installed and being used.

---------

Co-authored-by: Eleanor Boyd <26030610+eleanorjboyd@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-environments Features relating to handling interpreter environments area-terminal bug Issue identified by VS Code Team member as probable bug skip tests Updates to tests unnecessary
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to activate conda python environment
2 participants