Opened 7 years ago

Closed 7 years ago

#29242 closed New feature (duplicate)

Support PyMySQL

Reported by: ‮zlohhcuB treboR Owned by: nobody
Component: Database layer (models, ORM) Version: 2.0
Severity: Normal Keywords:
Cc: Adam Johnson Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Django's ORM should be able to use a pure Python DB adapter that does not need gcc and MariaDB-devel installed to install Django.

There have been discussions about this around the Python 3 port, but most of them ended when mysqlclient became Py3 ready. The value of a pure Python, easy to install module should be reason enough though to evaluate if PyMySQL should be supported.

Ref #22391 #23446 #28145

Change History (1)

comment:1 by Tim Graham, 7 years ago

Cc: Adam Johnson added
Resolution: duplicate
Status: newclosed

Duplicate of #22391 as far as I can tell. Rather than creating another ticket, the proper resolution for reopening a "wontfix" ticket is to open a discussion on the DevelopersMailingList to find a consensus about how to proceed. Searching the mailing list for pymysql gives an October 2017 update from Adam Johnson:

So the sketchy plan I've had in my mind for some time is: ... 5) Look at supporting pymysql instead of MySQLdb - it's better maintained, pure python so not compiled against libmysqlclient, and better tested with MariaDB. It should be fairly easy to drop in, but when I gave it a go >1 year ago it threw some non-simple errors.

Note: See TracTickets for help on using tickets.
Back to Top