Hello community,
here is the log from the commit of package python-PyMySQL for openSUSE:Factory checked in at 2019-03-12 09:53:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyMySQL (Old)
and /work/SRC/openSUSE:Factory/.python-PyMySQL.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyMySQL"
Tue Mar 12 09:53:13 2019 rev:11 rq:682059 version:0.9.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyMySQL/python-PyMySQL.changes 2018-05-29 10:43:03.292622281 +0200
+++ /work/SRC/openSUSE:Factory/.python-PyMySQL.new.28833/python-PyMySQL.changes 2019-03-12 09:53:15.359539959 +0100
@@ -1,0 +2,21 @@
+Wed Mar 6 09:11:17 UTC 2019 - Tomáš Chvátal
+
+- 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)
+
+-------------------------------------------------------------------
Old:
----
PyMySQL-0.8.1.tar.gz
New:
----
PyMySQL-0.9.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-PyMySQL.spec ++++++
--- /var/tmp/diff_new_pack.lCRPYM/_old 2019-03-12 09:53:16.211539789 +0100
+++ /var/tmp/diff_new_pack.lCRPYM/_new 2019-03-12 09:53:16.211539789 +0100
@@ -1,7 +1,7 @@
#
# 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
# 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)
# 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-%{**}}
Name: python-PyMySQL
-Version: 0.8.1
+Version: 0.9.3
Release: 0
Summary: Pure Python MySQL Driver
License: MIT
Group: Development/Languages/Python
URL: https://github.com/PyMySQL/PyMySQL/
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}
+# will be removed with next release
+BuildRequires: %{python_module unittest2}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: python-cryptography
BuildArch: noarch
%python_subpackages
@@ -53,8 +58,9 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-#%%check
-#NOTE(saschpe): Needs mysql server
+%check
+# Needs mysql server
+#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
%files %{python_files}
%license LICENSE
++++++ PyMySQL-0.8.1.tar.gz -> PyMySQL-0.9.3.tar.gz ++++++
++++ 3032 lines of diff (skipped)