forked from pool/python-mysqlclient
Accepting request 964669 from home:pgajdos:python
- version update to 2.1.0 * Add ``multistatement=True`` option. You can disable multi statement. (#500). * Remove unnecessary bytes encoder which is remained for Django 1.11 compatibility (#490). * Deprecate ``passwd`` and ``db`` keyword. Use ``password`` and ``database`` instead. (#488). * Windows: Binary wheels are built with MariaDB Connector/C 3.2.4. (#508) * ``set_character_set()`` sends ``SET NAMES`` query always. This means all new connections send it too. This solves compatibility issues when server and client library are different version. (#509) * Remove ``escape()`` and ``escape_string()`` from ``MySQLdb`` package. (#511) * Add Python 3.10 support and drop Python 3.5 support. - deleted patches - liberally-accept-charsets.patch (upstreamed) OBS-URL: https://build.opensuse.org/request/show/964669 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=27
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -29,13 +29,12 @@
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-mysqlclient%{psuffix}
|
||||
Version: 2.0.3
|
||||
Version: 2.1.0
|
||||
Release: 0
|
||||
Summary: Python interface to MySQL
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://github.com/PyMySQL/mysqlclient-python
|
||||
Source: https://files.pythonhosted.org/packages/source/m/mysqlclient/mysqlclient-%{version}.tar.gz
|
||||
Patch0: liberally-accept-charsets.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@@ -50,7 +49,6 @@ Obsoletes: python-mysql < %{version}
|
||||
Provides: python-MySQL-python = %{version}
|
||||
Obsoletes: python-MySQL-python < %{version}
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module mysqlclient >= %{version}}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: mariadb-rpm-macros
|
||||
|
||||
Reference in New Issue
Block a user