Skip to content

bug: update quickCreateVenv to avoid name collisions for virtual environments - #531

Merged
Eleanor Boyd (eleanorjboyd) merged 1 commit into
microsoft:mainfrom
eleanorjboyd:increment-quick-create
Jun 12, 2025
Merged

Eleanor Boyd (eleanorjboyd) merged 1 commit into
microsoft:mainfrom
eleanorjboyd:increment-quick-create

Conversation

@eleanorjboyd

@eleanorjboyd Eleanor Boyd (eleanorjboyd) commented Jun 11, 2025 •

Copy link
Copy Markdown
Contributor

fixes #477

@vs-code-engineering

Copy link
Copy Markdown

⚠️ 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.

path.join(venvRoot.fsPath, '.venv'),
{ install: allPackages, uninstall: [] },
);
return quickCreateVenv(nativeFinder, api, log, manager, sortedEnvs[0], venvRoot, options.additionalPackages);

@eleanorjboyd Eleanor Boyd (eleanorjboyd) Jun 11, 2025 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Karthik Nadig (@karthiknadig) just want to confirm this is good here to call the other command- seems intuitive to me but wasn't sure if there was a reason these were left separate

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As long as it is able to get the packages that it needs to install correctly.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep confirmed that works

@eleanorjboyd
Eleanor Boyd (eleanorjboyd) merged commit f622704 into microsoft:main Jun 12, 2025
NgCuong (NguyenCuong1989) referenced this pull request in NguyenCuong1989/vscode-python-environments Oct 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Environment manager should suggest unique folder names

3 participants