15
0

Accepting request 723830 from home:awissu:branches:devel:languages:python

- 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 <charset> 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

OBS-URL: https://build.opensuse.org/request/show/723830
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=12
This commit is contained in:
Alexei Podvalsky
2019-08-15 19:50:40 +00:00
committed by Git OBS Bridge
parent e1281e0fdb
commit b51ea16b27
4 changed files with 22 additions and 4 deletions

View File

@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-mysqlclient
Version: 1.4.2
Version: 1.4.4
Release: 0
Summary: Python interface to MySQL
License: GPL-2.0-or-later
@@ -28,6 +28,7 @@ URL: https://github.com/PyMySQL/mysqlclient-python
Source: https://files.pythonhosted.org/packages/source/m/mysqlclient/mysqlclient-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python3-attrs
BuildRequires: fdupes
BuildRequires: libmysqlclient-devel
BuildRequires: python-rpm-macros