Closed pllim closed 2 years ago
I'm also ok with the PR as is if you think it is more clear.
@ejeschke , I would prefer to have it as-is to future-proof the code. When your PIL minversion is 9.1 or later, you can easily grep for PIL_LT_9_1
to get rid of unnecessary checks. Is that okay?
I'm ok with it, @pllim.
Can we merge then? 😸
FFTM
Thanks!
This pull request is to get rid of these warnings in CI that appeared with Pillow 9.1.0 release:
DeprecationWarning: XXX is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.XXX instead.
DeprecationWarning: XXX is deprecated and will be removed in Pillow 10 (2023-07-01). Use Intent.XXX instead.