From fe694baa6c47c436b64b5381af5d4526ea88834d0dc91a5e3013b016029750cf Mon Sep 17 00:00:00 2001 From: Alexei Podvalsky Date: Fri, 22 Nov 2019 17:35:50 +0000 Subject: [PATCH] Accepting request 750367 from home:awissu:branches:devel:languages:python - Update to 1.4.6: * The cp1252 encoding is used when charset is "latin1". (#390) - Change in 1.4.5: * The auth_plugin option is added. (#389) - Update to 1.4.4: * charset option is passed to mysql_options(mysql, MYSQL_SET_CHARSET_NAME, charset) before mysql_real_connect is called. This avoid extra SET NAMES query when creating connection. - Change in 1.4.3: * --static build supports libmariadbclient.a * Try mariadb_config when mysql_config is not found * Fixed warning happend in Python 3.8 (#359) * Fixed from MySQLdb import *, while I don't recommend it. (#369) * Fixed SEGV MySQLdb.escape_string("1") when libmariadb is used and no connection is created. (#367) * Fixed many circular references are created in Cursor.executemany(). - Add python3-attrs to build - Generate documentation only with sphinx3 no need to do it twice - Update to 1.4.2: * Fix Django 1.11 compatibility. - Drop MySQL-python-Py_ssize.patch - Update to 1.3.14: * Support static linking of MariaDB Connector/C (#265) * Better converter for Decimal and Float (#267, #268, #273, #286) * Add Connection._get_native_connection for XTA project (#269) * Fix SEGV on MariaDB Connector/C when Connection.close() is called for closed connection. (#270, #272, #276) * Fix Connection.client_flag (#266) * Fix SSCursor may raise same exception twice (#282) * Fixed SSL support is not detected when built with MySQL < 5.1 (#291) - Add obsoletes/provides with "python-" prefix (oldpython macro) - Fix build on openSUSE 42.3 (rename: libmariadb-devel to libmysqlclient-devel) - Switch to fork of MySQLdb1 - Update a package description - Build with python3 and python2 (singlespec) - Mark obsolete packages: python-mysql, python-MySQL-python - Spec file cleanup - Fix build on non-SUSE distros by conditionalizing Recommends: tag - Update to version 1.2.4 + No changelog available - Set correct Group : Development/Languages/Python - Use download Url as source - Spec file general clean-up - Add MySQL-python-1.2.4-dont-use-python-distribute.patch; don't try to use unavailable python-distribute - Remove depreciate AutoReqProv, %{py_requires} and # norootforbuild tags - Add unzip requirement to support tarball format - Add python-Sphinx requirement and generate html documentation - Remove --record-rpm=INSTALLED_FILES option and add %{python_sitearch} in %files instead - Package GPL-2.0, HISTORY and Sphinx documentation - fix the previous fix, patch went upstream - update to 1.2.3 - no upstream changelog available - taking out the reconnect patch as the upstream sources contain a very specific comment that this means trouble - removed usage of deprecated sets module (bnc#462974) - update to 1.2.2 - various bugfixes - much better support for mysql5 - python2.5 support (crude, though, let's keep our patch for a while) - switch from distutils to setuptools - added patch supporting reconnect in mysql5 - update to 1.2.1_p2 - support for some new features of mysql 4.1 and 5.0 - fixes for 64bit bugs due to PEP353 - updated to reflect python changes due to #149809 - converted neededforbuild to BuildRequires - update to 1.2.0 - update to 1.1.9 (MySQL 4.1 support) - updated to 1.1.1 - fixed lib64 build - update to 1.1.0 - drop python 2.1 support - build as user - updated to 0.9.3a2: * Add some support for Python 2.3 datetime classes. * Removed some casts in _mysql_init() that caused problems with Python 2.3. The type for tp_free was changed from destructor to freefunc. Removing the casts make both 2.2 and 2.3 happy. * Fixed the bug that prevented member access. * Embedded server support. Can't get it use InnoDB tables yet. However, MyISAM (default) tables seem to work fine. - one source package for both python versions - added few more files to docs - builds on lib64 - updated to 0.9.2 - use record-rpm - use versioned dependency on python - using build root - file list is correct on lib64 arches - up to 0.9.1 to make it build on python-2.2 - Add mysql-shared to neededforbuild. - initial version 0.9.0 OBS-URL: https://build.opensuse.org/request/show/750367 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=14 --- mysqlclient-1.4.4.tar.gz | 3 --- mysqlclient-1.4.6.tar.gz | 3 +++ python-mysqlclient.changes | 14 +++++++++++--- python-mysqlclient.spec | 2 +- 4 files changed, 15 insertions(+), 7 deletions(-) delete mode 100644 mysqlclient-1.4.4.tar.gz create mode 100644 mysqlclient-1.4.6.tar.gz diff --git a/mysqlclient-1.4.4.tar.gz b/mysqlclient-1.4.4.tar.gz deleted file mode 100644 index 321fb62..0000000 --- a/mysqlclient-1.4.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9c737cc55a5dc8dd3583a942d5a9b21be58d16f00f5fefca4e575e7d9682e98c -size 86245 diff --git a/mysqlclient-1.4.6.tar.gz b/mysqlclient-1.4.6.tar.gz new file mode 100644 index 0000000..a237b0b --- /dev/null +++ b/mysqlclient-1.4.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f3fdaa9a38752a3b214a6fe79d7cae3653731a53e577821f9187e67cbecb2e16 +size 85517 diff --git a/python-mysqlclient.changes b/python-mysqlclient.changes index ac5bb2b..84c7814 100644 --- a/python-mysqlclient.changes +++ b/python-mysqlclient.changes @@ -1,16 +1,24 @@ +------------------------------------------------------------------- +Fri Nov 22 17:31:43 UTC 2019 - Alexei Podvalsky + +- Update to 1.4.6: + * The cp1252 encoding is used when charset is "latin1". (#390) +- Change in 1.4.5: + * The auth_plugin option is added. (#389) + ------------------------------------------------------------------- Thu Aug 15 19:25:35 UTC 2019 - Alexei Podvalsky - Update to 1.4.4: - * charset option is passed to mysql_options(mysql, MYSQL_SET_CHARSET_NAME, - charset) before mysql_real_connect is called. This avoid extra + * charset option is passed to mysql_options(mysql, MYSQL_SET_CHARSET_NAME, + charset) before mysql_real_connect is called. This avoid extra SET NAMES query when creating connection. - Change in 1.4.3: * --static build supports libmariadbclient.a * Try mariadb_config when mysql_config is not found * Fixed warning happend in Python 3.8 (#359) * Fixed from MySQLdb import *, while I don't recommend it. (#369) - * Fixed SEGV MySQLdb.escape_string("1") when libmariadb is used and + * Fixed SEGV MySQLdb.escape_string("1") when libmariadb is used and no connection is created. (#367) * Fixed many circular references are created in Cursor.executemany(). - Add python3-attrs to build diff --git a/python-mysqlclient.spec b/python-mysqlclient.spec index fe8f937..c4c0a0b 100644 --- a/python-mysqlclient.spec +++ b/python-mysqlclient.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-mysqlclient -Version: 1.4.4 +Version: 1.4.6 Release: 0 Summary: Python interface to MySQL License: GPL-2.0-or-later