Opened 3 weeks ago

Last modified 4 days ago

#36812 assigned Cleanup/optimization

Drop support for MariaDB 10.6-10.10.

Reported by: Jacob Walls Owned by: Sachi Jain
Component: Database layer (models, ORM) Version: dev
Severity: Normal Keywords: mariadb
Cc: Triage Stage: Accepted
Has patch: yes 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 (4)

comment:1 by Jacob Walls, 3 weeks ago

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

comment:2 by Jacob Walls, 3 weeks 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,
    )

comment:3 by Natalia Bidart, 3 weeks ago

Triage Stage: UnreviewedAccepted

It took me a moment to understand why dropping from 10.6 up to 10.11 but it seems that's the cadence published by MariaDB.

comment:4 by Sachi Jain, 4 days ago

Has patch: set
Owner: changed from Jacob Walls to Sachi Jain
Note: See TracTickets for help on using tickets.
Back to Top