python / python/cpython

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

Aberta
#132,401 2 comentários 0 reações 1 responsável Ver no GitHub

@ned-deily já está trabalhando nisso.

Desde 12/4/2025.

OS-mac topic-installation type-feature
Linguagem predominante
Python
Estrelas
77.2k
Forks
35.9k
Métricas de merge de PRs
Métricas de PR pendentes

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

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.

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

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