Skip to content

Conversation

@DonJayamanne
Copy link

@DonJayamanne DonJayamanne commented May 20, 2025

@DonJayamanne DonJayamanne added no-changelog No news entry required skip package*.json package.json and package-lock.json don't both need updating skip tests Updates to tests unnecessary skip-issue-check labels May 20, 2025
): Promise<
| {
environment: EnvironmentPath;
reason: 'globalUserSelected' | 'workspaceUserSelected' | 'defaultRecommended';
Copy link
Author

Choose a reason for hiding this comment

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

Providing the reasons why an environment is recommended.

let failed = false;
try {
await pythonPathUpdater.updatePythonPath(pythonPath);
if (trigger === 'ui') {
Copy link
Author

Choose a reason for hiding this comment

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

I believe this is the right spot for tracking what env is selected by the user.

for (const packageName of options.input.packageList) {
await installer.installModule(packageName, resourcePath, token, undefined, { installAsProcess: true });
}
trackEnvUsedByTool(resourcePath, environment);
Copy link
Author

Choose a reason for hiding this comment

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

Old code no longer required

@DonJayamanne DonJayamanne marked this pull request as ready for review May 20, 2025 00:38
@vs-code-engineering vs-code-engineering bot added this to the May 2025 milestone May 20, 2025
karthiknadig
karthiknadig previously approved these changes May 20, 2025
@DonJayamanne DonJayamanne merged commit d7a5ab7 into main May 20, 2025
85 checks passed
@DonJayamanne DonJayamanne deleted the don/delighted-gazelle branch May 20, 2025 01:10
anthonykim1 pushed a commit to anthonykim1/vscode-python that referenced this pull request Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog No news entry required skip package*.json package.json and package-lock.json don't both need updating skip tests Updates to tests unnecessary skip-issue-check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants