Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Add support for the free-threaded build

已关闭
#555 1 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
python
领域
backend

调研方向

首先,使用 Python 3.14.2 的 free-threading 构建复现导入警告,并检查 blosc2.blosc2_ext 的构建和加载方式。阅读 py-free-threading.github.io 上的指南;在 free-threaded 构建中无需重新启用 GIL 即可导入 blosc2 时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

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
<frozen importlib._bootstrap>: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.

主要语言
Python
星标
211
派生
66
平均合并
2 天 1 小时
30 天内合并 PR
15

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Blosc/python-blosc2 的其他 Issue

查看 Blosc/python-blosc2 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。