Move the model stack to Python 3.15 once h5py, numexpr and ndindex ship cp315 wheels

Đang mở
#656 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
18/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, numpy, pandas, python, yaml
Lĩnh vực
ci-cd

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

  1. Core: add "3.15" to the pr.yaml test matrix and a 3.15 classifier. (push.yaml runs on 3.14 alone and can stay there.)
  2. policyengine-us and policyengine.py: lift the <3.15 cap and add 3.15 to their matrices.
  3. 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.
  4. 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

Ngôn ngữ chính
Python
Star
22
Fork
31
Merge trung bình
1 ngày 19 giờ
Pull request đã merge (30 ngày)
14

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PolicyEngine/policyengine-core

Tất cả issue của PolicyEngine/policyengine-core

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.