[Django] #29572: Cancel the dependency on MySQLdb

2 views
Skip to first unread message

Django

unread,
Jul 18, 2018, 12:11:09 AM7/18/18
to django-...@googlegroups.com
#29572: Cancel the dependency on MySQLdb
-------------------------------------+-------------------------------------
Reporter: Bob-Du | Owner: nobody
Type: Bug | Status: new
Component: Database | Version: 2.0
layer (models, ORM) |
Severity: Release | Keywords: mysql
blocker |
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Python 3 does not support the use of the MySQLdb package, but still uses
MySQLdb in Django, I think it should be replaced by pymysql by default.

--
Ticket URL: <https://code.djangoproject.com/ticket/29572>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jul 18, 2018, 12:16:48 AM7/18/18
to django-...@googlegroups.com
#29572: Cancel the dependency on MySQLdb
-------------------------------------+-------------------------------------
Reporter: BobDu | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 2.0
(models, ORM) |
Severity: Release blocker | Resolution:
Keywords: mysql | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by BobDu):

* Attachment "base.py" added.

This is the repair file ./django/django/db/backends/mysql/base.py

Django

unread,
Jul 18, 2018, 3:04:14 AM7/18/18
to django-...@googlegroups.com
#29572: Cancel the dependency on MySQLdb
-------------------------------------+-------------------------------------
Reporter: BobDu | Owner: nobody
Type: Bug | Status: closed

Component: Database layer | Version: 2.0
(models, ORM) |
Severity: Release blocker | Resolution: duplicate

Keywords: mysql | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Claude Paroz):

* status: new => closed
* resolution: => duplicate


Comment:

Django recommends installing mysqlclient which **is** Python 3 compatible.

See also #29242 for PyMySQL support.

--
Ticket URL: <https://code.djangoproject.com/ticket/29572#comment:1>

Reply all
Reply to author
Forward
0 new messages