Opened 13 hours ago

Last modified 12 hours ago

#36812 assigned Cleanup/optimization

Drop support for MariaDB 10.6-10.10.

Reported by: Jacob Walls Owned by: Jacob Walls
Component: Database layer (models, ORM) Version: dev
Severity: Normal Keywords: mariadb
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Jacob Walls)

The end of support for MariaDB 10.6 is 6 July 2026. Therefore, Django 6.1 (released in August 2026) may set MariaDB 10.11 as the minimum version that it supports (see SupportedDatabaseVersions).

Change History (2)

comment:1 by Jacob Walls, 12 hours ago

Description: modified (diff)
Summary: Drop support for MariaDB 10.6.Drop support for MariaDB 10.6-10.10.

comment:2 by Jacob Walls, 12 hours ago

The uuid datatype was introduced in 10.7. If we prioritize dropping this support (scheduled anyway) then we can avoid tinkering with the test altered in 0174a85770356fd12e4c8daa42a4f1c752ae00e6 that produces this failure:

django.db.utils.OperationalError: (1901, "Function or expression 'cast(`field` as char(32) charset utf8mb4)' cannot be used in the GENERATED ALWAYS AS clause of `field_copy`")

for this model:

class GeneratedModelFieldWithConverters(models.Model):
    field = models.UUIDField()
    field_copy = models.GeneratedField(
        expression=Cast("field", models.UUIDField()),
        output_field=models.UUIDField(),
        db_persist=True,
    )
Note: See TracTickets for help on using tickets.
Back to Top