Python build version on Windows is inaccurate #24611
Labels
~backend
Backend-related issue.
bug
Something isn't working as documented
#g-endpoint-ops
Endpoint ops product group
#g-software
Software product group
:release
Ready to write code. Scheduled in a release. See "Making changes" in handbook.
~released bug
This bug was found in a stable release.
Milestone
Fleet version:
rc-minior-fleet-v4.61.0
Web browser and operating system: Windows 11 23H2
💥 Actual behavior
The versioning information used for Windows Python applications is inaccurate.
🧑💻 Steps to reproduce
🕯️ More info (optional)
When checking three different installed versions of Python on Windows a
150
was appended to the build version. This is causing some false negatives to occur for the specific software. The software's display name does appear correctly.A picture of the behavior:
This issue was discovered when testing the fix for #24286
The incorrect/misleading version is provided by the python installer in the registry. A workaround could be to parse out the version number from the
name
, or to trim characters from the reported version.The text was updated successfully, but these errors were encountered: