Request: experimental `--enable-relocatable` configure option on `main`
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- build-system
Hướng nghiên cứu
Start by reading the CPython configure documentation and the relocatable build work in the linked python/prebuilt-cpython project. The issue describes a broad, experimental effort but names no CPython files or tests to begin with. Done means Linux and macOS Python 3.16 builds made with --enable-relocatable pass the test suite after being moved.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
We'd like to add relocatable builds to CPython main as an experimental, off-by-default configure option, --enable-relocatable, and keep iterating on it in main during the 3.16 cycle. The plan is to finish the work and make the option supported before 3.16 feature freeze (May 2027).
After graduation it stays an optional configure flag, and the default build doesn't change.
Goal
A relocatable build is an install of CPython that keeps working after it's moved to another directory.
Currently, redistributors such as python-build-standalone and conda employ workarounds to achieve this goal by patching before and after the build.
The optional flag would enable publishing prebuilt relocatable binaries, as described in python/prebuilt-cpython.
Experimental status
- The option is off by default and labeled experimental in
./configure --help. It isn't mentioned in What's New until it graduates. - Some of the changes needed are guarded by the flag. Many are general fixes that apply to every build, and can land on their own merits.
- Failures in relocatable builds don't block alpha releases.
Success
We can publish prebuilt Python 3.16 binaries for Linux and macOS that are built with --enable-relocatable and pass the test suite after they've been moved to a new location.
If we drop it
Deleting the flag and the optional changes it guards should be straightforward.
filing per @warsaw's suggestion, on behalf of @brettcannon and myself
- Ngôn ngữ chính
- Makefile
- Star
- 182
- Fork
- 35
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của python/steering-council
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 24/100
python/steering-council#372 · 3 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
python/steering-council#370 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 25/100
python/steering-council#369 ·
-
PEP
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
python/steering-council#367 ·
-
PEP
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
python/steering-council#348 · 1 bình luận ·
Tất cả issue của python/steering-council
Issue tương tự
-
nextjs-tracking
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
cloudflare/vinext#4390 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Primary JSON and TTL release artefacts get wrong ontology IRI (ONTBASE instead of URIBASE)Có thể đã có người làm @matentzn đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100