Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Python Install Manager installed runtimes appear in winget list and winget will attempt to manage them

Aberta
#287 1 comentário 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
45/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Pouca atividade
Stack de tecnologia
python

Direção de pesquisa

Reproduza o problema com winget install 9NQ7512CXL7T, o launcher py, winget list e winget upgrade --all. Rastreie como o Python Install Manager registra runtimes instalados automaticamente com o winget e determine se eles devem ser ocultados ou reportados como pacotes gerenciados; considera-se concluído quando o winget não propõe mais o instalador independente nem sobrescreve o comando py.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

wontfix

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:

  1. Open terminal.
  2. Install pymanager winget install 9NQ7512CXL7T
  3. run the launcher py and let it automatically install the latest version of Python (3.14.3 as of this writing)
  4. 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.

Linguagem predominante
Python
Estrelas
344
Forks
74
Merge médio
1d 3h
PRs com merge (30d)
7

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de python/pymanager

Todas as issues de python/pymanager

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.