SmileyChris / easy-thumbnails

Easy thumbnails for Django
http://easy-thumbnails.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
1.37k stars 312 forks source link

Fix Compatibility issue with Django 3.0 due to django.utils.six #527

Closed Mogost closed 4 years ago

Mogost commented 4 years ago

Fix #524

davmlaw commented 4 years ago

You forgot a few:

easy-thumbnails$ find . -name "*.py" | xargs grep django.utils.*six
./easy_thumbnails/alias.py:from django.utils import six
./easy_thumbnails/utils.py:from django.utils import six
./easy_thumbnails/options.py:from django.utils import six
./easy_thumbnails/templatetags/thumbnail.py:from django.utils import six
./easy_thumbnails/tests/test_files.py:from django.utils import six
./easy_thumbnails/tests/test_source_generators.py:from django.utils import six
./easy_thumbnails/processors.py:from django.utils import six
./easy_thumbnails/files.py:from django.utils import six
jrief commented 4 years ago

Please drop support for Python-2.7 and do not add an external dependency to six. Python-2 is dead and will not be supported anymore in 2020.