Closed iamjazzar closed 3 years ago
Thanks @ahmedaljazzar, thanks for this PR! If you add some test coverage I'll be happy to get this merged.
@respondcreate Thanks for the reply. Tests have been pushed and passed locally.
New update with passing post_processor/post_processor_tests.py
. Checked on on my fork here
Coverage should work fine now. I updated the doc regarding using WebP images on early Django versions (<2.2). In these versions, if a user attempts to create an ImageField
instance without specifying the height and width of a given WebP image, they should expect to receive a RuntimeError
.
This is issue is under Django #29705 and solved in Django #10331
@respondcreate Any idea why tests are failing?
Hey @ahmedaljazzar !
Just checked the logs and re-ran, it appears it was an issue with Github Actions. ¯_(ツ)_/¯
When it comes to unsupported versions of Django, it is common practice for Django third-party libraries to only support the versions that Django is actually still porting bug and security fixes.
A GitHub issue could be opened for that matter in order to drop the unsupported versions. It would need to be another PR for updating CIs, setup.py
classifiers and aligning the supported Python versions to what the Django versions are supporting.
That's a great idea, @NyanKiyoshi ! Do you want to open an issue so we can discuss a plan of attack for dropping unsupported versions? My thinking up until now was just to support as many versions as I could without incurring too much of a headache, your suggestion gives a more solid framework for deciding which versions to support which I like a great deal more.
@respondcreate Just a reminder here.
Hey @ahmedaljazzar !
Just realized I forgot to actually do a PyPI release on this back in July when we were working on this. Apologies!! Just pushed the 2.2 release this morning. Again: I am so, so sorry for the delay and thanks again for all your hard work on this PR, I appreciate it!!
Adding support for WEBP resizing. This is an issue presented by some users and happened with me. Currently, trying to resize WEBP images results in some errors. This PR fixes them.
Fixes #151