Python-Build: Report envvar assignments and build command invocations

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

Maintainer thường phản hồi trong vòng 1 ngày

@rohitmulani63-ops đang làm issue này rồi.

Từ ngày 18/11/2026.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
shell
Lĩnh vực
build-system

Hướng nghiên cứu

No files, tests, or entry points are named. Start by tracing Python-Build's build logic and its trace-mode output, then inspect how environment assignments and configure/make invocations are assembled. Done means the build log reports those assignments and commands in a copy-pastable form, or the chosen invocation design is documented and tested.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

type: enhancement

When diagnosing problems with CPython's build logic, there arises the need to apply patches to the codebase and run the same commands as the build would run from the build tree.

Currently, the only way to learn them is to run the build in trace mode.

A better way would be to report any envvar assignments and configure/make command invocations into the build log, akin to what Homebrew does.

An even better way may be to not even do any envvar assignments Python-Build-wise but put them directly into configure/make invocations. That way, the invocation can be copy-pasted and run alone rather than having to copy-paste and run all the variable assignments before it as well.

Ngôn ngữ chính
Shell
Star
45.2k
Fork
3.3k
Merge trung bình
2 ngày 3 phút
Pull request đã merge (30 ngày)
32

Chuẩn bị môi trường

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.

Issue khác của pyenv/pyenv

Tất cả issue của pyenv/pyenv

Issue tương tự

Thêm issue về Shell/Bash

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.