diff --git a/.github/workflows/build-pymupdf.yml b/.github/workflows/build-pymupdf.yml index 1ee217657e6d..87c7be5a1973 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 diff --git a/docs/packages/pymupdf.yaml b/docs/packages/pymupdf.yaml index dd4b1f64ef93..4802476b7c3c 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'