microsoft / microsoft/winget-cli
Winget recognize the Legacy Python Manager as an outdated version of Python even though Python is up to date
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Relevant area(s)
WinGet CLI
Relevant command(s)
winget upgrade
Brief description of your issue
Apparently, there are issues with winget if Python was installed via the new Python Install Manager but you continue to use the legacy Python launcher due to known compatibility issues on Windows. In this case, the system does not correctly recognize that the Python version on the system is already up to date.
`PS C:\Windows\System32> python --version
Python 3.14.6
PS C:\Windows\System32> winget list --id Python.Python.3.14 --exact
No installed package matching the specified criteria was found.
PS C:\Windows\System32> where.exe python
C:\Users\Dominik\AppData\Local\Python\bin\python.exe
C:\Users\Dominik\AppData\Local\Microsoft\WindowsApps\python.exe
C:\msys64\mingw64\bin\python.exe
PS C:\Windows\System32> winget upgrade
Python 3.14.6 Python.Python.3.14 < 3.14.0 3.14.6 winget`
Steps to reproduce
- Install Python 3.14.6 using the Python Install Manager - https://www.python.org/downloads/
- Install the Legacy Python Launcher due to Windows compatibility issues (https://docs.python.org/3/using/windows.html => https://www.python.org/ftp/python/3.14.0/win32/launcher.msi)
- Check using
winget upgrade
Expected behavior
It should be correctly detected that the Python version is up to date.
Actual behavior
It is suggested that you need to update Python, but that doesn't work either.
PS C:\Windows\System32> winget list --id Python.Python.3.14 --exact
No installed package matching the specified criteria was found.
Environment
Windows-Paket-Manager v1.29.280
Windows: Windows.Desktop v10.0.26200.8875
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.29.280.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported Python Install Manager and Legacy Python Launcher setup, then reproduce the mismatch with winget list --id Python.Python.3.14 --exact and winget upgrade on the stated Windows Package Manager version. Trace how WinGet identifies the installed Python package and compare that result with python --version; done means an up-to-date Python installation is no longer offered as an upgrade.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100