From fde2ac10ba492bb94084eb18a109c6c1241744d3442fd4a8bfce35f1e6ca3d4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Thu, 24 May 2018 11:04:59 +0000 Subject: [PATCH] Accepting request 611837 from home:kukuk:branches:devel:languages:python - use %license instead of %doc [bsc#1082318] - update to latest version to solve MySQLdb interface problems with salt-2018 - update to 0.8.1 * Reduce `cursor.callproc()` roundtrip time. (#636) * Fixed `cursor.query()` is hunged after multi statement failed. (#647) * WRONG_DB_NAME and WRONG_COLUMN_NAME is ProgrammingError for now. (#629) * Many test suite improvements, especially adding MySQL 8.0 and using Docker. * Droppped support for old Python and MySQL whih is not tested long time. - update to 0.8 * **BACKWARD INCOMPATIBLE** ``binary_prefix`` option is added and off by default because of compatibility with mysqlclient. When you need PyMySQL 0.7 behavior, you have to pass ``binary_prefix=True``. (#549) * **BACKWARD INCOMPATIBLE** ``MULTI_STATEMENTS`` client flag is no longer set by default, while it was on PyMySQL 0.7. You need to pass ``client_flag=CLIENT.MULTI_STATEMENTS`` when you connect to explicitly enable multi-statement mode. (#590) * Fixed AuthSwitch packet handling. * Raise OperationalError for MariaDB's constraint error. (#607) * executemany() accepts query without space between ``VALUES`` and ``(``. (#597) * Support config file containing option without value. (#588) * Fixed Connection.ping() returned unintended value. OBS-URL: https://build.opensuse.org/request/show/611837 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=16 --- PyMySQL-0.7.11.tar.gz | 3 --- PyMySQL-0.8.1.tar.gz | 3 +++ python-PyMySQL.changes | 27 +++++++++++++++++++++++++++ python-PyMySQL.spec | 7 ++++--- 4 files changed, 34 insertions(+), 6 deletions(-) delete mode 100644 PyMySQL-0.7.11.tar.gz create mode 100644 PyMySQL-0.8.1.tar.gz diff --git a/PyMySQL-0.7.11.tar.gz b/PyMySQL-0.7.11.tar.gz deleted file mode 100644 index 11c24c8..0000000 --- a/PyMySQL-0.7.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:56e3f5bcef6501012233620b54f6a7b8a34edc5751e85e4e3da9a0d808df5f68 -size 71095 diff --git a/PyMySQL-0.8.1.tar.gz b/PyMySQL-0.8.1.tar.gz new file mode 100644 index 0000000..a5065c3 --- /dev/null +++ b/PyMySQL-0.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:34e19bfff13e8b2ffc38a68f9ad064609d48f3d46320e8ab8184af527e662629 +size 74297 diff --git a/python-PyMySQL.changes b/python-PyMySQL.changes index 88207a5..33311ae 100644 --- a/python-PyMySQL.changes +++ b/python-PyMySQL.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Thu May 24 09:48:52 CEST 2018 - kukuk@suse.de + +- use %license instead of %doc [bsc#1082318] +- update to latest version to solve MySQLdb interface problems with + salt-2018 +- update to 0.8.1 +* Reduce `cursor.callproc()` roundtrip time. (#636) +* Fixed `cursor.query()` is hunged after multi statement failed. (#647) +* WRONG_DB_NAME and WRONG_COLUMN_NAME is ProgrammingError for now. (#629) +* Many test suite improvements, especially adding MySQL 8.0 and using Docker. +* Droppped support for old Python and MySQL whih is not tested long time. +- update to 0.8 +* **BACKWARD INCOMPATIBLE** ``binary_prefix`` option is added and off + by default because of compatibility with mysqlclient. + When you need PyMySQL 0.7 behavior, you have to pass ``binary_prefix=True``. + (#549) +* **BACKWARD INCOMPATIBLE** ``MULTI_STATEMENTS`` client flag is no longer + set by default, while it was on PyMySQL 0.7. You need to pass + ``client_flag=CLIENT.MULTI_STATEMENTS`` when you connect to explicitly + enable multi-statement mode. (#590) +* Fixed AuthSwitch packet handling. +* Raise OperationalError for MariaDB's constraint error. (#607) +* executemany() accepts query without space between ``VALUES`` and ``(``. (#597) +* Support config file containing option without value. (#588) +* Fixed Connection.ping() returned unintended value. + ------------------------------------------------------------------- Wed Aug 16 01:36:37 UTC 2017 - toddrme2178@gmail.com diff --git a/python-PyMySQL.spec b/python-PyMySQL.spec index 4c8547a..44b6230 100644 --- a/python-PyMySQL.spec +++ b/python-PyMySQL.spec @@ -1,7 +1,7 @@ # # spec file for package python-PyMySQL # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-PyMySQL -Version: 0.7.11 +Version: 0.8.1 Release: 0 Summary: Pure Python MySQL Driver License: MIT @@ -60,7 +60,8 @@ sed -i '1 { /^#!/ d }' pymysql/tests/thirdparty/test_MySQLdb/*.py %files %{python_files} %defattr(-,root,root,-) -%doc CHANGELOG LICENSE README.rst +%license LICENSE +%doc CHANGELOG README.rst %{python_sitelib}/* %changelog