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:
Matej Cepl 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,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f3fdaa9a38752a3b214a6fe79d7cae3653731a53e577821f9187e67cbecb2e16
size 85517

3
mysqlclient-2.0.3.tar.gz Normal file
View File

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

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue Mar 16 20:42:57 UTC 2021 - Matthias Fehring <buschmann23@opensuse.org>
- 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.
-------------------------------------------------------------------
Thu Jun 4 07:18:37 UTC 2020 - pgajdos@suse.com

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