Python Install Manager installed runtimes appear in winget list and winget will attempt to manage them
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- python
- Área
- operating-systems, tooling
Línea de trabajo
Reproduce el problema con winget install 9NQ7512CXL7T, el lanzador py, winget list y winget upgrade --all. Traza cómo Python Install Manager registra los runtimes instalados automáticamente con winget y determina si deben ocultarse o notificarse como paquetes administrados; se considera terminado cuando winget ya no propone el instalador independiente ni sobrescribe el comando py.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 344
- Forks
- 74
- Merge medio
- 1 d 3 h
- PR fusionados (30 d)
- 7
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de python/pymanager
-
documentation
Dificultad 1/5 1-3 horas Aptitud para principiantes 75/100
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
Todos los issues de python/pymanager
Issues similares
-
Add: hunch Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
AbdelStark/awesome-typesafe#104 ·
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
DiamondLightSource/dodal#2211 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
openml/openml-python#1749 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
sipyourdrink-ltd/bernstein#6191 ·