Bumped mysqlclient requirement to >= 1.3.13.

There are test failures with older versions.
This commit is contained in:
Tim Graham 2018-12-06 14:49:27 -05:00 committed by GitHub
parent 9453bc77f4
commit 88619e6129
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 5 deletions

View File

@ -32,8 +32,8 @@ from .schema import DatabaseSchemaEditor # isort:skip
from .validation import DatabaseValidation # isort:skip from .validation import DatabaseValidation # isort:skip
version = Database.version_info version = Database.version_info
if version < (1, 3, 7): if version < (1, 3, 13):
raise ImproperlyConfigured('mysqlclient 1.3.7 or newer is required; you have %s.' % Database.__version__) 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 # MySQLdb returns TIME columns as timedelta -- they are more like timedelta in

View File

@ -335,7 +335,7 @@ Connector/Python includes `its own`_.
mysqlclient mysqlclient
~~~~~~~~~~~ ~~~~~~~~~~~
Django requires `mysqlclient`_ 1.3.7 or later. Django requires `mysqlclient`_ 1.3.13 or later.
MySQL Connector/Python MySQL Connector/Python
~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~

View File

@ -424,6 +424,9 @@ Miscellaneous
* Support for ``cx_Oracle`` < 6.0 is removed. * 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 * In an attempt to provide more semantic query data, ``NullBooleanSelect`` now
renders ``<option>`` values of ``unknown``, ``true``, and ``false`` instead renders ``<option>`` values of ``unknown``, ``true``, and ``false`` instead
of ``1``, ``2``, and ``3``. For backwards compatibility, the old values are of ``1``, ``2``, and ``3``. For backwards compatibility, the old values are

View File

@ -1,2 +1 @@
# Due to a bug that will be fixed in mysqlclient 1.3.7. mysqlclient >= 1.3.13
mysqlclient >= 1.3.7