forked from pool/python-PyMySQL
Accepting request 908898 from devel:languages:python
- Fix databases.json used for tests. - 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/request/show/908898 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyMySQL?expand=0&rev=16
This commit is contained in:
commit
68c14302f6
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:34dcb0f12bbbb99a8950d45bbb214bb66b1040b01c73ce27927520c4b40a2fd0
|
||||
size 86441
|
3
PyMySQL-1.0.2.tar.gz
Normal file
3
PyMySQL-1.0.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:44b19ebe16baa52b74b7d835bdaaf732bb83725339dca307fe0900439adddb6d
|
||||
size 84985
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 28 13:51:39 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Fix databases.json used for tests.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 22 20:03:03 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
|
@ -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
|
||||
@ -24,8 +24,9 @@
|
||||
%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
|
||||
|
Loading…
Reference in New Issue
Block a user