15
0

Accepting request 879499 from home:buschmann23:branches:devel:languages:python

- Update to 2.0.3:
  * Add -std=c99 option to cflags by default for ancient compilers
    that doesn't accept C99 by default.
  * You can customize cflags and ldflags by setting MYSQLCLIENT_CFLAGS
    and MYSQLCLIENT_LDFLAGS. It overrides mysql_config.
- Change in 2.0.2:
  * Optimize fetching many rows with DictCursor.
- Change in 2.0.1:
  * Fixed multithread safety issue in fetching row.
  * Removed obsolete members from Cursor. (e.g. messages, _warnings,
    _last_executed)
- Change in 2.0.0:
  * Dropped Python 2 support
  * Dropped Django 1.11 support
  * Add context manager interface to Connection which closes the
    connection on __exit__.
  * Add ssl_mode option.

OBS-URL: https://build.opensuse.org/request/show/879499
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=24
This commit is contained in:
2021-03-18 13:08:12 +00:00
committed by Git OBS Bridge
parent 3b4f575077
commit d0cb4e0108
4 changed files with 29 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-mysqlclient
# spec file for package python-mysqlclient-test
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,8 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# Python2 support has been dropped in version 2.0.0
%define skip_python2 1
%define oldpython python
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
@@ -27,7 +29,7 @@
%bcond_with test
%endif
Name: python-mysqlclient%{psuffix}
Version: 1.4.6
Version: 2.0.3
Release: 0
Summary: Python interface to MySQL
License: GPL-2.0-or-later