Closed alfreedom closed 1 year ago
(rebase this against the latest master and it should fix the failing tests)
Hey, this looks good. Can you find which version of pillow these constants were moved, and add that as a minimum version for pillow in
setup.cfg
?
Sure, this deprecation was informed in the 9.1.0 release version so this may be the minimum required version.
Release of pillow 10.0.0 will be until 2023-07-01
Change constants usage to fix the deprecation warnings for PIL >= 10
This is a simple change to use the constants from the Enum defined in the
PIL.Image
module to remove the deprecation messages from pillow: