Update to Django 3.x
Categories
(Webtools Graveyard :: Pontoon, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: mathjazz, Assigned: mail)
References
Details
Attachments
(13 files)
|
44 bytes,
text/x-github-pull-request
|
Details | Review | |
|
44 bytes,
text/x-github-pull-request
|
Details | Review | |
|
44 bytes,
text/x-github-pull-request
|
Details | Review | |
|
44 bytes,
text/x-github-pull-request
|
Details | Review | |
|
44 bytes,
text/x-github-pull-request
|
Details | Review | |
|
44 bytes,
text/x-github-pull-request
|
Details | Review | |
|
44 bytes,
text/x-github-pull-request
|
Details | Review | |
|
44 bytes,
text/x-github-pull-request
|
Details | Review | |
|
44 bytes,
text/x-github-pull-request
|
Details | Review | |
|
44 bytes,
text/x-github-pull-request
|
Details | Review | |
|
44 bytes,
text/x-github-pull-request
|
Details | Review | |
|
44 bytes,
text/x-github-pull-request
|
Details | Review | |
|
44 bytes,
text/x-github-pull-request
|
Details | Review |
'nuff said.
| Reporter | ||
Updated•5 years ago
|
Comment 1•5 years ago
|
||
A few notes from https://www.djangoproject.com/download/#supported-versions.
2.2 is on LTS until April 2022, oth, 3.0 only gets us into April 2021, so a year less. The next LTS is 3.2, which releases April 2021.
If there are features in 3.0 for Pontoon, we should do this. Otherwise, this might have some time.
| Reporter | ||
Comment 2•5 years ago
|
||
We've decided not to upgrade to Django 3.0 at this stage, since there are no features in 3.0 we need in Pontoon at this stage.
| Assignee | ||
Comment 3•5 years ago
|
||
In the meantime, Django 3.1 was released: https://docs.djangoproject.com/en/3.1/releases/3.1/
It will be supported until December 2021: https://www.djangoproject.com/download/#supported-versions
I understand if this is not a priority for you, but I am interested in working on the upgrade (including the package upgrades needed for that). Would you accept pull requests related to this?
I think the code quality could benefit from the upgrade, e.g., the new enumeration types could vastly improve the readability and maintainability of the ActionLog class.
What do you think?
Comment 4•5 years ago
|
||
Hey,
:mathjazz is the maintainer of the project, but I was also working on the various "migration-like" tasks in the past and I have a few thoughts and notes (written as I would talk to my past self):
- analyze the release notes, start from looking at the backward incompabilities
- create a plan of the migration and split the changes into smaller pull requests. Mostly for the sake of reviewability and quality assurance and communication
- go through all of the depedencies, check their supported Django versions and update when needed
- don't mix up code refactorings with the things that are critical to the update Django
About enums: I also think they could potentially increase the maintaintability. We had discussion about them in the past but we decided to not use use them, because they required additional dependency back then. I think it's worth doing, in a separate bug though.
Comment 5•5 years ago
|
||
Comment 6•5 years ago
|
||
Comment 7•5 years ago
|
||
Comment 8•5 years ago
|
||
Comment 9•5 years ago
|
||
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
Comment 13•5 years ago
|
||
Comment 14•5 years ago
|
||
Comment 15•5 years ago
|
||
Comment 16•5 years ago
|
||
Comment 17•4 years ago
|
||
| Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Description
•