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

imageio test failure with Pillow >= 8.2 #5314

Closed
grlee77 opened this issue Apr 5, 2021 · 0 comments · Fixed by #5315
Closed

imageio test failure with Pillow >= 8.2 #5314

grlee77 opened this issue Apr 5, 2021 · 0 comments · Fixed by #5315
Labels
🔧 type: Maintenance Refactoring and maintenance of internals

Comments

@grlee77
Copy link
Contributor

grlee77 commented Apr 5, 2021

Description

Some of our CI runs fail with the recently released Pillow 8.2.0 (example: https://github.com/scikit-image/scikit-image/pull/5313/checks?check_run_id=2270643861#step:5:507).

This seems to be caused by the change of an error type from SyntaxError to OSError in the following upstream commit:
python-pillow/Pillow@22e9bee

We will need to account for this by modifying the following test that currently fails:

with testing.raises(SyntaxError):
imread(fetch('data/truncated.jpg'))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔧 type: Maintenance Refactoring and maintenance of internals
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant