python / python/cpython

Mac Installer - Option to not overwrite existing python3 links in /usr/local/bin

Abierto
#132,401 2 comentarios 0 reacciones 1 asignado Ver en GitHub

@ned-deily ya está trabajando en esto.

Desde el 12/4/2025.

OS-mac topic-installation type-feature
Lenguaje dominante
Python
Estrellas
77.2k
Forks
35.9k
Métricas de merge de PR
Métricas de PR pendientes

Descripción

Feature or enhancement

Proposal:

The current Mac installer has an option to disable all installation in /usr/local/bin

It would be wonderful if this were descoped into 2 options:
1- install the versioned links /usr/local/bin
2-install/overwrite the unversioned python3 links that point to the versioned links.

When Python3.13 is installed, for example, the symlink for /usr/local/bin/python3 is updated to point to the new Python3.13 install. This creates a headache for situations where the User's primary development environment is still Python3.12 and python3 (as well as associated binaries) should still point there -- but they are adding a newer (or older) Python to their system to debug something specific.

i.e. the ability to only install Python3.13 as python3.13, and not as the new python3 as well.

Related: #55173

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.