Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python build version on Windows is inaccurate #24611

Open
xpkoala opened this issue Dec 10, 2024 · 0 comments
Open

Python build version on Windows is inaccurate #24611

xpkoala opened this issue Dec 10, 2024 · 0 comments
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.

Comments

@xpkoala
Copy link
Contributor

xpkoala commented Dec 10, 2024

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

  1. Install python 3.9.1 on a Windows machine
  2. View the software in Fleet

🕯️ 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:
image

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.

@xpkoala xpkoala added bug Something isn't working as documented ~backend Backend-related issue. :release Ready to write code. Scheduled in a release. See "Making changes" in handbook. ~released bug This bug was found in a stable release. #g-endpoint-ops Endpoint ops product group :incoming New issue in triage process. labels Dec 10, 2024
@xpkoala xpkoala changed the title Python software identification on Windows is inaccurate Python build version on Windows is inaccurate Dec 10, 2024
@lukeheath lukeheath added this to the 4.62.0-tentative milestone Dec 11, 2024
@mostlikelee mostlikelee added #g-software Software product group and removed :incoming New issue in triage process. labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Development

No branches or pull requests

3 participants