Fedora 18 Update: mysql-connector-python-1.0.6-1.b1.fc18

updates at fedoraproject.org updates at fedoraproject.org
Tue Sep 18 20:00:07 UTC 2012

Fedora Update Notification
2012-09-07 19:28:40

Name        : mysql-connector-python
Product     : Fedora 18
Version     : 1.0.6
Release     : 1.b1.fc18
URL         : http://dev.mysql.com/usingmysql/python/
Summary     : MySQL Connector for Python 2
Description :
MySQL Connector/Python is implementing the MySQL Client/Server protocol
completely in Python. No MySQL libraries are needed, and no compilation
is necessary to run this Python DB API v2.0 compliant driver.

Update Information:

Upstream changelog for 1.0.6-beta (2012-08-28)
* Fixed Python v3 code so it works with Python v3.3. (BUG#14524942)
* Fixed MySQLCursorRaw.fetchall() to not raise when results are available. This was only a problem in the Python v3 code. (BUG#14517262, BUG#66465)
* Changed name and version of distributions to align with other MySQL projects (WL#6450)
* The version now includes the suffix 'b' for beta and 'a' for alpha followed by a number. This version is used in the source and built distributions. GA versions will have no suffix.
* The RPM spec files have been updated to create packages which names are aligned with RPMs from other MySQL projects.
* Fixed installation of version.py on OS X. (BUG#14483142)
* version.py is now correctly installed on OS X in the mysql.connector package. Previously it was installed through data_files, and version.py ended up in the system wide package location of Python from where it could not be imported.
* data_files is not used any longer in setup.py and is removed. Extra files like version.py are now copied in the custom Distutils commands.
* Fixed SSL unit testing for source distributions. (BUG#14402737)
* The SSL keys and certificates were missing and have been added to the source distribution. Now SSL testing works properly.
* Additionally for the Windows platform, forward slashes had to be added to the option file creation so the MySQL server can pickup the needed SSL files.
* Timeout for unit tests has been set to 10 seconds. Test cases can individually adjust it to be higher or lower. (BUG#14487502)
* Fixed test cases in test_mysql_database.py which failed when using using YEAR(2) with MySQL v5.6.6 and greater. (BUG#14460680)
* Changed how MySQL server errors are mapped to Python exceptions. We now use the SQLState (when available) to raise a better error. (WL#6412)
* Incompatibility: some server errors are now raised with a different exception.
* It is possible to override how errors are raised using the mysql.connector.custom_error_exception() function, defined in the mysql.connector.errors module. This can be useful for certain frameworks to align with other database drivers.


This update can be installed with the "yum" update program.  Use 
su -c 'yum update mysql-connector-python' at the command line.
For more information, refer to "Managing Software with yum",
available at http://docs.fedoraproject.org/yum/.

All packages are signed with the Fedora Project GPG key.  More details on the
GPG keys used by the Fedora Project can be found at

More information about the package-announce mailing list