1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Refs #32355 -- Bumped mysqlclient requirement to >= 1.4.3.

mysqlclient 1.4.3 is the first release to support Python 3.8.
This commit is contained in:
Mariusz Felisiak 2023-01-05 16:34:14 +01:00 committed by GitHub
parent 6c86495bce
commit 7d9329935a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 4 deletions

View File

@ -31,9 +31,9 @@ from .schema import DatabaseSchemaEditor
from .validation import DatabaseValidation from .validation import DatabaseValidation
version = Database.version_info version = Database.version_info
if version < (1, 4, 0): if version < (1, 4, 3):
raise ImproperlyConfigured( raise ImproperlyConfigured(
"mysqlclient 1.4.0 or newer is required; you have %s." % Database.__version__ "mysqlclient 1.4.3 or newer is required; you have %s." % Database.__version__
) )

View File

@ -450,7 +450,7 @@ Connector/Python includes `its own`_.
mysqlclient mysqlclient
~~~~~~~~~~~ ~~~~~~~~~~~
Django requires `mysqlclient`_ 1.4.0 or later. Django requires `mysqlclient`_ 1.4.3 or later.
MySQL Connector/Python MySQL Connector/Python
~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~

View File

@ -507,6 +507,9 @@ Miscellaneous
that differ only in case. If you need the previous behavior, use that differ only in case. If you need the previous behavior, use
:class:`~django.contrib.auth.forms.BaseUserCreationForm` instead. :class:`~django.contrib.auth.forms.BaseUserCreationForm` instead.
* The minimum supported version of ``mysqlclient`` is increased from 1.4.0 to
1.4.3.
.. _deprecated-features-4.2: .. _deprecated-features-4.2:
Features deprecated in 4.2 Features deprecated in 4.2

View File

@ -1 +1 @@
mysqlclient >= 1.4.0 mysqlclient >= 1.4.3