Skip to content

Commit

Permalink
fix telemetry versioning issue (#8041)
Browse files Browse the repository at this point in the history
  • Loading branch information
StellaHuang95 authored Oct 25, 2024
1 parent 970eec2 commit 5444aa7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion Build/debugpy-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.8.6
1.8.7
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,6 @@ InterpreterArchitecture assumedArch
return null; // Python 2.x is no longer supported.
}

if (sysVersion.ToLanguageVersion() == PythonLanguageVersion.None) {
sysVersion = new Version(0, 0);
}

if (!InterpreterArchitecture.TryParse(tagKey.GetValue("SysArchitecture", null) as string, out var arch)) {
arch = assumedArch;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,6 @@ private PythonInterpreterInformation CreateEnvironmentInfo(string interpreterPat
var arch = CPythonInterpreterFactoryProvider.ArchitectureFromExe(interpreterPath);
var version = CPythonInterpreterFactoryProvider.VersionFromSysVersionInfo(interpreterPath);

if (version.ToLanguageVersion() == PythonLanguageVersion.None) {
version = new Version(0, 0);
}

var name = Path.GetFileName(prefixPath);
var description = name;
Expand Down

0 comments on commit 5444aa7

Please sign in to comment.