Move the model stack to Python 3.15 once h5py, numexpr and ndindex ship cp315 wheels
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 18/100
调研方向
This is a release-wait tracker, not a code change: the work only starts once h5py, numexpr and ndindex publish cp315 wheels, and the issue says it should not build them from source in CI. Read the pr.yaml test matrix and the requires-python and classifier entries in the core package metadata to see what the 3.15 change touches. Done means 3.15 is in the matrix and classifiers and the core test job passes on it.
由索引模型根据 Issue 内容生成。
描述
CPython 3.15 came out on 2026-10-09. Core tests 3.11 to 3.14, and policyengine-us and policyengine.py cap requires-python at <3.15. Three compiled dependencies still ship no wheel that installs on 3.15, so the model stack waits on them. We won't build them from source in CI to get there.
What blocks 3.15
| Package | Latest | Pulled in by | Upstream |
|---|---|---|---|
| h5py | 3.16.0, cp314 wheels only | core (h5py>=3,<4), policyengine.py |
h5py/h5py#2993 (open) |
| numexpr | 2.14.2, cp314 wheels only | core (numexpr<3), and tables |
pydata/numexpr#579 (open) |
| ndindex | 1.10.1, cp314 wheels only | tables via blosc2 | Quansight-Labs/ndindex#257 added 3.15 on 2026-11-09; no release yet |
PyTables itself isn't a blocker: tables 3.11.1 ships cp311-abi3 wheels, which install on 3.15. It waits only on numexpr and ndindex. PyYAML 6.0.3 has no cp315 wheel either (yaml/pyyaml#981), but it installs from its sdist as pure Python, so it doesn't block.
Checked on 2026-11-13 by resolving each repo's dependencies with uv pip compile --python-version 3.15 --python-platform x86_64-manylinux_2_28 and reading each pin's files on PyPI.
When the wheels ship
- Core: add
"3.15"to thepr.yamltest matrix and a 3.15 classifier. (push.yamlruns on 3.14 alone and can stay there.) - policyengine-us and policyengine.py: lift the
<3.15cap and add 3.15 to their matrices. - policyengine-uk: add 3.15 to its matrix. It has no cap today, so pip on 3.15 tries to build h5py from source rather than failing at resolution.
- Downstream: about 115 active PolicyEngine, Axiom and personal repos depend on this stack. Most test one version, so each needs only its own cap lifted, if it has one.
🤖 Generated with Claude Code
- 主要语言
- Python
- 星标
- 22
- 派生
- 31
- 平均合并
- 1 天 19 小时
- 30 天内合并 PR
- 14
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PolicyEngine/policyengine-core 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
PolicyEngine/policyengine-core#605 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
PolicyEngine/policyengine-core#549 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
PolicyEngine/policyengine-core#666 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 25/100
PolicyEngine/policyengine-core#665 · 1 条评论 ·
维护者通常 1 天内回复
-
Population.__call__ passes unweighted=True to calculate_add and calculate_divide, which reject it未关闭
难度 3/5 1-2 天 新手友好度 72/100
PolicyEngine/policyengine-core#659 ·
维护者通常 1 天内回复
查看 PolicyEngine/policyengine-core 的全部 Issue
相似的 Issue
-
claude-subscription-directsdk: tool calls with raw control characters in string values are dropped未关闭
难度 2/5 1-3 小时 新手友好度 72/100
NousResearch/hermes-official-plugins#538 ·
维护者通常 3 天内回复
-
bug(qdiffusion): EnergyModel.score_visible_logits computes biased visible/hidden on-ratios when solver returns variable solution counts per candidate可能已有人在做 @houzhongyu 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 83/100
qboson/kaiwu-pytorch-plugin#2133 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
needs-triage
难度 2/5 1-3 小时 新手友好度 78/100
MakazhanAlpamys/Soup#3415 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复