Here is a Travis job which starts to fail because of Pillow update: https://travis-ci.org/scrapy/scrapy/jobs/83354354. Sorry, I haven't checked what happens and why, so this bug report is very vague. Maybe someone with more detailed knowledge can spot an issue immediately. If not, I'll take a deeper look later.
This line fails: https://github.com/scrapy/scrapy/blob/fe15f93e533be36e81e0385691fe5571c88b0b31/tests/test_pipeline_images.py#L81. This is _create_image function: https://github.com/scrapy/scrapy/blob/fe15f93e533be36e81e0385691fe5571c88b0b31/tests/test_pipeline_images.py#L208.
There are also some errors printed to stdout in this job; they can be a different Pillow issue.
Here is a Travis job which starts to fail because of Pillow update: https://travis-ci.org/scrapy/scrapy/jobs/83354354. Sorry, I haven't checked what happens and why, so this bug report is very vague. Maybe someone with more detailed knowledge can spot an issue immediately. If not, I'll take a deeper look later.
This line fails: https://github.com/scrapy/scrapy/blob/fe15f93e533be36e81e0385691fe5571c88b0b31/tests/test_pipeline_images.py#L81. This is
_create_imagefunction: https://github.com/scrapy/scrapy/blob/fe15f93e533be36e81e0385691fe5571c88b0b31/tests/test_pipeline_images.py#L208.There are also some errors printed to stdout in this job; they can be a different Pillow issue.