-
Notifications
You must be signed in to change notification settings - Fork 4
Update packages #8
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
base: master
Are you sure you want to change the base?
Update packages #8
Conversation
…n 3.5, bump version to 2.0.0. Update packages. Change line length from 79 to 120. Configure flake8 `exclude` option.
Also fix test |
@FPurchess @pyepye |
Hi @lorddaedra I'm not sure this is a good idea to merge? This will remove support for Python 3.5 but we are using any Python features which are 3.6+ only. While 3.5 is now end-of-life I don't think that means we have to stop supporting it for no reason. At some point we may want to use some Python 3.6+ features which is fine, but it's only at that point it's worth changing the minimum Python version we support. Also I would very much prefer not to increase the line length. I often use several windows side by side with a ~80 character width so longer line lengths can make reading code more of a pain. |
My primary goal - add support for Python 3.9. Other things are just nice-to-have additions. Now I see, code is compatible with Python 3.9. At least now. I see two points here in your comment: about Python 3.5 and about 79 line length. About line length. About Python versions
There are reasons not to support versions which are not supported by their maintainers. Sometimes developers use outdated packages because of this is a tech debt. In this case they may do not upgrade to new package versions or fork (or create Some other reasons exists too.
Based on data from table on this page https://www.djangoproject.com/download/ currently supported versions are: 2.2 LTS, 3.1, 3.2 LTS. Based on release notes: Django 2.2 supports Python 3.5, 3.6, 3.7, 3.8 (as of 2.2.8), and 3.9 (as of 2.2.17). Because of Python 3.5 is already unsupported and Django 2.1 is already unsupported too, we can just drop support for Python 3.5 and Django 2.1. Also we should drop support for combination Python 3.5 with Django 2.2 and support only combinations with supported components. It's easy rule really:
Existence of any unsupported component in the bundle affect your project security level. |
exclude
option.