Repository navigation
Fix SeekableFileObject does not have readline when loading HTTP file - #1084
FirefoxMetzger merged 4 commits into
Conversation
FirefoxMetzger
left a comment
There was a problem hiding this comment.
The change looks good ... just the test image is unlicensed, so we will have to find an alternative (again ._.).
@Pandede do you know what causes Pillow to use readline vs read? If so, we can probably generate an artificial test image and use it for the test here.
There also is an issue with CI right now. Github has switched Mac runners to M1 and some of our old plugins don't support that. I'm looking currently looking into a fix and will let you know once it's in master so we can run the test suite again.
|
I may reproduce the bug with this test image of |
FirefoxMetzger
left a comment
There was a problem hiding this comment.
Pillow's test images work perfect for us :) LGTM
|
It seems like |
|
Took a while to find the time to fix CI, but we eventually got there :) Thanks for the PR and thanks for being patient 🚀 |
Fixes #1065.
The reason of this issue is
Pillowsometimes read the image with.readlinebut not only.read.Update:
It happens seldomly when loading a WebP image.