Repository navigation
Dependencies: pin pymupdf 1.28.2 on Windows ARM64, the only release with a win_arm64 wheel - #16160
Merged
Merged
Conversation
…ith a win_arm64 wheel
Member
Author
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Oct 30, 2026
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
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.
Problem
The
windows-11-armleg fails to install the Studio backend requirements (seen on the staging run for #16145):On Windows ARM64 the requirements say
pymupdf>=1.28.2, added with #10282. When that landed, 1.28.2 was the newest release and it ships awin_arm64wheel. pymupdf 2.0 came out on 2026-10-19 with wheels for macOS arm64, manylinux x86_64 / aarch64 and win_amd64 only, so on Windows ARM64>=1.28.2now resolves to the 2.0 sdist and tries to build MuPDF from source. This is not only a CI problem: a Studio install or update on a Windows-on-ARM machine goes the same way. Every other platform is unaffected because it is pinned topymupdf==1.27.2.3.Fix
studio/backend/requirements/studio.txt,studio/backend/requirements/no-torch-runtime.txtand thestudioextra inpyproject.tomlpinpymupdf==1.28.2on Windows ARM64, the only pymupdf release with awin_arm64wheel. The comments now say why.tests/studio/install/test_pymupdf_platform_pins.py:==pin, and the three must agree.Verification
pip download "pymupdf==1.28.2" --platform win_arm64 --python-version 3.12 --only-binary=:all: --no-depsresolvespymupdf-1.28.2-cp310-abi3-win_arm64.whl.test_dependency_pass_skips.py, which needs the CI install layout), so this change adds no failures.