Fix pdf2any Docker workflow dependency resolution - #1
Merged
Conversation
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job pdf2any-docker
Fix pdf2any Docker workflow dependency resolution
Jul 2, 2026
ayang
approved these changes
Jul 2, 2026
ayang
approved these changes
Jul 2, 2026
There was a problem hiding this comment.
Pull request overview
This PR fixes CI failures in the pdf2any-docker GitHub Actions job by updating the OS package installed in the container and by declaring a missing runtime dependency needed for image processing paths in pdf2any.
Changes:
- Update CI system dependency installation to use
libgl1instead oflibgl1-mesa-glx(Docker + Ubuntu jobs). - Add
Pillowtorequirements.txtto satisfy the existingfrom PIL import Image as PILImageimport used by the image conversion code.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| requirements.txt | Declares Pillow as a runtime dependency to support existing PIL-based image handling. |
| .github/workflows/test.yml | Updates apt package installation to libgl1 so the Docker job can install OpenGL runtime deps successfully. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ayang
marked this pull request as ready for review
July 2, 2026 15:42
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.
The
pdf2any-dockerActions job was failing before test execution because the container install step still referencedlibgl1-mesa-glx, which is no longer available in the currentpython:3.10image. Once that was unblocked, the job also surfaced a missing declared dependency forPIL.CI package update
libgl1-mesa-glxwithlibgl1in the workflow system dependency install steps.Runtime dependency declaration
Pillowtorequirements.txtto match the existingfrom PIL import Image as PILImageimport path used by the package.Net effect