I can attempt to alter this, and add Django 4.0a1 to the tests, but I'm not clear on which versions of Django and python django-imagekit is aiming to support. The current imports have a clause to support Django < 1.5 and python 2: are they still required?
If so, I'm not 100% clear on how to handle the various possibilities here.
I don't know if there are other things that will break with 4.0, as this is as far as tests on my own code got.
[Edited a few times because of my confusion over what functions are named in which versions.]
At https://github.com/matthewwithanm/django-imagekit/blob/develop/imagekit/lib.py#L38-L52
force_text
andsmart_text
are imported fromdjango.utils.encoding
. However these are removed in Django 4.0, having been deprecated in Django 3.0 in favour offorce_str
andsmart_str
.I can attempt to alter this, and add Django 4.0a1 to the tests, but I'm not clear on which versions of Django and python django-imagekit is aiming to support. The current imports have a clause to support Django < 1.5 and python 2: are they still required?
If so, I'm not 100% clear on how to handle the various possibilities here.
I don't know if there are other things that will break with 4.0, as this is as far as tests on my own code got.
[Edited a few times because of my confusion over what functions are named in which versions.]