Library recipes: a recipe for HDF5, so h5py can be built (design first)
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
- 15/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- build-system, release
Hướng nghiên cứu
Start with the README's "Library recipes" and "Adding a recipe" sections, then read the NEEDS mapping in scripts/library_recipes.py and osi_expression() in scripts/gap_wheels.py. This is a design-first issue: post the proposal (HDF5 version, licence, reproducible static build steps, zlib handling, HDF5_DIR wiring, size, security updates) and wait for a maintainer to agree before writing code. Done means an agreed design, or a closed issue with a reason; any later recipe needs tests in tests/test_gap_wheels.py.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
h5py has no wheel on PyPI for a new Python until its maintainers cut a release for it, and a source build needs the HDF5 C library and headers, which no minimal image has. The pipeline skips it: NEEDS in scripts/library_recipes.py lists "h5py": "HDF5", so the plan says "needs HDF5, and there is no library recipe for this target". h5py sits under a lot of scientific and machine-learning stacks, so on Python 3.15 it is one of the gaps people hit first.
HDF5 is a large C library with optional dependencies, and h5py's build is NumPy- and Cython-dependent. Please post a design in this issue before writing code. Read the README's "Library recipes" and "Adding a recipe" sections first.
What the design should settle
- Which HDF5. The version h5py's own wheels bundle for the h5py release being built (see h5py's CI configuration and link it), from the HDF Group's official release archive, with its sha256 compared against a second source.
- Licence. HDF5 is BSD-3-Clause-style (check the exact SPDX expression against the
COPYINGfile in the archive, and againstosi_expression()inscripts/gap_wheels.py). h5py is BSD-3-Clause. - Static, with fixed steps. A static, position-independent
libhdf5.a(andlibhdf5_hl.aif h5py needs it) from./configureor CMake with fixed argument lists: no shell, no-g, nothing reading the clock. HDF5 embeds build information (libhdf5.settings, a configure date, the host name, the user) into the library. Find each of those and say how the steps keep two builds byte-identical. This is the hard part. - Dependencies. zlib is on the manylinux policy list as a system library, so HDF5's deflate filter could link the system's. Decide: with zlib from the image (is the header there? is linking it acceptable under "nothing from the distro that isn't pinned"?), from a recipe of its own, or without compression filters. Without deflate most real
.h5files can't be read, so "without" probably means "don't do this". szip/libaec is optional; say that it's left out. - Showing it to h5py. h5py's build reads
HDF5_DIR(andHDF5_VERSION). Confirm for the current release. NumPy is a build dependency: is a NumPy wheel for the target available on PyPI, so the coordinator can lock it? On Python 3.15 that is the first thing to check, and if it isn't, this issue waits for NumPy. - The check.
h5py.version.hdf5_versionequals the pinned version, and a round trip: write a compressed dataset to a file in a temporary folder, read it back. - Size. How big is the wheel, against h5py's own (
MAX_WHEEL_BYTESis 500 MB, so there's room; say the number). - Security updates. HDF5 has had memory-safety CVEs in its file parsing. The same question as for any recipe: who notices a fixed release, and how fast is the wheel rebuilt or withdrawn.
First step after the design
- The recipe for
3.15 linux-x86_64, built twice in the pinned image with matching sha256s, and tests intests/test_gap_wheels.pycovering the new entry.
Done when:
- The design is posted here, and a maintainer has agreed to it or closed the issue with the reason.
- If it goes ahead: the recipe meets every point of "Adding a recipe", the README table has its row, and
uvx --python 3.14 [email protected]passes, offline.
- Ngôn ngữ chính
- Python
- Star
- 0
- Fork
- 1
- Merge trung bình
- 5 giờ 59 phút
- Pull request đã merge (30 ngày)
- 19
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 wheelgap/wheels
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của wheelgap/wheels
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
ActivityWatch/docs#223 ·
-
[Bug]: OpenCode v2 skips an assistant message that gains text after an earlier captureCó thể đã có người làm @jianyx1 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
volcengine/OpenViking#8354 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
comp/tools P2 tool/skills type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NousResearch/hermes-agent#159541 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
multilabel_margin_loss returns an unwritten scalar for an empty CPU batch with reduction='sum'Đang mởbot-triaged module: correctness (silent) module: cpu module: empty tensor module: loss triage review
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
Maintainer thường phản hồi trong vòng 1 ngày
-
request-theme
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
LizardByte/ThemerrDB#10167 · 1 bình luận ·