diff --git a/PyMySQL-0.10.1.tar.gz b/PyMySQL-0.10.1.tar.gz deleted file mode 100644 index ad60527..0000000 --- a/PyMySQL-0.10.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:34dcb0f12bbbb99a8950d45bbb214bb66b1040b01c73ce27927520c4b40a2fd0 -size 86441 diff --git a/PyMySQL-1.0.2.tar.gz b/PyMySQL-1.0.2.tar.gz new file mode 100644 index 0000000..16eab20 --- /dev/null +++ b/PyMySQL-1.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:44b19ebe16baa52b74b7d835bdaaf732bb83725339dca307fe0900439adddb6d +size 84985 diff --git a/python-PyMySQL.changes b/python-PyMySQL.changes index cb98755..b0c3252 100644 --- a/python-PyMySQL.changes +++ b/python-PyMySQL.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Wed Jul 28 13:51:39 UTC 2021 - Matej Cepl + +- Fix databases.json used for tests. + +------------------------------------------------------------------- +Thu Apr 22 20:03:03 UTC 2021 - Dirk Müller + +- 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. + ------------------------------------------------------------------- Thu Nov 26 09:10:16 UTC 2020 - Dirk Mueller diff --git a/python-PyMySQL.spec b/python-PyMySQL.spec index cf3170b..677d3e4 100644 --- a/python-PyMySQL.spec +++ b/python-PyMySQL.spec @@ -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 @@ -86,8 +87,8 @@ cconf=abuild-myclient.cnf # cat << EOF > pymysql/tests/databases.json [{"host":"localhost","user":"$dbuser","passwd":"$dbuserpw", - "db":"$dbname1", "use_unicode": true, "local_infile": true}, - {"host":"localhost","user":"$dbuser","passwd":"$dbuserpw","db":"$dbname2"}] + "database":"$dbname1", "use_unicode": true, "local_infile": true}, + {"host":"localhost","user":"$dbuser","passwd":"$dbuserpw","database":"$dbname2"}] EOF # # running the test