python / python/cpython

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

Aperta
#132,401 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@ned-deily ci sta già lavorando.

Dal 12/4/2025.

OS-mac topic-installation type-feature
Lingua principale
Python
Stelle
77.2k
Fork
36k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.