From 7ec224cadf8cc713b1faf7039275931f7444662e Mon Sep 17 00:00:00 2001 From: Eleanor Boyd <26030610+eleanorjboyd@users.noreply.github.com> Date: Fri, 10 Oct 2025 10:55:53 -0700 Subject: [PATCH 1/2] revert path quoting (#831) --- src/extension/common/python.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/extension/common/python.ts b/src/extension/common/python.ts index 18686d1f..68898bfd 100644 --- a/src/extension/common/python.ts +++ b/src/extension/common/python.ts @@ -115,13 +115,8 @@ export async function getActiveEnvironmentPath(resource?: Resource) { export async function getInterpreterDetails(resource?: Uri): Promise { const api = await getPythonExtensionEnviromentAPI(); const environment = await api.environments.resolveEnvironment(api.environments.getActiveEnvironmentPath(resource)); - const rawExecPath = environment?.executable.uri?.fsPath; - if (rawExecPath) { - let execPath = rawExecPath; - if (rawExecPath.includes(' ') && !(rawExecPath.startsWith('"') && rawExecPath.endsWith('"'))) { - execPath = `"${rawExecPath}"`; - } - return { path: [execPath], resource }; + if (environment?.executable.uri) { + return { path: [environment?.executable.uri.fsPath], resource }; } return { path: undefined, resource }; } From c54f158f0eb9885b8accaa4f24913412b14ffea0 Mon Sep 17 00:00:00 2001 From: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com> Date: Fri, 10 Oct 2025 13:41:22 -0700 Subject: [PATCH 2/2] bump version to 2025.14.1 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0db2665f..5c1a5598 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "debugpy", - "version": "2025.14.0", + "version": "2025.14.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "debugpy", - "version": "2025.14.0", + "version": "2025.14.1", "license": "MIT", "dependencies": { "@vscode/debugadapter": "^1.65.0", diff --git a/package.json b/package.json index 74d4705a..da6c0d52 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "debugpy", "displayName": "Python Debugger", "description": "Python Debugger extension using debugpy.", - "version": "2025.14.0", + "version": "2025.14.1", "publisher": "ms-python", "enabledApiProposals": [ "portsAttributes",