Python Install Manager installed runtimes appear in winget list and winget will attempt to manage them
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 45/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 冷清
- 技術堆疊
- python
研究方向
使用 winget install 9NQ7512CXL7T、py 啟動器、winget list 和 winget upgrade --all 重現此問題。追蹤 Python Install Manager 如何將自動安裝的執行階段註冊到 winget,並判斷它們應該被隱藏,還是回報為受管理的套件;當 winget 不再提議安裝獨立安裝程式,也不再覆寫 py 命令時,即表示完成。
由索引模型根據 Issue 內容生成。
描述
Install source and version
- Installed from the Windows Store
- Installed with the MSIX from python.org
- Installed with the MSI from python.org
- Installed with
winget install 9NQ7512CXL7T
Version: 26.0.240.0
Describe the bug
when Python Install Manager installs a new runtime, that runtime is listed in the winget list command. This is new-ish, and it introduces a weird bug where winget upgrade --all will detect it as needing an upgrade, and install the "old" style python installer, which may clobber the py command with the old launcher.
To Reproduce
Steps to reproduce the behavior:
- Open terminal.
- Install pymanager
winget install 9NQ7512CXL7T - run the launcher
pyand let it automatically install the latest version of Python (3.14.3 as of this writing) - run
winget list
Expected behavior
Either the runtime doesn't exist at all in the list, being managed by Python Install Manager, OR the runtime exists with proper version listed and allows winget to upgrade the appropriate package rather than installing the standalone.
Observed behavior
The runtime appears as:
Python 3.14.3 Python.Python.3.14 < 3.14.0 3.14.3 winget
The < 3.14.0 is the real killer here, but I suspect even with the correctly reported version it would still clobber if the runtime version was bumped before the Python Install Manager got its chance to grab the new one.
- 主要語言
- Python
- 星號
- 344
- 分支
- 74
- 平均合併
- 1 天 3 小時
- 30 天內合併 PR
- 7
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
python/pymanager 的其他 Issue
-
documentation
難度 1/5 1-3 小時 新手友好度 75/100
-
enhancement
難度 4/5 3-5 天 新手友好度 55/100
-
難度 4/5 3-5 天 新手友好度 45/100
-
enhancement
難度 4/5 3-5 天 新手友好度 45/100
-
難度 3/5 1-2 天 新手友好度 48/100
相似的 Issue
-
bug confirmed issue
難度 2/5 1-3 小時 新手友好度 75/100
open-webui/open-webui#30750 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 75/100
-
enhancement
難度 2/5 1-3 小時 新手友好度 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 70/100
-
good first issue
難度 1/5 1 小時以內 新手友好度 90/100