[FEATURE] Publish free-threaded (no-GIL) CPython 3.14 wheels (cp314t)
Maintainer thường phản hồi trong vòng 1 ngày
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
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- python
- Lĩnh vực
- build-system, release
Hướng nghiên cứu
Bắt đầu với các workflow ENVS và wheels, sau đó kiểm tra các tiện ích mở rộng CFFI của NVX là _utf8validator và _xormasker về tính an toàn với free-threading và các khai báo mô-đun. Cập nhật các target trong release.yml và docs/releases.rst sau khi xác nhận rằng sys._is_gil_enabled() vẫn là False khi import. Được xem là hoàn tất khi các wheel cp314t được build và publish cho cả bốn nền tảng, với mức độ hỗ trợ được ghi lại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Follow-up to #1875 (Part 2). #1875 fixed the GIL cp314 wheel (the aarch64 slot was
accidentally shipping cp314t), added a reserved cpy314t env spec (cpython-3.14t), a
create-recipe PATH fix, and a build-time ABI guard (_check-venv-abi). This issue
tracks intentionally building and publishing free-threaded cp314t wheels as a
deliberate, supported variant.
Scope
Publish cp314-cp314t wheels alongside the GIL cp314 wheels on all platforms
(Linux x86_64 / aarch64 manylinux, macOS arm64, Windows amd64).
Prerequisite: free-threading safety (do NOT skip)
Building a cp314t wheel merely declares free-threading support; it does not make the
extension safe. Before publishing cp314t as supported:
- Assess the NVX CFFI extensions (
_utf8validator,_xormasker) for free-threading
(no-GIL) safety — shared/global state, any implicit GIL assumptions, re-entrancy. - Add the free-threaded module declaration so the interpreter does not silently re-enable
the GIL on import (CPython'sPy_mod_gil/ the CFFI equivalent). Confirm
sys._is_gil_enabled()staysFalseafterimport autobahn.nvx…. - Decide and document the support level (experimental vs supported).
Tasks
- Add
cpy314tto the build matrix (ENVS/ the wheels workflows). The_get-spec
mappingcpy314t -> cpython-3.14tis already in place from #1875, and_check-venv-abi
already validates the ABI (expects free-threaded for*tenvs). - Build
cp314ton all four platforms; publish alongsidecp314. - Add
cpy314t-<platform>-<arch>targets to thecheck-release-filesettargetsin
release.yml(the shared action supports the314ttoken via wamp-cicd #11). - Update
docs/releases.rstwheel matrix and note the free-threading support level.
Related
- #1875 (GIL fix + reserved
cpy314tspec +_check-venv-abiguard + PATH fix). - wamp-cicd #11 (exact ABI-tag matching, so
cp314andcp314tslots are distinct). - zlmdb # (the mirror for zlmdb; LMDB/CFFI free-threading assessment).
Note: This work was drafted with AI assistance (Claude Code). Initiated and reviewed by me.
Checklist
- I have searched existing issues to avoid duplicates
- I have described the problem clearly
- I have provided use cases
- I have considered alternatives
- I have assessed impact and breaking changes
- Ngôn ngữ chính
- Python
- Star
- 2.5k
- Fork
- 766
- Merge trung bình
- 4 giờ 24 phút
- Pull request đã merge (30 ngày)
- 20
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- 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 crossbario/autobahn-python
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
crossbario/autobahn-python#2042 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
CI-CD enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
crossbario/autobahn-python#1945 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug CI-CD
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
crossbario/autobahn-python#1932 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
CI-CD enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
crossbario/autobahn-python#1829 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
crossbario/autobahn-python#2033 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của crossbario/autobahn-python
Issue tương tự
-
area:docs documentation effort:M ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
mczielinski/ob-analytics#423 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
flaky: test_ci_eval_scope_exclude never-matches case spends its 1s budget on the rollout waitĐang mởneeds-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
gke-labs/kube-agents#4838 ·
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 83/100
danyuchn/asd-ste100-skill#60 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 64/100
Gathin23/cleanyourtv#3299 ·
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 76/100
autowarefoundation/autoware_carla_scenario#1485 ·
Maintainer thường phản hồi trong vòng 1 ngày