-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
GNIP 98 - Django upgrade to 4.2 LTS
Overview
As pointed out by the community, soon Django 3.2 will be deprecated in April 2024 in favor of 4.2
Proposed By
@mattiagiupponi
@cesar-benjamin
Assigned to Release
This proposal is for GeoNode 4.2/master.
State
- Under Discussion
- In Progress
- Completed
- Rejected
- Deferred
Motivation
Django 3.2 will be no longer supported.
Proposal
This upgrade can be quite challenging due to the different geonode dependencies as also mentioned in #11722.
Many geonode dependencies are not maintained and this is blocking the upgrade.
So far the libraries that are raising issues with django 4.2 (list in progress):
- dj-pagination
- dynamic-rest
- geonode-announcements
- geonode-django-activity-stream
- geonode-OAuth-toolkit
- geonode-user-messages
- pinax-ratings
For the above libraries, we should evaluate if:
- Fork the original repo and maintain it
- remove the functionality in geonode or find a library maintained that provides the same functionality
Other than the libraries, there are some fixes to be done:
- The {% ifequal %} and {% ifnotequal %} template tags are removed.
- django.conf.urls.url() is removed.
More info here https://docs.djangoproject.com/en/4.2/releases/4.0/#features-removed-in-4-0
Notes
An initial work has been done by @cesar-benjamin and is available here
Feedback
Update this section with relevant feedback, if any.
Voting
Project Steering Committee:
- Alessio Fabiani:
- Francesco Bartoli:
- Giovanni Allegri:
- Simone Dalmasso:
- Toni Schoenbuchner: ✓
- Florian Hoedt:
Links
Remove unused links below.