1
0

Accepting request 611861 from devel:languages:python

- Drop not really needed python-devel dependency

- 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/611861
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyMySQL?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2018-05-29 08:42:58 +00:00 committed by Git OBS Bridge
commit 0b3db9fa2f
4 changed files with 40 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:56e3f5bcef6501012233620b54f6a7b8a34edc5751e85e4e3da9a0d808df5f68
size 71095

3
PyMySQL-0.8.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:34e19bfff13e8b2ffc38a68f9ad064609d48f3d46320e8ab8184af527e662629
size 74297

View File

@ -1,3 +1,35 @@
-------------------------------------------------------------------
Thu May 24 11:14:30 UTC 2018 - tchvatal@suse.com
- Drop not really needed python-devel dependency
-------------------------------------------------------------------
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

View File

@ -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,19 +18,17 @@
%{?!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
Group: Development/Languages/Python
Url: https://github.com/PyMySQL/PyMySQL/
URL: https://github.com/PyMySQL/PyMySQL/
Source: https://files.pythonhosted.org/packages/source/P/PyMySQL/PyMySQL-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
@ -59,8 +57,8 @@ sed -i '1 { /^#!/ d }' pymysql/tests/thirdparty/test_MySQLdb/*.py
#NOTE(saschpe): Needs mysql server
%files %{python_files}
%defattr(-,root,root,-)
%doc CHANGELOG LICENSE README.rst
%license LICENSE
%doc CHANGELOG README.rst
%{python_sitelib}/*
%changelog