Skip to content

Commit 84d2553

Browse files
authored
Relax version check to handle >2024 versions of python extension (#157)
1 parent 205adbd commit 84d2553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/extVersion.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export function ensureCorrectVersion() {
1212
const parts = version.split('.');
1313
const major = parseInt(parts[0]);
1414
const minor = parseInt(parts[1]);
15-
if (major >= 2024 && minor >= 23) {
15+
if (major >= 2025 || (major === 2024 && minor >= 23)) {
1616
return;
1717
}
1818
traceError('Incompatible Python extension. Please update `ms-python.python` to version 2024.23 or later.');

0 commit comments

Comments
 (0)