Bug 246366 - Incompatible change to version_info value
Incompatible change to version_info value
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: MySQL-python (Show other bugs)
7
All Linux
low Severity medium
: ---
: ---
Assigned To: Tom Lane
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-30 22:40 EDT by Malcolm Tredinnick
Modified: 2013-07-02 23:14 EDT (History)
1 user (show)

See Also:
Fixed In Version: 1.2.2-3.fc7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-07-20 15:36:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Malcolm Tredinnick 2007-06-30 22:40:37 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):

1.2.2-2
Comment 1 Tom Lane 2007-07-03 16:34:55 EDT
Sigh, that was more subtle than it looked.  Try 1.2.2-3
Comment 2 Fedora Update System 2007-07-05 15:11:45 EDT
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.
Comment 3 Malcolm Tredinnick 2007-07-06 01:55:59 EDT
Excellent. It works. Thanks for the rapid response, Tom.
Comment 4 Fedora Update System 2007-07-20 15:36:06 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.