Skip to content
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

libwebp 1.2.2 fixed endian bugs #5984

Merged
merged 2 commits into from Mar 12, 2022
Merged

Conversation

radarhere
Copy link
Member

@radarhere radarhere commented Jan 23, 2022

Resolves #3927
Resolves #4213

While investigating TestFileWebpAnimation.test_write_animation_L and TestFileWebpAnimation.test_write_animation_RGB failures on big-endian, I came to the conclusion that it was not a problem in our code, but in libwebp itself. I reported this to them, it was accepted, and then fixed in libwebp 1.2.2.

This PR removes the xfails on those tests for big endian, runs the first half of them that passes before libwebp 1.2.2, and then skips the second half if libwebp 1.2.2 or greater is not available.

python-pillow/docker-images#128 and #5982 made libwebp 1.2.2 available to the CI job.

@radarhere radarhere added WebP Big-endian Big-endian processors labels Jan 23, 2022
@radarhere radarhere mentioned this pull request Jan 23, 2022
7 tasks
@hugovk hugovk merged commit 6faebd3 into python-pillow:main Mar 12, 2022
@radarhere radarhere deleted the libwebp branch March 12, 2022 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Big-endian Big-endian processors WebP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Big-endian test failures on IBM Z Test suite fails 16 tests on hppa
2 participants