15
0

- update to 1.0.2:

* Fix `user`, `password`, `host`, `database` are still positional arguments.
    All arguments of `connect()` are now keyword-only. (#941)
  * Stop emitting DeprecationWarning for use of ``db`` and ``passwd``.
    Note that they are still deprecated. (#939)
  * Add ``python_requires=">=3.6"`` to setup.py. (#936)
  * Python 2.7 and 3.5 are not supported.
  * ``connect()`` uses keyword-only arguments. User must use keyword argument.
  * ``connect()`` kwargs ``db`` and ``passwd`` are now deprecated; Use ``database`` and ``password`` instead.
  * old_password authentication method (used by MySQL older than 4.1) is not supported.
  * MySQL 5.5 and MariaDB 5.5 are not officially supported, although it may still works.
  * Removed ``escape_dict``, ``escape_sequence``, and ``escape_string`` from ``pymysql``
    module. They are still in ``pymysql.converters``.
  * Connection supports context manager API. ``__exit__`` closes the connection. (#886)
  * Add MySQL Connector/Python compatible TLS options (#903)
  * Major code cleanup; PyMySQL now uses black and flake8.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=29
This commit is contained in:
2021-04-22 20:05:21 +00:00
committed by Git OBS Bridge
parent c62c08923c
commit 15dd56a4cb
4 changed files with 27 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-PyMySQL
#
# 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,15 +17,16 @@
# mariadb-rpm-macros is either not available or not sufficient for Leaps
%if 0%{?suse_version} > 1500
%if 0%{?suse_version} > 1500
%bcond_without tests
%else
%bcond_with tests
%endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python2 1
Name: python-PyMySQL
Version: 0.10.1
Version: 1.0.2
Release: 0
Summary: Pure Python MySQL Driver
License: MIT