Skip to content
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

Ensure IDs of Conda environments without python does not change after python is installed #20609

Merged
merged 7 commits into from Feb 1, 2023

Conversation

karrtikr
Copy link

@karrtikr karrtikr commented Jan 31, 2023

Fixes #20176

As we're changing IDs we've to ensure the same environment in cache with older ID is migrated to use the new one, this is already ensured here:

if (envs.some((env) => cachedEnv.id === env.id)) {

@karrtikr karrtikr changed the title Ensure IDs of Conda environments without python does not change when python is installed Ensure IDs of Conda environments without python does not change after python is installed Jan 31, 2023
@karrtikr karrtikr added the bug Issue identified by VS Code Team member as probable bug label Jan 31, 2023
@karrtikr karrtikr marked this pull request as ready for review February 1, 2023 13:45
@VSCodeTriageBot VSCodeTriageBot added this to the February 2023 milestone Feb 1, 2023
@karrtikr karrtikr merged commit 401418a into microsoft:main Feb 1, 2023
@karrtikr karrtikr deleted the withoutpython branch February 1, 2023 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Environment Id is not static (it changes) when installing Python into an empty Conda environment
3 participants