Closed barsch closed 11 months ago
Hi @barsch were you able to find a way around this ?
For now , the following works Uninstall pillow 10.0.1 pip uninstall Pillow
Install Pillow 9.5.0 pip install Pillow==9.5.0
@ellmetha Could you please merge https://github.com/ellmetha/django-machina/pull/311 and create a new minor release of django-machina?
The new 1.3.1 minor release is available. Thanks for the PR @BoPeng!
Image.ANTIALIAS
has been removed in Pillow 10.0.0 and needs to replaced withImage.LANCZOS
orImage.Resampling.LANCZOS
see https://pillow.readthedocs.io/en/stable/releasenotes/10.0.0.html#constants
It is currently used here: https://github.com/ellmetha/django-machina/blob/6586d2608bbffc31911ea6f9a15c570580116238/machina/models/fields.py#L266