You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Give the Windows python Tool a Family So an Off-Line Host Reads Correctly #1171
Family is what Resolve-ToolPackage uses to work out which package id an installed version actually belongs to, by matching that version against every id in the family read from a plain source search. node is the only tool that sets it today, because it ships under several ids.
Python ships under one id per minor line, so it has exactly the shape Family exists for, and a host that installed 3.12 or 3.14 by hand is currently misread rather than told that -Reinstall python is what moves it to the managed line. This host carries 3.12 and 3.13 side by side, which is the ordinary outcome of moving between lines since each id installs its own copy and uninstalling one does not touch another.
The fix, and the trap in it
Family = 'Python.Python.', with the trailing dot.
The dot is not cosmetic. Read-WingetSearchTable takes the family as a prefix, and a bare Python.Python also prefixes Python.PythonEmbeddablePackage.3.14 and Python.PythonInstallManager, both of which are in the catalog. Either would be matched into the family and could resolve as the installed id. The trailing dot excludes both.
It changes Get-ToolStatus output for hosts carrying a non-managed line, which is a reporting change independent of that change's subject. Worth its own diff and its own verification on a host with two lines installed.
Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.
Activity
ptr727 commentedon Oct 23, 2026
Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.