python / python/cpython

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

Đang mở
#132,401 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

@ned-deily đang làm issue này rồi.

Từ ngày 12/4/2025.

OS-mac topic-installation type-feature
Ngôn ngữ chính
Python
Star
77.2k
Fork
36k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.