From efcf6d252c111adc2f8369067fd3a4d675482eb2 Mon Sep 17 00:00:00 2001 From: "riseproject-dev[bot]" <330740410+riseproject-dev[bot]@users.noreply.github.com> Date: Thu, 22 Oct 2026 12:09:51 +0000 Subject: [PATCH 1/2] pymupdf: Add version 2.0 Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> --- docs/packages/pymupdf.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/packages/pymupdf.yaml b/docs/packages/pymupdf.yaml index dd4b1f64ef9..4802476b7c3 100644 --- a/docs/packages/pymupdf.yaml +++ b/docs/packages/pymupdf.yaml @@ -11,3 +11,4 @@ versions: - filename: pymupdf-1.28.2-cp314-cp314t-manylinux_2_39_riscv64.whl sha256: 61fd148275207197d27acb4b874baf20be02b915ecd882000249bc568a91809d requires-python: '>=3.10' +- version: '2.0' From bcb1134bfcc2526a0167bd6f5954802f369002da Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Fri, 23 Oct 2026 11:20:01 +0800 Subject: [PATCH 2/2] pymupdf: install only pillow/psutil wheels when testing The test requirements resolved pillow to a PyPI release newer than the wheels on pypi.riseproject.dev and tried to compile it from sdist, which fails for lack of the jpeg headers. --- .github/workflows/build-pymupdf.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-pymupdf.yml b/.github/workflows/build-pymupdf.yml index 1ee217657e6..87c7be5a197 100644 --- a/.github/workflows/build-pymupdf.yml +++ b/.github/workflows/build-pymupdf.yml @@ -92,6 +92,12 @@ jobs: XCFLAGS=-D__LITTLE_ENDIAN__ XCXXFLAGS=-D__LITTLE_ENDIAN__ PIP_EXTRA_INDEX_URL=https://pypi.riseproject.dev/simple/ + # Installing the test dependencies must not compile pillow/psutil: their newest + # PyPI releases have no riscv64 wheel, only our registry does, and only-binary + # keeps pip on those wheels (pillow's sdist fails without the jpeg headers). + CIBW_TEST_ENVIRONMENT: >- + PIP_EXTRA_INDEX_URL=https://pypi.riseproject.dev/simple/ + PIP_ONLY_BINARY=pillow,psutil # Upstream's test deps (scripts/gh_release.py:test_packages), minus the # linters - see the ignores below. CIBW_TEST_REQUIRES: pytest fontTools pymupdf-fonts pillow psutil