Add support for the free-threaded build
- Ngôn ngữ chính
- Python
- Star
- 211
- Fork
- 58
- Merge trung bình
- 1 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 6
Mô tả
blosc2 ships free-threaded wheels, but they re-enable the GIL on import:
```
goldbaum at Nathans-MBP in ~
○ python
Python 3.14.2 free-threading build (main, Dec 8 2025, 15:41:12) [Clang 17.0.0 (clang-1700.4.4.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
i>>> import blosc2
:491: RuntimeWarning: The global interpreter lock (GIL) has been enabled to load module 'blosc2.blosc2_ext', which has not declared that it can run safely without the GIL. To override this behavior and keep the GIL disabled (at your own risk), run with PYTHON_GIL=0 or -Xgil=0.
```
See https://py-free-threading.github.io for more information about the free-threaded build and how to support it.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện cảnh báo import với bản build free-threading của Python 3.14.2 và kiểm tra cách blosc2.blosc2_ext được build và nạp. Đọc hướng dẫn tại py-free-threading.github.io; công việc được xem là hoàn tất khi có thể import blosc2 mà không bật lại GIL trên một bản build free-threaded.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- backend
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100