New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recommend django<4 on older versions of Python #14263
Conversation
I've asked @carltongibson this before - there were long discussions in #12013 - but perhaps it is time for considering it again: Can we drop this check now and assume that users have a new enough version of
|
@@ -28,7 +28,7 @@ | |||
version of Python. If you can't upgrade your pip (or Python), request | |||
an older version of Django: | |||
|
|||
$ python -m pip install "django<2" | |||
$ python -m pip install "django<4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1.11 was the last version compatible with Python 2 though no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but as REQUIRED_PYTHON
is 3.8, if CURRENT_PYTHON
were 3.7, this would trigger. You'd be told to install django<2
when higher versions are supported by Python 3.7.
See #14264. |
Ok, super. @jaap3 I'm going to close this in favour of the more ambitious approach. Thanks. |
No problem, happy to be the catalyst of more ambitious approaches ;-) |
It seems odd to recommend an unsupported version of Django on Python < 3.8