commit python-PyMySQL for openSUSE:Factory
Hello community, here is the log from the commit of package python-PyMySQL for openSUSE:Factory checked in at 2020-09-29 19:02:51 Comparing /work/SRC/openSUSE:Factory/python-PyMySQL (Old) and /work/SRC/openSUSE:Factory/.python-PyMySQL.new.4249 (New) Package is "python-PyMySQL" Tue Sep 29 19:02:51 2020 rev:14 rq:838337 version:0.10.0 Changes: --- /work/SRC/openSUSE:Factory/python-PyMySQL/python-PyMySQL.changes 2020-09-16 19:40:42.122891178 +0200 +++ /work/SRC/openSUSE:Factory/.python-PyMySQL.new.4249/python-PyMySQL.changes 2020-09-29 19:03:01.033861959 +0200 @@ -1,0 +2,6 @@ +Wed Sep 23 13:18:38 UTC 2020 - Hans-Peter Jansen + +- disable testing for Leaps + mariadb-rpm-macros not available or not sufficient + +--- Other differences: -- ++ python-PyMySQL.spec ++ --- /var/tmp/diff_new_pack.KBmUlg/_old 2020-09-29 19:03:01.645862702 +0200 +++ /var/tmp/diff_new_pack.KBmUlg/_new 2020-09-29 19:03:01.649862707 +0200 @@ -16,6 +16,13 @@ # +# mariadb-rpm-macros is either not available or not sufficient for Leaps +%if 0%{?suse_version} > 1500 +%bcond_without tests +%else +%bcond_with tests +%endif + %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-PyMySQL Version:0.10.0 @@ -28,7 +35,9 @@ BuildRequires: %{python_module cryptography} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +%if %{with tests} BuildRequires: mariadb-rpm-macros +%endif # will be removed with next release BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -58,6 +67,7 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%if %{with tests} %check exit_code=0 dbuser='db_user' @@ -90,6 +100,7 @@ # %mysql_testserver_stop exit $exit_code +%endif %files %{python_files} %license LICENSE
commit python-PyMySQL for openSUSE:Factory
Hello community, here is the log from the commit of package python-PyMySQL for openSUSE:Factory checked in at 2020-09-16 19:40:34 Comparing /work/SRC/openSUSE:Factory/python-PyMySQL (Old) and /work/SRC/openSUSE:Factory/.python-PyMySQL.new.4249 (New) Package is "python-PyMySQL" Wed Sep 16 19:40:34 2020 rev:13 rq:834872 version:0.10.0 Changes: --- /work/SRC/openSUSE:Factory/python-PyMySQL/python-PyMySQL.changes 2020-06-10 00:46:51.610700746 +0200 +++ /work/SRC/openSUSE:Factory/.python-PyMySQL.new.4249/python-PyMySQL.changes 2020-09-16 19:40:42.122891178 +0200 @@ -1,0 +2,18 @@ +Wed Sep 16 11:01:32 UTC 2020 - Dirk Mueller + +- 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) + +--- Old: PyMySQL-0.9.3.tar.gz python-PyMySQL-no-unittest2.patch New: PyMySQL-0.10.0.tar.gz Other differences: -- ++ python-PyMySQL.spec ++ --- /var/tmp/diff_new_pack.hiqn9n/_old 2020-09-16 19:40:42.818891961 +0200 +++ /var/tmp/diff_new_pack.hiqn9n/_new 2020-09-16 19:40:42.818891961 +0200 @@ -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 @@ %prep %setup -q -n PyMySQL-%{version} -%patch0 -p1 # remove unwanted shebang sed -i '1 { /^#!/ d }' pymysql/tests/thirdparty/test_MySQLdb/*.py ++ PyMySQL-0.9.3.tar.gz -> PyMySQL-0.10.0.tar.gz ++ 1618 lines of diff (skipped)
commit python-PyMySQL for openSUSE:Factory
Hello community, here is the log from the commit of package python-PyMySQL for openSUSE:Factory checked in at 2020-06-10 00:46:49 Comparing /work/SRC/openSUSE:Factory/python-PyMySQL (Old) and /work/SRC/openSUSE:Factory/.python-PyMySQL.new.3606 (New) Package is "python-PyMySQL" Wed Jun 10 00:46:49 2020 rev:12 rq:811739 version:0.9.3 Changes: --- /work/SRC/openSUSE:Factory/python-PyMySQL/python-PyMySQL.changes 2019-03-12 09:53:15.359539959 +0100 +++ /work/SRC/openSUSE:Factory/.python-PyMySQL.new.3606/python-PyMySQL.changes 2020-06-10 00:46:51.610700746 +0200 @@ -1,0 +2,8 @@ +Thu Jun 4 09:21:14 UTC 2020 - pgaj...@suse.com + +- test package with mariadb +- added patches + https://github.com/PyMySQL/PyMySQL/commit/a500fcd64d4500417540a2a2ff7b16a88d1872ad + + python-PyMySQL-no-unittest2.patch + +--- New: python-PyMySQL-no-unittest2.patch Other differences: -- ++ python-PyMySQL.spec ++ --- /var/tmp/diff_new_pack.dwKDDS/_old 2020-06-10 00:46:52.390702693 +0200 +++ /var/tmp/diff_new_pack.dwKDDS/_new 2020-06-10 00:46:52.394702703 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-PyMySQL # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,12 +24,14 @@ 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 +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 BuildRequires: %{python_module cryptography} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: mariadb-rpm-macros # will be removed with next release -BuildRequires: %{python_module unittest2} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-cryptography @@ -48,6 +50,7 @@ %prep %setup -q -n PyMySQL-%{version} +%patch0 -p1 # remove unwanted shebang sed -i '1 { /^#!/ d }' pymysql/tests/thirdparty/test_MySQLdb/*.py @@ -59,8 +62,37 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +exit_code=0 +dbuser='db_user' +dbuserpw='db_user_secret' +dbname1='test1' +dbname2='test2' # Needs mysql server #%%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v +cconf=abuild-myclient.cnf +# +# start the mariadb server +# +%mysql_testserver_start -u $dbuser -p $dbuserpw -d $dbname1:$dbname2 -t 3306 +# +# creating client config, see base.py +# +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"}] +EOF +# +# running the test +# +export USER="$dbuser" +export PASSWORD="$dbuserpw" +%pytest pymysql/tests || exit_code=1 +# +# stopping mariadb +# +%mysql_testserver_stop +exit $exit_code %files %{python_files} %license LICENSE ++ PyMySQL-0.9.3.tar.gz ++ 24469 lines of diff (skipped) ++ python-PyMySQL-no-unittest2.patch ++ Index: PyMySQL-0.9.3/pymysql/tests/__init__.py === --- PyMySQL-0.9.3.orig/pymysql/tests/__init__.py2018-06-27 09:28:18.0 +0200 +++ PyMySQL-0.9.3/pymysql/tests/__init__.py 2020-06-03 10:13:17.705278419 +0200 @@ -14,5 +14,5 @@ from pymysql.tests.test_optionfile impor from pymysql.tests.thirdparty import * if __name__ == "__main__": -import unittest2 -unittest2.main() +import unittest +unittest.main() Index: PyMySQL-0.9.3/pymysql/tests/base.py === --- PyMySQL-0.9.3.orig/pymysql/tests/base.py2018-12-17 13:00:21.0 +0100 +++ PyMySQL-0.9.3/pymysql/tests/base.py 2020-06-03 10:13:17.705278419 +0200 @@ -3,14 +3,33 @@ import json import os import re import warnings - -import unittest2 +import unittest import pymysql from .._compat import CPYTHON -class PyMySQLTestCase(unittest2.TestCase): +if CPYTHON: +import atexit +gc.set_debug(gc.DEBUG_UNCOLLECTABLE) + +@atexit.register +def report_uncollectable(): +import gc +if not gc.garbage: +print("No garbages!") +return +
commit python-PyMySQL for openSUSE:Factory
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)
commit python-PyMySQL for openSUSE:Factory
Hello community, here is the log from the commit of package python-PyMySQL for openSUSE:Factory checked in at 2018-05-29 10:42:58 Comparing /work/SRC/openSUSE:Factory/python-PyMySQL (Old) and /work/SRC/openSUSE:Factory/.python-PyMySQL.new (New) Package is "python-PyMySQL" Tue May 29 10:42:58 2018 rev:10 rq:611861 version:0.8.1 Changes: --- /work/SRC/openSUSE:Factory/python-PyMySQL/python-PyMySQL.changes 2017-08-18 15:04:30.513270999 +0200 +++ /work/SRC/openSUSE:Factory/.python-PyMySQL.new/python-PyMySQL.changes 2018-05-29 10:43:03.292622281 +0200 @@ -1,0 +2,32 @@ +Thu May 24 11:14:30 UTC 2018 - tchva...@suse.com + +- Drop not really needed python-devel dependency + +--- +Thu May 24 09:48:52 CEST 2018 - ku...@suse.de + +- use %license instead of %doc [bsc#1082318] +- update to latest version to solve MySQLdb interface problems with + salt-2018 +- update to 0.8.1 +* Reduce `cursor.callproc()` roundtrip time. (#636) +* Fixed `cursor.query()` is hunged after multi statement failed. (#647) +* WRONG_DB_NAME and WRONG_COLUMN_NAME is ProgrammingError for now. (#629) +* Many test suite improvements, especially adding MySQL 8.0 and using Docker. +* Droppped support for old Python and MySQL whih is not tested long time. +- update to 0.8 +* **BACKWARD INCOMPATIBLE** ``binary_prefix`` option is added and off + by default because of compatibility with mysqlclient. + When you need PyMySQL 0.7 behavior, you have to pass ``binary_prefix=True``. + (#549) +* **BACKWARD INCOMPATIBLE** ``MULTI_STATEMENTS`` client flag is no longer + set by default, while it was on PyMySQL 0.7. You need to pass + ``client_flag=CLIENT.MULTI_STATEMENTS`` when you connect to explicitly + enable multi-statement mode. (#590) +* Fixed AuthSwitch packet handling. +* Raise OperationalError for MariaDB's constraint error. (#607) +* executemany() accepts query without space between ``VALUES`` and ``(``. (#597) +* Support config file containing option without value. (#588) +* Fixed Connection.ping() returned unintended value. + +--- Old: PyMySQL-0.7.11.tar.gz New: PyMySQL-0.8.1.tar.gz Other differences: -- ++ python-PyMySQL.spec ++ --- /var/tmp/diff_new_pack.EQtR8e/_old 2018-05-29 10:43:03.808603238 +0200 +++ /var/tmp/diff_new_pack.EQtR8e/_new 2018-05-29 10:43:03.812603090 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-PyMySQL # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -18,19 +18,17 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-PyMySQL -Version:0.7.11 +Version:0.8.1 Release:0 Summary:Pure Python MySQL Driver License:MIT 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 -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -59,8 +57,8 @@ #NOTE(saschpe): Needs mysql server %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGELOG LICENSE README.rst +%license LICENSE +%doc CHANGELOG README.rst %{python_sitelib}/* %changelog ++ PyMySQL-0.7.11.tar.gz -> PyMySQL-0.8.1.tar.gz ++ 1958 lines of diff (skipped)
commit python-PyMySQL for openSUSE:Factory
Hello community, here is the log from the commit of package python-PyMySQL for openSUSE:Factory checked in at 2017-08-18 15:04:20 Comparing /work/SRC/openSUSE:Factory/python-PyMySQL (Old) and /work/SRC/openSUSE:Factory/.python-PyMySQL.new (New) Package is "python-PyMySQL" Fri Aug 18 15:04:20 2017 rev:9 rq:517107 version:0.7.11 Changes: --- /work/SRC/openSUSE:Factory/python-PyMySQL/python-PyMySQL.changes 2016-12-08 00:29:16.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-PyMySQL.new/python-PyMySQL.changes 2017-08-18 15:04:30.513270999 +0200 @@ -1,0 +2,25 @@ +Wed Aug 16 01:36:37 UTC 2017 - toddrme2...@gmail.com + +- Implement single-spec version +- update to 0.7.11 + * Fixed Connection.close() failed when failed to send COM_CLOSE packet. + * Cursor.executemany() accepts query ends with semicolon. + * ssl parameters can be read from my.cnf. +- update to 0.7.10 + * **SECURITY FIX**: Raise RuntimeError when received LOAD_LOCAL packet while +``loacal_infile=False``. (Thanks to Bryan Helmig) + * Raise SERVER_LOST error for MariaDB's shutdown packet (#540) + * Change default connect_timeout to 10. + * Add bind_address option (#529) +- update to 0.7.9 + * Fix PyMySQL stop reading rows when first column is empty string (#513) +Reverts DEPRECATE_EOF introduced in 0.7.7. +- update to 0.7.8 + * Revert error message change in 0.7.7. +(SQLAlchemy parses error message, #507) +- update to 0.7.7 + * Add new unicode collation (#498) + * Fix conv option is not used for encoding objects. + * Experimental support for DEPRECATE_EOF protocol. + +--- Old: PyMySQL-0.7.6.tar.gz New: PyMySQL-0.7.11.tar.gz Other differences: -- ++ python-PyMySQL.spec ++ --- /var/tmp/diff_new_pack.o9xpIu/_old 2017-08-18 15:04:33.028916689 +0200 +++ /var/tmp/diff_new_pack.o9xpIu/_new 2017-08-18 15:04:33.040914999 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-PyMySQL # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,28 +16,28 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-PyMySQL -Version:0.7.6 +Version:0.7.11 Release:0 Summary:Pure Python MySQL Driver License:MIT Group: Development/Languages/Python -Url:http://code.google.com/p/pymysql -Source: https://pypi.io/packages/source/P/PyMySQL/PyMySQL-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else +Url:https://github.com/PyMySQL/PyMySQL/ +Source: https://files.pythonhosted.org/packages/source/P/PyMySQL/PyMySQL-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch -%endif + +%python_subpackages %description This package contains a pure-Python MySQL client library. Documentation on the MySQL client/server protocol can be found here: -http://forge.mysql.com/wiki/MySQL_Internals_ClientServer_Protocol If you would -like to run the test suite, edit the config parameters in pymysql/tests/base.py. +http://forge.mysql.com/wiki/MySQL_Internals_ClientServer_Protocol + The goal of pymysql is to be a drop-in replacement for MySQLdb and work on CPython 2.3+, Jython, IronPython, PyPy and Python 3. We test for compatibility by simply changing the import statements in the Django MySQL backend and running @@ -49,15 +49,16 @@ sed -i '1 { /^#!/ d }' pymysql/tests/thirdparty/test_MySQLdb/*.py %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} #%%check #NOTE(saschpe): Needs mysql server -%files +%files %{python_files} %defattr(-,root,root,-) %doc CHANGELOG LICENSE README.rst %{python_sitelib}/* ++ PyMySQL-0.7.6.tar.gz -> PyMySQL-0.7.11.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyMySQL-0.7.6/CHANGELOG new/PyMySQL-0.7.11/CHANGELOG --- old/PyMySQL-0.7.6/CHANGELOG 2016-07-29 05:21:41.0 +0200 +++
commit python-PyMySQL for openSUSE:Factory
Hello community, here is the log from the commit of package python-PyMySQL for openSUSE:Factory checked in at 2016-12-08 00:29:15 Comparing /work/SRC/openSUSE:Factory/python-PyMySQL (Old) and /work/SRC/openSUSE:Factory/.python-PyMySQL.new (New) Package is "python-PyMySQL" Changes: --- /work/SRC/openSUSE:Factory/python-PyMySQL/python-PyMySQL.changes 2016-06-07 23:49:27.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-PyMySQL.new/python-PyMySQL.changes 2016-12-08 00:29:16.0 +0100 @@ -1,0 +2,13 @@ +Tue Nov 15 10:30:55 UTC 2016 - dmuel...@suse.com + +- update to 0.7.6: + * Fix SELECT JSON type cause UnicodeError + * Avoid float convertion while parsing microseconds + * Warning has number + * SSCursor supports warnings + * Fix exception raised while importing when getpwuid() fails (#472) + * SSCursor supports LOAD DATA LOCAL INFILE (#473) + * Fix encoding error happen for JSON type (#477) + * Fix test fail on Python 2.7 and MySQL 5.7 (#478) + +--- Old: PyMySQL-0.7.4.tar.gz New: PyMySQL-0.7.6.tar.gz Other differences: -- ++ python-PyMySQL.spec ++ --- /var/tmp/diff_new_pack.RPoUUi/_old 2016-12-08 00:29:17.0 +0100 +++ /var/tmp/diff_new_pack.RPoUUi/_new 2016-12-08 00:29:17.0 +0100 @@ -17,7 +17,7 @@ Name: python-PyMySQL -Version:0.7.4 +Version:0.7.6 Release:0 Summary:Pure Python MySQL Driver License:MIT ++ PyMySQL-0.7.4.tar.gz -> PyMySQL-0.7.6.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyMySQL-0.7.4/CHANGELOG new/PyMySQL-0.7.6/CHANGELOG --- old/PyMySQL-0.7.4/CHANGELOG 2016-05-26 06:13:18.0 +0200 +++ new/PyMySQL-0.7.6/CHANGELOG 2016-07-29 05:21:41.0 +0200 @@ -1,5 +1,23 @@ # Changes +## 0.7.6 + +Release date: 2016-07-29 + +* Fix SELECT JSON type cause UnicodeError +* Avoid float convertion while parsing microseconds +* Warning has number +* SSCursor supports warnings + +## 0.7.5 + +Release date: 2016-06-28 + +* Fix exception raised while importing when getpwuid() fails (#472) +* SSCursor supports LOAD DATA LOCAL INFILE (#473) +* Fix encoding error happen for JSON type (#477) +* Fix test fail on Python 2.7 and MySQL 5.7 (#478) + ## 0.7.4 Release date: 2016-05-26 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyMySQL-0.7.4/PKG-INFO new/PyMySQL-0.7.6/PKG-INFO --- old/PyMySQL-0.7.4/PKG-INFO 2016-05-26 06:14:55.0 +0200 +++ new/PyMySQL-0.7.6/PKG-INFO 2016-07-29 05:27:02.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: PyMySQL -Version: 0.7.4 +Version: 0.7.6 Summary: Pure Python MySQL Driver Home-page: https://github.com/PyMySQL/PyMySQL/ Author: INADA Naoki diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyMySQL-0.7.4/PyMySQL.egg-info/PKG-INFO new/PyMySQL-0.7.6/PyMySQL.egg-info/PKG-INFO --- old/PyMySQL-0.7.4/PyMySQL.egg-info/PKG-INFO 2016-05-26 06:14:54.0 +0200 +++ new/PyMySQL-0.7.6/PyMySQL.egg-info/PKG-INFO 2016-07-29 05:27:02.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: PyMySQL -Version: 0.7.4 +Version: 0.7.6 Summary: Pure Python MySQL Driver Home-page: https://github.com/PyMySQL/PyMySQL/ Author: INADA Naoki diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyMySQL-0.7.4/README.rst new/PyMySQL-0.7.6/README.rst --- old/PyMySQL-0.7.4/README.rst2016-05-26 06:05:45.0 +0200 +++ new/PyMySQL-0.7.6/README.rst2016-07-28 17:42:45.0 +0200 @@ -15,7 +15,8 @@ PyMySQL === -.. contents:: +.. contents:: Table of Contents + :local: This package contains a pure-Python MySQL client library. The goal of PyMySQL is to be a drop-in replacement for MySQLdb and work on CPython, PyPy and IronPython. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyMySQL-0.7.4/pymysql/__init__.py new/PyMySQL-0.7.6/pymysql/__init__.py --- old/PyMySQL-0.7.4/pymysql/__init__.py 2016-05-26 06:14:03.0 +0200 +++ new/PyMySQL-0.7.6/pymysql/__init__.py 2016-07-29 05:21:53.0 +0200 @@ -33,7 +33,7 @@ DateFromTicks, TimeFromTicks, TimestampFromTicks -VERSION = (0, 7, 4, None) +VERSION = (0, 7, 6, None) threadsafety = 1 apilevel = "2.0" paramstyle = "pyformat" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyMySQL-0.7.4/pymysql/charset.py new/PyMySQL-0.7.6/pymysql/charset.py --- old/PyMySQL-0.7.4/pymysql/charset.py2015-09-29 17:10:42.0 +0200 +++
commit python-PyMySQL for openSUSE:Factory
Hello community, here is the log from the commit of package python-PyMySQL for openSUSE:Factory checked in at 2016-06-07 23:49:26 Comparing /work/SRC/openSUSE:Factory/python-PyMySQL (Old) and /work/SRC/openSUSE:Factory/.python-PyMySQL.new (New) Package is "python-PyMySQL" Changes: --- /work/SRC/openSUSE:Factory/python-PyMySQL/python-PyMySQL.changes 2016-03-26 18:12:14.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-PyMySQL.new/python-PyMySQL.changes 2016-06-07 23:49:27.0 +0200 @@ -1,0 +2,17 @@ +Fri Jun 3 16:35:20 UTC 2016 - tbecht...@suse.com + +- update to 0.7.4: + * Fix AttributeError may happen while Connection.__del__ (#463) + * Fix SyntaxError in test_cursor. (#464) + * frozenset support for query value. (#461) + * Start using readthedocs.io + * Add read_timeout and write_timeout option. + * Support serialization customization by `conv` option. + * Unknown type is converted by `str()`, for MySQLdb compatibility. + * Support '%%' in `Cursor.executemany()` + * Support REPLACE statement in `Cursor.executemany()` + * Fix handling incomplete row caused by 'SHOW SLAVE HOSTS'. + * Fix decode error when use_unicode=False on PY3 + * Fix port option in my.cnf file is ignored. + +--- Old: PyMySQL-0.7.2.tar.gz New: PyMySQL-0.7.4.tar.gz Other differences: -- ++ python-PyMySQL.spec ++ --- /var/tmp/diff_new_pack.EQ1hhO/_old 2016-06-07 23:49:28.0 +0200 +++ /var/tmp/diff_new_pack.EQ1hhO/_new 2016-06-07 23:49:28.0 +0200 @@ -17,13 +17,13 @@ Name: python-PyMySQL -Version:0.7.2 +Version:0.7.4 Release:0 Summary:Pure Python MySQL Driver License:MIT Group: Development/Languages/Python Url:http://code.google.com/p/pymysql -Source: https://pypi.python.org/packages/source/P/PyMySQL/PyMySQL-%{version}.tar.gz +Source: https://pypi.io/packages/source/P/PyMySQL/PyMySQL-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build ++ PyMySQL-0.7.2.tar.gz -> PyMySQL-0.7.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyMySQL-0.7.2/CHANGELOG new/PyMySQL-0.7.4/CHANGELOG --- old/PyMySQL-0.7.2/CHANGELOG 2016-02-24 11:38:43.0 +0100 +++ new/PyMySQL-0.7.4/CHANGELOG 2016-05-26 06:13:18.0 +0200 @@ -1,5 +1,28 @@ # Changes +## 0.7.4 + +Release date: 2016-05-26 + +* Fix AttributeError may happen while Connection.__del__ (#463) +* Fix SyntaxError in test_cursor. (#464) +* frozenset support for query value. (#461) +* Start using readthedocs.io + +## 0.7.3 + +Release date: 2016-05-19 + +* Add read_timeout and write_timeout option. +* Support serialization customization by `conv` option. +* Unknown type is converted by `str()`, for MySQLdb compatibility. +* Support '%%' in `Cursor.executemany()` +* Support REPLACE statement in `Cursor.executemany()` +* Fix handling incomplete row caused by 'SHOW SLAVE HOSTS'. +* Fix decode error when use_unicode=False on PY3 +* Fix port option in my.cnf file is ignored. + + ## 0.7.2 Release date: 2016-02-24 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyMySQL-0.7.2/PKG-INFO new/PyMySQL-0.7.4/PKG-INFO --- old/PyMySQL-0.7.2/PKG-INFO 2016-02-24 11:40:57.0 +0100 +++ new/PyMySQL-0.7.4/PKG-INFO 2016-05-26 06:14:55.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: PyMySQL -Version: 0.7.2 +Version: 0.7.4 Summary: Pure Python MySQL Driver Home-page: https://github.com/PyMySQL/PyMySQL/ Author: INADA Naoki @@ -8,15 +8,14 @@ License: MIT Description: UNKNOWN Platform: UNKNOWN +Classifier: Development Status :: 5 - Production/Stable Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy -Classifier: Development Status :: 4 - Beta Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: MIT License Classifier: Topic :: Database diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyMySQL-0.7.2/PyMySQL.egg-info/PKG-INFO new/PyMySQL-0.7.4/PyMySQL.egg-info/PKG-INFO --- old/PyMySQL-0.7.2/PyMySQL.egg-info/PKG-INFO 2016-02-24 11:40:56.0 +0100 +++
commit python-PyMySQL for openSUSE:Factory
Hello community, here is the log from the commit of package python-PyMySQL for openSUSE:Factory checked in at 2016-03-26 15:29:00 Comparing /work/SRC/openSUSE:Factory/python-PyMySQL (Old) and /work/SRC/openSUSE:Factory/.python-PyMySQL.new (New) Package is "python-PyMySQL" Changes: --- /work/SRC/openSUSE:Factory/python-PyMySQL/python-PyMySQL.changes 2015-05-15 07:44:20.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-PyMySQL.new/python-PyMySQL.changes 2016-03-26 18:12:14.0 +0100 @@ -1,0 +2,39 @@ +Thu Mar 24 19:17:05 UTC 2016 - toddrme2...@gmail.com + +- Add license and docs + +--- +Thu Mar 24 19:12:11 UTC 2016 - toddrme2...@gmail.com + +- Update to 0.7.2 + * Fix misuse of `max_allowed_packet` parameter. (#426, #407 and #397) + * Add %(name)s plceholder support to `Cursor.executemany()`. (#427, thanks to +@WorldException) +- Update to 0.7.1 + * Fix auth fail with MySQL 5.1 + * Fix escaping unicode fails on Python 2 +- Update to 0.7 + * Faster binary escaping + * Add `"_binary" prefix` to string literal for binary types. +binary types are: `bytearray` on Python 2, `bytes` and `bytearray` on Python 3. +This is because recent MySQL show warnings when string literal is invalid for +connection encoding. + * `pymysql.Binary()` returns `bytearray` on Python 2. This is required to distinguish +binary and string. + * Auth plugin support. + * no_delay option is ignored. It will be removed in PyMySQL 0.8. +- Update to 0.6.7 + * Allow self signed certificate + * Add max_allowed_packet option + * Fix error when bytes in executemany + * Support geometry type + * Add coveralls badge to README + * Fix some bugs relating to warnings + * Add Cursor.mogrify() method + * no_delay option is deprecated and True by default + * Fix options from my.cnf overrides options from arguments + * Allow socket like object. (It's not feature for end users) + * Strip quotes while reading options from my.cnf file + * Fix encoding issue in executemany() + +--- Old: PyMySQL-0.6.6.tar.gz New: PyMySQL-0.7.2.tar.gz Other differences: -- ++ python-PyMySQL.spec ++ --- /var/tmp/diff_new_pack.FenpBL/_old 2016-03-26 18:12:15.0 +0100 +++ /var/tmp/diff_new_pack.FenpBL/_new 2016-03-26 18:12:15.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-PyMySQL # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -17,7 +17,7 @@ Name: python-PyMySQL -Version:0.6.6 +Version:0.7.2 Release:0 Summary:Pure Python MySQL Driver License:MIT @@ -59,6 +59,7 @@ %files %defattr(-,root,root,-) +%doc CHANGELOG LICENSE README.rst %{python_sitelib}/* %changelog ++ PyMySQL-0.6.6.tar.gz -> PyMySQL-0.7.2.tar.gz ++ 2528 lines of diff (skipped)
commit python-PyMySQL for openSUSE:Factory
Hello community, here is the log from the commit of package python-PyMySQL for openSUSE:Factory checked in at 2015-05-15 07:43:54 Comparing /work/SRC/openSUSE:Factory/python-PyMySQL (Old) and /work/SRC/openSUSE:Factory/.python-PyMySQL.new (New) Package is python-PyMySQL Changes: --- /work/SRC/openSUSE:Factory/python-PyMySQL/python-PyMySQL.changes 2013-10-10 08:27:12.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-PyMySQL.new/python-PyMySQL.changes 2015-05-15 07:44:20.0 +0200 @@ -1,0 +2,42 @@ +Mon May 11 16:53:18 UTC 2015 - benoit.mo...@gmx.fr + +- update to version 0.6.6: +Add context manager to cursor + * Fix can't encode blob that is not utf-8 on PY3. (regression of +0.6.4, Thanks to @wiggzz) +- additional changes from version 0.6.4 + * Support LOAD LOCAL INFILE. Thanks @wraziens + * Show MySQL warnings after execute query. + * Fix MySQLError may be wrapped with OperationalError while +connectiong. (#274) + * SSCursor no longer attempts to expire un-collected rows within +__del__, delaying termination of an interrupted program; +cleanup of uncollected rows is left to the Connection on next +execute, which emits a warning at that time. (#287) + * Support datetime and time with microsecond. (#303) + * Use surrogateescape to format bytes on Python 3. + * OperationalError raised from connect() have information about +original exception. (#304) + * `init_command` now support multi statement. + * `Connection.escape()` method now accepts second argument +compatible to MySQL-Python. +- additional changes from version 0.6.3 + * Fixed multiple result sets with SSCursor. + * Fixed connection timeout. + * Fixed literal set syntax to work on Py2.6. + * Allow for mysql negative values with 0 hour timedelta. + * Added Connection.begin(). +- additional changes from version 0.6.2 + * Fixed old password on Python 3. + * Added support for bulk insert in Cursor.executemany(). + * Added support for microseconds in datetimes and dates before +1900. + * Several other bug fixes. +- additional changes from version 0.6.1 + * Added cursor._last_executed for MySQLdb compatibility + * Cursor.fetchall() and .fetchmany now return list, not tuple + * Allow length of auth-plugin-data = 0 + * Cursor.connection references connection object without weakref +- remove unwanted shebang of python files in test_MySQLdb + +--- Old: PyMySQL-0.6.tar.gz New: PyMySQL-0.6.6.tar.gz Other differences: -- ++ python-PyMySQL.spec ++ --- /var/tmp/diff_new_pack.AH0ONs/_old 2015-05-15 07:44:21.0 +0200 +++ /var/tmp/diff_new_pack.AH0ONs/_new 2015-05-15 07:44:21.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-PyMySQL # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -17,7 +17,7 @@ Name: python-PyMySQL -Version:0.6 +Version:0.6.6 Release:0 Summary:Pure Python MySQL Driver License:MIT @@ -45,6 +45,8 @@ %prep %setup -q -n PyMySQL-%{version} +# remove unwanted shebang +sed -i '1 { /^#!/ d }' pymysql/tests/thirdparty/test_MySQLdb/*.py %build python setup.py build ++ PyMySQL-0.6.tar.gz - PyMySQL-0.6.6.tar.gz ++ 3699 lines of diff (skipped)
commit python-PyMySQL for openSUSE:Factory
Hello community, here is the log from the commit of package python-PyMySQL for openSUSE:Factory checked in at 2013-10-10 08:27:11 Comparing /work/SRC/openSUSE:Factory/python-PyMySQL (Old) and /work/SRC/openSUSE:Factory/.python-PyMySQL.new (New) Package is python-PyMySQL Changes: --- /work/SRC/openSUSE:Factory/python-PyMySQL/python-PyMySQL.changes 2013-07-22 14:51:31.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-PyMySQL.new/python-PyMySQL.changes 2013-10-10 08:27:12.0 +0200 @@ -1,0 +2,14 @@ +Wed Oct 9 12:32:51 UTC 2013 - dmuel...@suse.com + +- update to 0.6: + -Improved Py3k support + -Improved PyPy support + -Added IPv6 support + -Added Thing2Literal for Django/MySQLdb compatibility + -Removed errorhandler + -Fixed GC errors + -Improved test suite + -Many bug fixes + -Many performance improvements + +--- Old: PyMySQL-0.5.tar.gz New: PyMySQL-0.6.tar.gz Other differences: -- ++ python-PyMySQL.spec ++ --- /var/tmp/diff_new_pack.LE18Zy/_old 2013-10-10 08:27:13.0 +0200 +++ /var/tmp/diff_new_pack.LE18Zy/_new 2013-10-10 08:27:13.0 +0200 @@ -13,17 +13,19 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Name: python-PyMySQL -Version:0.5 +Version:0.6 Release:0 -License:MIT Summary:Pure Python MySQL Driver -Url:http://code.google.com/p/pymysql +License:MIT Group: Development/Languages/Python +Url:http://code.google.com/p/pymysql Source: https://pypi.python.org/packages/source/P/PyMySQL/PyMySQL-%{version}.tar.gz BuildRequires: python-devel +BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} 0%{?suse_version} = 1110 %{!?python_sitelib: %global python_sitelib %(python -c from distutils.sysconfig import get_python_lib; print get_python_lib())} ++ PyMySQL-0.5.tar.gz - PyMySQL-0.6.tar.gz ++ 5871 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org