Update to Django4 #27

Closed
opened 2021-10-12 07:45:50 +02:00 by mpeltriaux · 3 comments
Owner

Status quo

We are running on Django 3.2.x, which is nice and all but considering Django 4.x being released in December 2021, we should analyze the changes and consider upgrading asap.

ToDo

  1. Read the release notes carefully: https://docs.djangoproject.com/en/dev/releases/4.0/
  2. Make sure backwards incompatibilities won't have any effect on our project, especially on third party packages in use.
  3. Be aware that Python >= 3.8 is needed for development as well as the production environment!
# Status quo We are running on Django 3.2.x, which is nice and all but considering Django 4.x being released in December 2021, we should analyze the changes and consider upgrading asap. # ToDo 1. Read the release notes carefully: https://docs.djangoproject.com/en/dev/releases/4.0/ 1. Make sure backwards incompatibilities won't have any effect on our project, especially on third party packages in use. 1. Be aware that Python >= 3.8 is needed for development as well as the production environment!
mpeltriaux added the
enhancement
question
labels 2021-10-12 07:45:50 +02:00
mpeltriaux self-assigned this 2021-10-12 07:45:50 +02:00
Author
Owner

Changes to GEOS and Python

There have been issues detected on newer Python versions (needed by Django 4.0) and e.g. the newer Django GEOS library.

E.g. geometries created from string data resulted not in MultiPolygons but in GeometryCollections, which are not supported by the database.

Switching to Django 4.0 must be tested absolutely thoroughly before being deployed on staging or even production!

# Changes to GEOS and Python There have been issues detected on newer Python versions (needed by Django 4.0) and e.g. the newer Django GEOS library. E.g. geometries created from string data resulted not in MultiPolygons but in GeometryCollections, which are not supported by the database. Switching to Django 4.0 must be tested absolutely thoroughly before being deployed on staging or even production!
Author
Owner

Further dependencies

  • django-simple-sso 1.2.0 depends on itsdangerous < 1.0.0 --> need to keep itsdangerous to an older version
# Further dependencies * `django-simple-sso` 1.2.0 depends on `itsdangerous` < 1.0.0 --> need to keep itsdangerous to an older version
mpeltriaux added reference django_4 2023-11-21 13:49:28 +01:00
Author
Owner

Merged in #363

# Merged in #363
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: IT-Naturschutz/konova#27
No description provided.