Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/2 Fixes/17819.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove `python.condaPath` from workspace scope.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@
"python.condaPath": {
"default": "",
"description": "Path to the conda executable to use for activation (version 4.4+).",
"scope": "resource",
"scope": "machine",
"type": "string"
},
"python.defaultInterpreterPath": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ suite('Activation of Environments in Terminal', () => {
defaultShell.Linux,
vscode.ConfigurationTarget.Global,
);
await pythonSettings.update('condaPath', undefined, vscode.ConfigurationTarget.Workspace);
await pythonSettings.update('condaPath', undefined, vscode.ConfigurationTarget.Global);
if (experiments.inExperimentSync(DeprecatePythonPath.experiment)) {
await resetGlobalInterpreterPathSetting();
} else {
Expand Down Expand Up @@ -204,7 +204,7 @@ suite('Activation of Environments in Terminal', () => {
'Command Prompt',
vscode.ConfigurationTarget.Global,
);
await pythonSettings.update('condaPath', envPaths.condaExecPath, vscode.ConfigurationTarget.Workspace);
await pythonSettings.update('condaPath', envPaths.condaExecPath, vscode.ConfigurationTarget.Global);
await testActivation(envPaths.condaPath);
}).timeout(TEST_TIMEOUT * 2);
});