Red Hat Bugzilla – Bug 246366
Incompatible change to version_info value
Last modified: 2013-07-02 23:14:18 EDT
Description of problem:
In the 1.2.2-2 release, as part of fixing #243877, the type of the version_info
value was changed from a tuple to a string. This is incompatible with the
upstream version and breaks any code that is using the version_info tuple to
detect which version of MySQLdb they are running against. Code such as "if
version_info < (1, 2, 1):" now returns True for 1.2.2-2, for example.
MySQLdb.version_info is part of the public API, so please retain compatibility
with other packagers (and upstream).
Version-Release number of selected component (if applicable):
Sigh, that was more subtle than it looked. Try 1.2.2-3
MySQL-python-1.2.2-3.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
Excellent. It works. Thanks for the rapid response, Tom.
MySQL-python-1.2.2-3.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.