Conversation
CFFI binding to libheif; none of libheif/libde265/libaom/x265 are packaged for riscv64 (Rocky 10 has neither in its base repos nor CRB), so the workflow builds all four from source exactly as upstream's own Dockerfile does, staging their licence texts alongside pyheif's own.
luhenry
added a commit
that referenced
this pull request
Sep 7, 2026
x265 3.6 (upstream's pin) hard-sets both policies to OLD; CMake 4 on the manylinux_2_39_riscv64 image errors outright regardless of CMAKE_POLICY_VERSION_MINIMUM, since it's an explicit cmake_policy() call rather than a bare cmake_minimum_required floor. 4.2 dropped both -- the same version pillow-heif's own riscv64 port already uses for this reason.
test_versions.py::test_pyheif_version reads pyheif/data/version.txt by a cwd-relative path instead of through the installed package; only tests/ was staged, so pytest ran from an empty dir missing that one file. The other 389 tests (real HEIC/HIF/AVIF decode against the installed wheel) already passed against the native build.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pyheif0.8.0CFFI binding to libheif for HEIF/HEIC image decoding. Upstream publishes no riscv64 wheel.
Mirrors the
libheif/all-pythons-repairedstages of upstream'sDockerfile.Differs from upstream
cmake_policy(...OLD)callsTesting
License: Wheel bundles x265 (GPL-2.0), libde265/libheif (LGPL-3.0), and libaom (BSD-2-Clause + patent grant) built from source; upstream ships no licence text for any of them, so the build adds it.
Built on cp312; 390 passed.