1
0

- Update to 0.9.3:

* cryptography dependency is optional now.
  * Fix old_password (used before MySQL 4.1) support.
  * Deprecate old_password.
  * Stop sending ``sys.argv[0]`` for connection attribute "program_name".
  * Close connection when unknown error is happened.
  * Deprecate context manager API of Connection object.
  * Disalbled unintentinally enabled debug log
  * Removed unintentionally installed tests
  * Fixed caching_sha2_password and sha256_password raise TypeError on PY2
    (#700, #702)
  * Change default charset from latin1 to utf8mb4.  (because MySQL 8 changed) (#692)
  * Support sha256_password and caching_sha2_password auth method (#682)
  * Add cryptography dependency, because it's needed for new auth methods.
  * Remove deprecated `no_delay` option (#694)
  * Support connection attributes (#679)
  * Map LOCK_DEADLOCK to OperationalError (#693)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=19
This commit is contained in:
Tomáš Chvátal 2019-03-06 09:16:57 +00:00 committed by Git OBS Bridge
parent 9c2f9ecd59
commit 5acc33fc4d
4 changed files with 35 additions and 8 deletions

View File

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

3
PyMySQL-0.9.3.tar.gz Normal file
View File

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

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Wed Mar 6 09:11:17 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.9.3:
* cryptography dependency is optional now.
* Fix old_password (used before MySQL 4.1) support.
* Deprecate old_password.
* Stop sending ``sys.argv[0]`` for connection attribute "program_name".
* Close connection when unknown error is happened.
* Deprecate context manager API of Connection object.
* Disalbled unintentinally enabled debug log
* Removed unintentionally installed tests
* Fixed caching_sha2_password and sha256_password raise TypeError on PY2
(#700, #702)
* Change default charset from latin1 to utf8mb4. (because MySQL 8 changed) (#692)
* Support sha256_password and caching_sha2_password auth method (#682)
* Add cryptography dependency, because it's needed for new auth methods.
* Remove deprecated `no_delay` option (#694)
* Support connection attributes (#679)
* Map LOCK_DEADLOCK to OperationalError (#693)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 24 11:14:30 UTC 2018 - tchvatal@suse.com Thu May 24 11:14:30 UTC 2018 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-PyMySQL # spec file for package python-PyMySQL
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,22 +12,27 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-PyMySQL Name: python-PyMySQL
Version: 0.8.1 Version: 0.9.3
Release: 0 Release: 0
Summary: Pure Python MySQL Driver Summary: Pure Python MySQL Driver
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/PyMySQL/PyMySQL/ URL: https://github.com/PyMySQL/PyMySQL/
Source: https://files.pythonhosted.org/packages/source/P/PyMySQL/PyMySQL-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/P/PyMySQL/PyMySQL-%{version}.tar.gz
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
# will be removed with next release
BuildRequires: %{python_module unittest2}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-cryptography
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@ -53,8 +58,9 @@ sed -i '1 { /^#!/ d }' pymysql/tests/thirdparty/test_MySQLdb/*.py
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
#%%check %check
#NOTE(saschpe): Needs mysql server # Needs mysql server
#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE