modlinltd/django-advanced-filters

Reduce maintenance burden: drop support for old python & django

Closed this issue · 1 comments

Python 2.7 is famously not supported anymore since early 2020, and I see we're still supporting old, unsupported versions of Django. In order to reduce the maintenance burden, I suggest dropping the support for :

  • python 2.7
  • python 3.5 ? (EOLed in Sept. 2020)
  • Django up to 2.1 (EOLed in Dec. 2019)

Sources :

This would help keeping the code clean and reducing the version checks in the codebase. See #145 for an example.

I'd say at least dropping support for python 2.7 and django < 2 would help, but I'm not very familiar with the codebase.

Also, this wouldn't prevent people stuck with old versions of django to use an older version of the package. It should be documented though.

Please see PR #151.