[mythtv] MySQL issue with Python binding

Michael T. Dean mtdean at thirdcontact.com
Wed Nov 11 14:17:25 UTC 2015


On 11/10/2015 10:33 PM, Richard Shaw wrote:
> On Mon, Nov 9, 2015 at 8:49 PM, Michael T. Dean wrote:
>> FWIW, I'm pretty sure that Raymond Wagner wrote the Python bindings to
>> work with 2 different Python MySQL interface libraries, but I'm not sure
>> which ones (MySQL-python and something else--maybe mysqlclient?).  Based on
>> the version numbers in the RPMFusion ticket, it sounds like Fedora switched
>> from MySQL-python (which is currently at version 1.2.5) to mysqlclient
>> (which is at version 1.3.7).  Whoever decides whether this change should go
>> in the MythTV bindings needs to figure out 1) which Python-MySQL interface
>> libraries are supposed to be supported, 2) whether the change will work on
>> all supported libraries and 3) which library versions are/will be required
>> for that support to work.
>
> I can't find any reference to mysqlclient in Fedora but I did notice that
> MySQL-python is at version 1.3.6 in Fedora 22 and above... Could that be
> the culprit?

The latest version of MySQL-python is 1.2.5:

https://pypi.python.org/pypi/MySQL-python

The project mysqlclient is a fork of MySQL-python:

https://pypi.python.org/pypi/mysqlclient

which is at version 1.3.7.  Therefore, I think they are using 
mysqlclient, even if they're calling it MySQL-python.

Mike




More information about the mythtv-dev mailing list