-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.21.1: test_color_count fails #2127
Comments
Remove unneeded patch for building against system libs. Disable test_color_count: pymupdf/PyMuPDF#2127 git-svn-id: file:///srv/repos/svn-community/svn@1359226 9fca08f4-af9d-4005-b8df-a31f2cc04f65
Remove unneeded patch for building against system libs. Disable test_color_count: pymupdf/PyMuPDF#2127 git-svn-id: file:///srv/repos/svn-community/svn@1359226 9fca08f4-af9d-4005-b8df-a31f2cc04f65
I just confirmed:
works for Windows and Linux Ubuntu for v1.21.1. |
Different releases of MuPDF behave slightly differently. And it is already known that some system MuPDF builds break So i don't think we can do anything about this issue. Perhaps if we knew exactly what version of mupdf is installed, and exactly how it was built, this might be useful information, but ultimately the solution here is to build PyMuPDF with the hard-coded default version of MuPDF with which it is tested, and which is used when building PyMuPDF sdist and wheels for release. |
Closing this as it's not something that we can fix in PyMuPDF. |
This still fails with 1.22.0 (both mupdf and pymupdf), which is what you are using in the bundled sources as well. So I believe this issue can not be dismissed like that. |
Was your system-wide mupdf built using its original Unfortunately the only way that we can reliably pass all tests at the moment is if PyMuPDF is using an MuPDF that has been built with its [This situation is not ideal. We are hoping to change PyMuPDF so it does not change MuPDF's at build time, but this causes some subtle changes in behaviour.] |
yep, I don't think that has been changed. Here is the PKGBUILD for it: https://github.com/archlinux/svntogit-community/blob/packages/mupdf/trunk/PKGBUILD
Ah, that would explain it I guess. |
Please provide all mandatory information!
Describe the bug (mandatory)
test_color_count
failsTo Reproduce (mandatory)
python-pymupdf-1.21.1-1-x86_64-build.log
python-pymupdf-1.21.1-1-x86_64-check.log
Expected behavior (optional)
All tests pass.
Screenshots (optional)
n/a
Your configuration (mandatory)
Additional context (optional)
n/a
The text was updated successfully, but these errors were encountered: