microsoft / microsoft/winget-cli
Upgrading Python changes it from system-wide installation to user one
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Brief description of your issue
Upgrading Python changes it from system-wide installation (in C:\Program Files) to user-specific installation (in C:\Users\User\AppData\Local\Programs\Python).
Steps to reproduce
- Install Python, selecting system-wide install (for all users) in installer
- Upgrade Python via winget
Expected behavior
Upgrading Python should retain its system-wide installation status,
Actual behavior
Python is now installed for current user only,
Environment
Windows Package Manager v1.1.13405
(с) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.
Windows: Windows.Desktop v10.0.19044.1466
Пакет: Microsoft.DesktopAppInstaller v1.16.13405.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 by reproducing the upgrade through winget on Windows using a system-wide Python installation, then trace the package upgrade path responsible for selecting the installation scope. Done means upgrading Python preserves the system-wide installation location and does not move it to the current user's directory.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100