diff options
| author | Nick Pope <nick@nickpope.me.uk> | 2021-04-15 07:12:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-15 08:12:35 +0200 |
| commit | 78eaae9bf16f455c3a35234e0a04c08d5c82f808 (patch) | |
| tree | fbb2134ca6655fd08f7ad319ee09e8c6c8327fbc /docs | |
| parent | 4511d1459810037b91faa5b506e4f75c77aa72be (diff) | |
Removed obsolete version check in setup.py.
This was originally added to ensure that Django 2.0+ could not be
installed on Python 2.7 or earlier, in particular where the version of
pip or setuptools being used did not support the python_requires
argument.
Unfortunately, as REQUIRED_PYTHON has been bumped, this check no longer
satisfies its original purpose and could be misleading, e.g. if
REQUIRED_PYTHON is 3.8 and CURRENT_PYTHON is 3.7 it would request that
Django < 2 is installed, but there are later versions of Django that
support Python 3.7.
By the time Django 4 is released in December 2021, the python_requires
argument will have been supported for over five years, and Python 2 will
have been EOL for nearly two years, so we can remove this check.
See https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
