raise limits to skip webp alpha tests for libwebp <= 0.2.1 #1098
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.
Dear Alex & friends,
in my public openSUSE python repo, I maintain a huge stack of python related packages.
One nice thing about build serrvice is the possibility to build the packages for various distributions.
For my own needs, I limit them to openSUSE releases of various ages (as distribution independant build specifications are a great PITA, even for rpm based systems).
The one, that failed consistently was 12.3:
[ 98s] FAIL: Can we write a RGBA mode file to webp without error.
[ 98s] ----------------------------------------------------------------------
[ 98s] Traceback (most recent call last):
[ 98s] File "/home/abuild/rpmbuild/BUILD/Pillow-2.7.0/Tests/test_file_webp_alpha.py", line 86, in test_write_rgba
[ 98s] self.assert_image_similar(image, pil_image, 1.0)
[ 98s] File "/home/abuild/rpmbuild/BUILD/Pillow-2.7.0/Tests/helper.py", line 105, in assert_image_similar
[ 98s] ave_diff, epsilon))
[ 98s]
Obviously, this is due to a failing libwebp version.
Since you already have a skip for version 0.1.3, question is, why not raise the limits for webp alpha tests. Side effect: the (rare) users of this lib are being warned that way, too, if they check WebPDecoderBuggyAlpha.