Hello community, here is the log from the commit of package python-ZEO for openSUSE:Factory checked in at 2019-03-05 12:24:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ZEO (Old) and /work/SRC/openSUSE:Factory/.python-ZEO.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ZEO" Tue Mar 5 12:24:47 2019 rev:9 rq:681510 version:5.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ZEO/python-ZEO.changes 2018-07-31 16:04:26.116060333 +0200 +++ /work/SRC/openSUSE:Factory/.python-ZEO.new.28833/python-ZEO.changes 2019-03-05 12:24:50.088850341 +0100 @@ -1,0 +2,8 @@ +Mon Mar 4 14:10:06 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 5.2.1: + * Add support for Python 3.7. + * Switch from msgpack-python to msgpack. Currently a version < 0.6 is required. + * Stop calling the deprecated checkSecure method when creating a ClientStorage. With ZODB 5.2.2 and above, this issued a warning. With older versions, this could issue a log message, but this was considered a misfeature. See issue 134. + +------------------------------------------------------------------- Old: ---- ZEO-5.2.0.tar.gz New: ---- ZEO-5.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ZEO.spec ++++++ --- /var/tmp/diff_new_pack.uL6kSf/_old 2019-03-05 12:24:51.704849848 +0100 +++ /var/tmp/diff_new_pack.uL6kSf/_new 2019-03-05 12:24:51.708849847 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-ZEO # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -13,7 +13,7 @@ # 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/ # @@ -21,23 +21,23 @@ %define oldpython python %bcond_without test Name: python-ZEO -Version: 5.2.0 +Version: 5.2.1 Release: 0 Summary: Client-Server storage implementation for ZODB License: ZPL-2.1 Group: Development/Languages/Python -URL: https://pypi.org/project/ZEO/ +URL: https://github.com/zopefoundation/ZEO Source: https://files.pythonhosted.org/packages/source/Z/ZEO/ZEO-%{version}.tar.gz Source99: %{name}-rpmlintrc BuildRequires: %{python_module ZConfig} -BuildRequires: %{python_module ZODB >= 5.1.1} +BuildRequires: %{python_module ZODB >= 5.5.1} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: %{python_module zdaemon} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-ZConfig -Requires: python-ZODB >= 5.1.1 +Requires: python-ZODB >= 5.5.1 Requires: python-persistent >= 4.1.0 Requires: python-six Requires: python-transaction @@ -81,15 +81,13 @@ # remove unwanted shebang find src -name "*.py" | xargs sed -i '1 { /^#!/ d }' rm -rf src/ZEO.egg-info -# remove wrong module name, renamed upstream -sed -i -e 's:msgpack-python:msgpack:' setup.py %build %python_build %install %python_install -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/runzeo %python_clone -a %{buildroot}%{_bindir}/zeoctl ++++++ ZEO-5.2.0.tar.gz -> ZEO-5.2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ZEO-5.2.0/.travis.yml new/ZEO-5.2.1/.travis.yml --- old/ZEO-5.2.0/.travis.yml 2018-03-28 22:01:18.000000000 +0200 +++ new/ZEO-5.2.1/.travis.yml 2019-02-09 23:21:12.000000000 +0100 @@ -1,5 +1,4 @@ language: python -sudo: false matrix: include: - os: linux @@ -19,6 +18,20 @@ python: 3.6 env: ZEO_MSGPACK=1 ZEO_MTACCEPTOR=1 - os: linux + python: 3.7 + env: ZEO_MTACCEPTOR=1 + dist: xenial + - os: linux + python: 3.7 + env: ZEO_MSGPACK=1 ZEO_MTACCEPTOR=1 + dist: xenial + - os: linux + python: pypy3 + env: ZEO_MTACCEPTOR=1 + - os: linux + python: pypy3 + env: ZEO_MSGPACK=1 ZEO_MTACCEPTOR=1 + - os: linux python: 2.7 env: ZEO_MSGPACK=1 - os: linux @@ -37,6 +50,6 @@ directories: - eggs script: - - bin/test -vv -j99 + - bin/test -vv -j3 notifications: email: false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ZEO-5.2.0/CHANGES.rst new/ZEO-5.2.1/CHANGES.rst --- old/ZEO-5.2.0/CHANGES.rst 2018-03-28 22:01:18.000000000 +0200 +++ new/ZEO-5.2.1/CHANGES.rst 2019-02-09 23:21:12.000000000 +0100 @@ -1,6 +1,21 @@ Changelog ========= +5.2.1 (2019-02-09) +------------------ + +- Add support for Python 3.7. + +- Switch from ``msgpack-python`` to ``msgpack``. Currently a version < 0.6 + is required. + +- Stop calling the deprecated ``checkSecure`` method when creating a + ``ClientStorage``. With ZODB 5.2.2 and above, this issued a warning. + With older versions, this *could* issue a log message, but this was + considered `a misfeature + <https://github.com/zopefoundation/ZODB/issues/155>`_. See `issue + 134 <https://github.com/zopefoundation/ZEO/issues/134>`_. + 5.2.0 (2018-03-28) ------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ZEO-5.2.0/PKG-INFO new/ZEO-5.2.1/PKG-INFO --- old/ZEO-5.2.0/PKG-INFO 2018-03-28 22:01:19.000000000 +0200 +++ new/ZEO-5.2.1/PKG-INFO 2019-02-09 23:21:12.000000000 +0100 @@ -1,6 +1,6 @@ -Metadata-Version: 1.1 +Metadata-Version: 2.1 Name: ZEO -Version: 5.2.0 +Version: 5.2.1 Summary: ZEO - Single-server client-server database server for ZODB Home-page: https://github.com/zopefoundation/ZEO Author: Zope Foundation and Contributors @@ -355,7 +355,7 @@ authenticate The path to a file or directory containing client certificates - to authenticate. ((See the ``cafile`` and ``capath`` + to authenticate. (See the ``cafile`` and ``capath`` parameters in the Python documentation for ``ssl.SSLContext.load_verify_locations``.) @@ -665,7 +665,7 @@ authenticate The path to a file or directory containing server certificates - to authenticate. ((See the ``cafile`` and ``capath`` + to authenticate. (See the ``cafile`` and ``capath`` parameters in the Python documentation for ``ssl.SSLContext.load_verify_locations``.) @@ -689,6 +689,21 @@ Changelog ========= + 5.2.1 (2019-02-09) + ------------------ + + - Add support for Python 3.7. + + - Switch from ``msgpack-python`` to ``msgpack``. Currently a version < 0.6 + is required. + + - Stop calling the deprecated ``checkSecure`` method when creating a + ``ClientStorage``. With ZODB 5.2.2 and above, this issued a warning. + With older versions, this *could* issue a log message, but this was + considered `a misfeature + <https://github.com/zopefoundation/ZODB/issues/155>`_. See `issue + 134 <https://github.com/zopefoundation/ZEO/issues/134>`_. + 5.2.0 (2018-03-28) ------------------ @@ -993,6 +1008,8 @@ Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Topic :: Database @@ -1000,3 +1017,7 @@ Classifier: Operating System :: Microsoft :: Windows Classifier: Operating System :: Unix Classifier: Framework :: ZODB +Requires-Python: >=2.7.9,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.* +Provides-Extra: uvloop +Provides-Extra: msgpack +Provides-Extra: test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ZEO-5.2.0/README.rst new/ZEO-5.2.1/README.rst --- old/ZEO-5.2.0/README.rst 2018-03-28 22:01:18.000000000 +0200 +++ new/ZEO-5.2.1/README.rst 2019-02-09 23:21:12.000000000 +0100 @@ -347,7 +347,7 @@ authenticate The path to a file or directory containing client certificates - to authenticate. ((See the ``cafile`` and ``capath`` + to authenticate. (See the ``cafile`` and ``capath`` parameters in the Python documentation for ``ssl.SSLContext.load_verify_locations``.) @@ -657,7 +657,7 @@ authenticate The path to a file or directory containing server certificates - to authenticate. ((See the ``cafile`` and ``capath`` + to authenticate. (See the ``cafile`` and ``capath`` parameters in the Python documentation for ``ssl.SSLContext.load_verify_locations``.) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ZEO-5.2.0/setup.cfg new/ZEO-5.2.1/setup.cfg --- old/ZEO-5.2.0/setup.cfg 2018-03-28 22:01:19.000000000 +0200 +++ new/ZEO-5.2.1/setup.cfg 2019-02-09 23:21:12.000000000 +0100 @@ -4,5 +4,4 @@ [egg_info] tag_build = tag_date = 0 -tag_svn_revision = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ZEO-5.2.0/setup.py new/ZEO-5.2.1/setup.py --- old/ZEO-5.2.0/setup.py 2018-03-28 22:01:18.000000000 +0200 +++ new/ZEO-5.2.1/setup.py 2019-02-09 23:21:12.000000000 +0100 @@ -11,7 +11,7 @@ # FOR A PARTICULAR PURPOSE. # ############################################################################## -version = '5.2.0' +version = '5.2.1' from setuptools import setup, find_packages import os @@ -28,11 +28,14 @@ ] tests_require = [ + # We rely on implementation details of + # test mocks. See https://github.com/zopefoundation/ZODB/pull/222 + 'ZODB >= 5.5.1', 'zope.testing', 'manuel', 'random2', 'mock', - 'msgpack-python', + 'msgpack < 0.6', 'zope.testrunner', ] @@ -44,6 +47,8 @@ Programming Language :: Python :: 3 Programming Language :: Python :: 3.4 Programming Language :: Python :: 3.5 +Programming Language :: Python :: 3.6 +Programming Language :: Python :: 3.7 Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: PyPy Topic :: Database diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ZEO-5.2.0/src/ZEO/ClientStorage.py new/ZEO-5.2.1/src/ZEO/ClientStorage.py --- old/ZEO-5.2.0/src/ZEO/ClientStorage.py 2018-03-28 22:01:18.000000000 +0200 +++ new/ZEO-5.2.1/src/ZEO/ClientStorage.py 2019-02-09 23:21:12.000000000 +0100 @@ -249,7 +249,6 @@ self.fshelper = ZODB.blob.FilesystemHelper( blob_dir, layout_name='zeocache') self.fshelper.create() - self.fshelper.checkSecure() else: self.fshelper = None diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ZEO-5.2.0/src/ZEO/asyncio/testing.py new/ZEO-5.2.1/src/ZEO/asyncio/testing.py --- old/ZEO-5.2.0/src/ZEO/asyncio/testing.py 2018-03-28 22:01:18.000000000 +0200 +++ new/ZEO-5.2.1/src/ZEO/asyncio/testing.py 2019-02-09 23:21:12.000000000 +0100 @@ -24,7 +24,10 @@ self.later = [] self.exceptions = [] - def call_soon(self, func, *args): + def call_soon(self, func, *args, **kw): + # Python 3.7+ calls us with a `context` keyword-only argument: + kw.pop('context', None) + assert not kw func(*args) def _connect(self, future, protocol_factory): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ZEO-5.2.0/src/ZEO/tests/testZEO.py new/ZEO-5.2.1/src/ZEO/tests/testZEO.py --- old/ZEO-5.2.0/src/ZEO/tests/testZEO.py 2018-03-28 22:01:18.000000000 +0200 +++ new/ZEO-5.2.1/src/ZEO/tests/testZEO.py 2019-02-09 23:21:12.000000000 +0100 @@ -355,6 +355,29 @@ ): """Extend GenericTests with tests that MappingStorage can't pass.""" + def checkPackUndoLog(self): + # PackableStorage.PackableUndoStorage wants to adjust + # time.sleep and time.time to cooperate and pretend for time + # to pass. That doesn't work for the spawned server, and this + # test case is very sensitive to times matching. + super_meth = super(FullGenericTests, self).checkPackUndoLog + # Find the underlying function, not the decorated method. + # If it doesn't exist, the implementation has changed and we + # need to revisit this... + try: + underlying_func = super_meth.__wrapped__ + except AttributeError: + # ...unless we're on Python 2, which doesn't have the __wrapped__ + # attribute. + if bytes is not str: # pragma: no cover Python 3 + raise + unbound_func = PackableStorage.PackableUndoStorage.checkPackUndoLog + wrapper_func = unbound_func.__func__ + underlying_func = wrapper_func.func_closure[0].cell_contents + + underlying_func(self) + + class FileStorageRecoveryTests(StorageTestBase.StorageTestBase, RecoveryStorage.RecoveryStorage): @@ -432,6 +455,7 @@ self._storage._info['interfaces'] ) + class FileStorageSSLTests(FileStorageTests): def getZEOConfig(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ZEO-5.2.0/src/ZEO.egg-info/PKG-INFO new/ZEO-5.2.1/src/ZEO.egg-info/PKG-INFO --- old/ZEO-5.2.0/src/ZEO.egg-info/PKG-INFO 2018-03-28 22:01:18.000000000 +0200 +++ new/ZEO-5.2.1/src/ZEO.egg-info/PKG-INFO 2019-02-09 23:21:12.000000000 +0100 @@ -1,6 +1,6 @@ -Metadata-Version: 1.1 +Metadata-Version: 2.1 Name: ZEO -Version: 5.2.0 +Version: 5.2.1 Summary: ZEO - Single-server client-server database server for ZODB Home-page: https://github.com/zopefoundation/ZEO Author: Zope Foundation and Contributors @@ -355,7 +355,7 @@ authenticate The path to a file or directory containing client certificates - to authenticate. ((See the ``cafile`` and ``capath`` + to authenticate. (See the ``cafile`` and ``capath`` parameters in the Python documentation for ``ssl.SSLContext.load_verify_locations``.) @@ -665,7 +665,7 @@ authenticate The path to a file or directory containing server certificates - to authenticate. ((See the ``cafile`` and ``capath`` + to authenticate. (See the ``cafile`` and ``capath`` parameters in the Python documentation for ``ssl.SSLContext.load_verify_locations``.) @@ -689,6 +689,21 @@ Changelog ========= + 5.2.1 (2019-02-09) + ------------------ + + - Add support for Python 3.7. + + - Switch from ``msgpack-python`` to ``msgpack``. Currently a version < 0.6 + is required. + + - Stop calling the deprecated ``checkSecure`` method when creating a + ``ClientStorage``. With ZODB 5.2.2 and above, this issued a warning. + With older versions, this *could* issue a log message, but this was + considered `a misfeature + <https://github.com/zopefoundation/ZODB/issues/155>`_. See `issue + 134 <https://github.com/zopefoundation/ZEO/issues/134>`_. + 5.2.0 (2018-03-28) ------------------ @@ -993,6 +1008,8 @@ Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Topic :: Database @@ -1000,3 +1017,7 @@ Classifier: Operating System :: Microsoft :: Windows Classifier: Operating System :: Unix Classifier: Framework :: ZODB +Requires-Python: >=2.7.9,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.* +Provides-Extra: uvloop +Provides-Extra: msgpack +Provides-Extra: test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ZEO-5.2.0/src/ZEO.egg-info/requires.txt new/ZEO-5.2.1/src/ZEO.egg-info/requires.txt --- old/ZEO-5.2.0/src/ZEO.egg-info/requires.txt 2018-03-28 22:01:18.000000000 +0200 +++ new/ZEO-5.2.1/src/ZEO.egg-info/requires.txt 2019-02-09 23:21:12.000000000 +0100 @@ -1,7 +1,7 @@ -ZODB >= 5.1.1 +ZODB>=5.1.1 six -transaction >= 2.0.3 -persistent >= 4.1.0 +transaction>=2.0.3 +persistent>=4.1.0 zc.lockfile ZConfig zdaemon @@ -15,12 +15,13 @@ msgpack-python [test] +ZODB>=5.5.1 zope.testing manuel random2 mock -msgpack-python +msgpack<0.6 zope.testrunner [uvloop] -uvloop >=0.5.1 +uvloop>=0.5.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ZEO-5.2.0/tox.ini new/ZEO-5.2.1/tox.ini --- old/ZEO-5.2.0/tox.ini 2018-03-28 22:01:18.000000000 +0200 +++ new/ZEO-5.2.1/tox.ini 2019-02-09 23:21:12.000000000 +0100 @@ -1,6 +1,6 @@ [tox] envlist = - py27,py34,py35,simple + py27,py34,py35,py36,py37,pypy,pypy3,simple [testenv] commands =