Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-mysqlclient for openSUSE:Factory checked in at 2022-09-25 15:34:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mysqlclient (Old) and /work/SRC/openSUSE:Factory/.python-mysqlclient.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mysqlclient" Sun Sep 25 15:34:38 2022 rev:14 rq:1005762 version:2.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mysqlclient/python-mysqlclient.changes 2022-03-31 17:18:14.453575143 +0200 +++ /work/SRC/openSUSE:Factory/.python-mysqlclient.new.2275/python-mysqlclient.changes 2022-09-25 15:34:42.927538016 +0200 @@ -1,0 +2,13 @@ +Sat Sep 24 10:58:20 UTC 2022 - Dirk M??ller <dmuel...@suse.com> + +- update to 2.1.1: + * Fix qualname of exception classes. + * Fix range check in ``MySQLdb._mysql.result.fetch_row()``. Invalid ``how`` + argument caused SEGV. + * Fix docstring of ``_mysql.connect``. + * Windows: Binary wheels are updated. + * Use MariaDB Connector/C 3.3.1. + * Use cibuildwheel to build wheels. + * Python 3.8-3.11 + +------------------------------------------------------------------- Old: ---- mysqlclient-2.1.0.tar.gz New: ---- mysqlclient-2.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mysqlclient.spec ++++++ --- /var/tmp/diff_new_pack.oMI49L/_old 2022-09-25 15:34:45.363543883 +0200 +++ /var/tmp/diff_new_pack.oMI49L/_new 2022-09-25 15:34:45.367543893 +0200 @@ -29,7 +29,7 @@ %bcond_with test %endif Name: python-mysqlclient%{psuffix} -Version: 2.1.0 +Version: 2.1.1 Release: 0 Summary: Python interface to MySQL License: GPL-2.0-or-later ++++++ mysqlclient-2.1.0.tar.gz -> mysqlclient-2.1.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mysqlclient-2.1.0/HISTORY.rst new/mysqlclient-2.1.1/HISTORY.rst --- old/mysqlclient-2.1.0/HISTORY.rst 2021-11-17 09:45:37.000000000 +0100 +++ new/mysqlclient-2.1.1/HISTORY.rst 2022-06-22 03:21:39.000000000 +0200 @@ -1,4 +1,18 @@ ====================== + What's new in 2.1.1 +====================== + +Release: 2022-06-22 + +* Fix qualname of exception classes. (#522) +* Fix range check in ``MySQLdb._mysql.result.fetch_row()``. Invalid ``how`` argument caused SEGV. (#538) +* Fix docstring of ``_mysql.connect``. (#540) +* Windows: Binary wheels are updated. (#541) + * Use MariaDB Connector/C 3.3.1. + * Use cibuildwheel to build wheels. + * Python 3.8-3.11 + +====================== What's new in 2.1.0 ====================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mysqlclient-2.1.0/MySQLdb/_exceptions.py new/mysqlclient-2.1.1/MySQLdb/_exceptions.py --- old/mysqlclient-2.1.0/MySQLdb/_exceptions.py 2020-07-02 05:56:48.000000000 +0200 +++ new/mysqlclient-2.1.1/MySQLdb/_exceptions.py 2022-06-21 13:30:19.000000000 +0200 @@ -9,32 +9,44 @@ class MySQLError(Exception): """Exception related to operation with MySQL.""" + __module__ = "MySQLdb" + class Warning(Warning, MySQLError): """Exception raised for important warnings like data truncations while inserting, etc.""" + __module__ = "MySQLdb" + class Error(MySQLError): """Exception that is the base class of all other error exceptions (not Warning).""" + __module__ = "MySQLdb" + class InterfaceError(Error): """Exception raised for errors that are related to the database interface rather than the database itself.""" + __module__ = "MySQLdb" + class DatabaseError(Error): """Exception raised for errors that are related to the database.""" + __module__ = "MySQLdb" + class DataError(DatabaseError): """Exception raised for errors that are due to problems with the processed data like division by zero, numeric value out of range, etc.""" + __module__ = "MySQLdb" + class OperationalError(DatabaseError): """Exception raised for errors that are related to the database's @@ -43,27 +55,37 @@ found, a transaction could not be processed, a memory allocation error occurred during processing, etc.""" + __module__ = "MySQLdb" + class IntegrityError(DatabaseError): """Exception raised when the relational integrity of the database is affected, e.g. a foreign key check fails, duplicate key, etc.""" + __module__ = "MySQLdb" + class InternalError(DatabaseError): """Exception raised when the database encounters an internal error, e.g. the cursor is not valid anymore, the transaction is out of sync, etc.""" + __module__ = "MySQLdb" + class ProgrammingError(DatabaseError): """Exception raised for programming errors, e.g. table not found or already exists, syntax error in the SQL statement, wrong number of parameters specified, etc.""" + __module__ = "MySQLdb" + class NotSupportedError(DatabaseError): """Exception raised in case a method or database API was used which is not supported by the database, e.g. requesting a .rollback() on a connection that does not support transaction or has transactions turned off.""" + + __module__ = "MySQLdb" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mysqlclient-2.1.0/MySQLdb/_mysql.c new/mysqlclient-2.1.1/MySQLdb/_mysql.c --- old/mysqlclient-2.1.0/MySQLdb/_mysql.c 2021-11-17 09:45:24.000000000 +0100 +++ new/mysqlclient-2.1.1/MySQLdb/_mysql.c 2022-06-21 13:30:23.000000000 +0200 @@ -581,10 +581,10 @@ user\n\ string, user to connect as\n\ \n\ -passwd\n\ +password\n\ string, password to use\n\ \n\ -db\n\ +database\n\ string, database to use\n\ \n\ port\n\ @@ -1442,7 +1442,7 @@ &maxrows, &how)) return NULL; check_result_connection(self); - if (how >= (int)sizeof(row_converters)) { + if (how >= (int)(sizeof(row_converters) / sizeof(row_converters[0]))) { PyErr_SetString(PyExc_ValueError, "how out of range"); return NULL; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mysqlclient-2.1.0/MySQLdb/release.py new/mysqlclient-2.1.1/MySQLdb/release.py --- old/mysqlclient-2.1.0/MySQLdb/release.py 2021-11-18 06:51:01.000000000 +0100 +++ new/mysqlclient-2.1.1/MySQLdb/release.py 2022-06-22 09:46:24.000000000 +0200 @@ -1,4 +1,4 @@ __author__ = "Inada Naoki <songofaca...@gmail.com>" -version_info = (2,1,0,'final',0) -__version__ = "2.1.0" +version_info = (2,1,1,'final',0) +__version__ = "2.1.1" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mysqlclient-2.1.0/PKG-INFO new/mysqlclient-2.1.1/PKG-INFO --- old/mysqlclient-2.1.0/PKG-INFO 2021-11-18 06:51:01.745577600 +0100 +++ new/mysqlclient-2.1.1/PKG-INFO 2022-06-22 09:46:25.634787300 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: mysqlclient -Version: 2.1.0 +Version: 2.1.1 Summary: Python interface to MySQL Home-page: https://github.com/PyMySQL/mysqlclient Author: Inada Naoki @@ -130,5 +130,3 @@ ### Documentation Documentation is hosted on [Read The Docs](https://mysqlclient.readthedocs.io/) - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mysqlclient-2.1.0/metadata.cfg new/mysqlclient-2.1.1/metadata.cfg --- old/mysqlclient-2.1.0/metadata.cfg 2021-11-17 09:52:46.000000000 +0100 +++ new/mysqlclient-2.1.1/metadata.cfg 2022-06-22 03:21:47.000000000 +0200 @@ -1,6 +1,6 @@ [metadata] -version: 2.1.0 -version_info: (2,1,0,'final',0) +version: 2.1.1 +version_info: (2,1,1,'final',0) description: Python interface to MySQL author: Inada Naoki author_email: songofaca...@gmail.com diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mysqlclient-2.1.0/mysqlclient.egg-info/PKG-INFO new/mysqlclient-2.1.1/mysqlclient.egg-info/PKG-INFO --- old/mysqlclient-2.1.0/mysqlclient.egg-info/PKG-INFO 2021-11-18 06:51:01.000000000 +0100 +++ new/mysqlclient-2.1.1/mysqlclient.egg-info/PKG-INFO 2022-06-22 09:46:25.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: mysqlclient -Version: 2.1.0 +Version: 2.1.1 Summary: Python interface to MySQL Home-page: https://github.com/PyMySQL/mysqlclient Author: Inada Naoki @@ -130,5 +130,3 @@ ### Documentation Documentation is hosted on [Read The Docs](https://mysqlclient.readthedocs.io/) - -