From 88619e6129fd8c6668242f1acc1465ca175d2948 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 6 Dec 2018 14:49:27 -0500 Subject: [PATCH] Bumped mysqlclient requirement to >= 1.3.13. There are test failures with older versions. --- django/db/backends/mysql/base.py | 4 ++-- docs/ref/databases.txt | 2 +- docs/releases/2.2.txt | 3 +++ tests/requirements/mysql.txt | 3 +-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/django/db/backends/mysql/base.py b/django/db/backends/mysql/base.py index fcc6a91c47..2cd6248cdb 100644 --- a/django/db/backends/mysql/base.py +++ b/django/db/backends/mysql/base.py @@ -32,8 +32,8 @@ from .schema import DatabaseSchemaEditor # isort:skip from .validation import DatabaseValidation # isort:skip version = Database.version_info -if version < (1, 3, 7): - raise ImproperlyConfigured('mysqlclient 1.3.7 or newer is required; you have %s.' % Database.__version__) +if version < (1, 3, 13): + raise ImproperlyConfigured('mysqlclient 1.3.13 or newer is required; you have %s.' % Database.__version__) # MySQLdb returns TIME columns as timedelta -- they are more like timedelta in diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index 98f14629bb..2dd1c06687 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -335,7 +335,7 @@ Connector/Python includes `its own`_. mysqlclient ~~~~~~~~~~~ -Django requires `mysqlclient`_ 1.3.7 or later. +Django requires `mysqlclient`_ 1.3.13 or later. MySQL Connector/Python ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/docs/releases/2.2.txt b/docs/releases/2.2.txt index 7cabba3ad6..93a4a68994 100644 --- a/docs/releases/2.2.txt +++ b/docs/releases/2.2.txt @@ -424,6 +424,9 @@ Miscellaneous * Support for ``cx_Oracle`` < 6.0 is removed. +* The minimum supported version of ``mysqlclient`` is increased from 1.3.7 to + 1.3.13. + * In an attempt to provide more semantic query data, ``NullBooleanSelect`` now renders ``