Fixed #36105 -- Dropped support for MariaDB 10.5.

This commit is contained in:
Mariusz Felisiak 2025-02-09 12:57:40 +01:00 committed by GitHub
parent 0bac41fc7e
commit 17160819f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 18 additions and 49 deletions

View file

@ -106,8 +106,8 @@ class Tests(TestCase):
@mock.patch.object(connection, "get_database_version")
def test_check_database_version_supported(self, mocked_get_database_version):
if connection.mysql_is_mariadb:
mocked_get_database_version.return_value = (10, 4)
msg = "MariaDB 10.5 or later is required (found 10.4)."
mocked_get_database_version.return_value = (10, 5)
msg = "MariaDB 10.6 or later is required (found 10.5)."
else:
mocked_get_database_version.return_value = (8, 0, 4)
msg = "MySQL 8.0.11 or later is required (found 8.0.4)."