mirror of https://github.com/django/django.git
Bumped mysqlclient requirement to >= 1.3.13.
There are test failures with older versions.
This commit is contained in:
parent
9453bc77f4
commit
88619e6129
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
# Due to a bug that will be fixed in mysqlclient 1.3.7.
|
mysqlclient >= 1.3.13
|
||||||
mysqlclient >= 1.3.7
|
|
||||||
|
|
Loading…
Reference in New Issue