1
0

- update to 0.10.0:

* MariaDB ed25519 auth is supported.
  * Python 3.4 support is dropped.
  * Context manager interface is removed from `Connection`. It will be added
    with different meaning.
  * MySQL warnings are not shown by default because many user report issue to
    PyMySQL issue tracker when they see warning. You need to call "SHOW WARNINGS"
    explicitly when you want to see warnings.
  * Formatting of float object is changed from "3.14" to "3.14e0".
  * Use cp1252 codec for latin1 charset.
  * Fix decimal literal.
  * TRUNCATED_WRONG_VALUE_FOR_FIELD, and ILLEGAL_VALUE_FOR_TYPE are now
    DataError instead of InternalError.
- remove python-PyMySQL-no-unittest2.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=23
This commit is contained in:
2020-09-16 11:02:13 +00:00
committed by Git OBS Bridge
parent c2372893dd
commit 5a340a5e98
5 changed files with 23 additions and 493 deletions

View File

@@ -18,15 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-PyMySQL
Version: 0.9.3
Version: 0.10.0
Release: 0
Summary: Pure Python MySQL Driver
License: MIT
Group: Development/Languages/Python
URL: https://github.com/PyMySQL/PyMySQL/
Source: https://github.com/PyMySQL/PyMySQL/archive/v%{version}.tar.gz#/PyMySQL-0.9.3.tar.gz
# https://github.com/PyMySQL/PyMySQL/commit/a500fcd64d4500417540a2a2ff7b16a88d1872ad
Patch0: python-PyMySQL-no-unittest2.patch
Source: https://github.com/PyMySQL/PyMySQL/archive/v%{version}.tar.gz#/PyMySQL-%{version}.tar.gz
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
@@ -50,7 +48,6 @@ its unit tests as well as running it against the MySQLdb and myconnpy unit tests
%prep
%setup -q -n PyMySQL-%{version}
%patch0 -p1
# remove unwanted shebang
sed -i '1 { /^#!/ d }' pymysql/tests/thirdparty/test_MySQLdb/*.py