Skip to content

Commit 8daed77

Browse files
author
Kartik Raj
authored
Remove python.condaPath from workspace scope (#17820)
1 parent ff6a026 commit 8daed77

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

news/2 Fixes/17819.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove `python.condaPath` from workspace scope.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@
576576
"python.condaPath": {
577577
"default": "",
578578
"description": "Path to the conda executable to use for activation (version 4.4+).",
579-
"scope": "resource",
579+
"scope": "machine",
580580
"type": "string"
581581
},
582582
"python.defaultInterpreterPath": {

src/test/common/terminals/environmentActivationProviders/terminalActivation.testvirtualenvs.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ suite('Activation of Environments in Terminal', () => {
112112
defaultShell.Linux,
113113
vscode.ConfigurationTarget.Global,
114114
);
115-
await pythonSettings.update('condaPath', undefined, vscode.ConfigurationTarget.Workspace);
115+
await pythonSettings.update('condaPath', undefined, vscode.ConfigurationTarget.Global);
116116
if (experiments.inExperimentSync(DeprecatePythonPath.experiment)) {
117117
await resetGlobalInterpreterPathSetting();
118118
} else {
@@ -204,7 +204,7 @@ suite('Activation of Environments in Terminal', () => {
204204
'Command Prompt',
205205
vscode.ConfigurationTarget.Global,
206206
);
207-
await pythonSettings.update('condaPath', envPaths.condaExecPath, vscode.ConfigurationTarget.Workspace);
207+
await pythonSettings.update('condaPath', envPaths.condaExecPath, vscode.ConfigurationTarget.Global);
208208
await testActivation(envPaths.condaPath);
209209
}).timeout(TEST_TIMEOUT * 2);
210210
});

0 commit comments

Comments
 (0)