Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-oslo.cache for openSUSE:Factory checked in at 2021-12-13 20:44:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-oslo.cache (Old) and /work/SRC/openSUSE:Factory/.python-oslo.cache.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.cache" Mon Dec 13 20:44:45 2021 rev:14 rq:940195 version:2.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-oslo.cache/python-oslo.cache.changes 2021-05-10 15:39:47.205464378 +0200 +++ /work/SRC/openSUSE:Factory/.python-oslo.cache.new.2520/python-oslo.cache.changes 2021-12-13 20:50:52.100653036 +0100 @@ -1,0 +2,15 @@ +Tue Oct 26 22:11:53 UTC 2021 - cloud-de...@suse.de + +- update to version 2.8.1 + - Add bug comment and fix nits + - Update master for stable/wallaby + - setup.cfg: Replace dashes with underscores + - Add Python3 xena unit tests + - Don't import module "etcd3gw" if etcd3gw backend is not used. + - Adding technical details about the memcache pool backend. + - Move flake8 as a pre-commit local target. + - Drop use of deprecated collections classes + - Dropping lower constraints testing. + - Use py3 as the default runtime for tox + +------------------------------------------------------------------- Old: ---- oslo.cache-2.7.0.tar.gz New: ---- oslo.cache-2.8.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-oslo.cache.spec ++++++ --- /var/tmp/diff_new_pack.vCwsJy/_old 2021-12-13 20:50:52.452653262 +0100 +++ /var/tmp/diff_new_pack.vCwsJy/_new 2021-12-13 20:50:52.456653264 +0100 @@ -17,13 +17,13 @@ Name: python-oslo.cache -Version: 2.7.0 +Version: 2.8.1 Release: 0 Summary: Cache storage for Openstack projects License: Apache-2.0 Group: Development/Languages/Python URL: https://docs.openstack.org/oslo.cache -Source0: https://files.pythonhosted.org/packages/source/o/oslo.cache/oslo.cache-2.7.0.tar.gz +Source0: https://files.pythonhosted.org/packages/source/o/oslo.cache/oslo.cache-2.8.1.tar.gz BuildRequires: openstack-macros BuildRequires: python3-dogpile.cache >= 1.1.2 BuildRequires: python3-mock @@ -71,7 +71,7 @@ Documentation for the OpenStack Oslo cache library. %prep -%autosetup -p1 -n oslo.cache-2.7.0 +%autosetup -p1 -n oslo.cache-2.8.1 %py_req_cleanup %build @@ -81,7 +81,7 @@ %{py3_install} # generate html docs -PBR_VERSION=2.7.0 %sphinx_build -b html doc/source doc/build/html +PBR_VERSION=2.8.1 %sphinx_build -b html doc/source doc/build/html # remove the sphinx-build leftovers rm -rf doc/build/html/.{doctrees,buildinfo} ++++++ _service ++++++ --- /var/tmp/diff_new_pack.vCwsJy/_old 2021-12-13 20:50:52.488653285 +0100 +++ /var/tmp/diff_new_pack.vCwsJy/_new 2021-12-13 20:50:52.492653287 +0100 @@ -1,8 +1,8 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/stable/wallaby/openstack/oslo.cache/oslo.cache.spec.j2</param> + <param name="input-template">https://opendev.org/openstack/rpm-packaging/raw/master/openstack/oslo.cache/oslo.cache.spec.j2</param> <param name="output-name">python-oslo.cache.spec</param> - <param name="requirements">https://opendev.org/openstack/oslo.cache/raw/branch/stable/wallaby/requirements.txt</param> + <param name="requirements">https://opendev.org/openstack/oslo.cache/raw/branch/stable/xena/requirements.txt</param> <param name="changelog-email">cloud-de...@suse.de</param> <param name="changelog-provider">gh,openstack,oslo.cache</param> </service> ++++++ oslo.cache-2.7.0.tar.gz -> oslo.cache-2.8.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-2.7.0/.pre-commit-config.yaml new/oslo.cache-2.8.1/.pre-commit-config.yaml --- old/oslo.cache-2.7.0/.pre-commit-config.yaml 2021-02-08 14:17:12.000000000 +0100 +++ new/oslo.cache-2.8.1/.pre-commit-config.yaml 2021-06-15 11:58:40.000000000 +0200 @@ -1,4 +1,3 @@ ---- # We from the Oslo project decided to pin repos based on the # commit hash instead of the version tag to prevend arbitrary # code from running in developer's machines. To update to a @@ -10,7 +9,7 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: ebc15addedad713c86ef18ae9632c88e187dd0af # v3.1.0 + rev: 9136088a246768144165fcc3ecc3d31bb686920a # v3.3.0 hooks: - id: trailing-whitespace # Replaces or checks mixed line ending @@ -28,9 +27,13 @@ - id: debug-statements - id: check-yaml files: .*\.(yaml|yml)$ - - repo: https://gitlab.com/pycqa/flake8 - rev: 181bb46098dddf7e2d45319ea654b4b4d58c2840 # 3.8.3 + - repo: local hooks: - id: flake8 + name: flake8 additional_dependencies: - hacking>=3.0.1,<3.1.0 + language: python + entry: flake8 + files: '^.*\.py$' + exclude: '^(doc|releasenotes|tools)/.*$' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-2.7.0/.zuul.yaml new/oslo.cache-2.8.1/.zuul.yaml --- old/oslo.cache-2.7.0/.zuul.yaml 2021-02-08 14:17:12.000000000 +0100 +++ new/oslo.cache-2.8.1/.zuul.yaml 2021-06-15 11:58:40.000000000 +0200 @@ -55,7 +55,7 @@ templates: - check-requirements - lib-forward-testing-python3 - - openstack-python3-wallaby-jobs + - openstack-python3-xena-jobs - periodic-stable-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-2.7.0/AUTHORS new/oslo.cache-2.8.1/AUTHORS --- old/oslo.cache-2.7.0/AUTHORS 2021-02-08 14:17:46.000000000 +0100 +++ new/oslo.cache-2.8.1/AUTHORS 2021-06-15 12:12:28.000000000 +0200 @@ -12,6 +12,7 @@ Brant Knudson <bknud...@us.ibm.com> ChangBo Guo(gcb) <eric....@easystack.cn> Corey Bryant <corey.bry...@canonical.com> +Daniel Bengtsson <dbe...@redhat.com> Davanum Srinivas <dava...@gmail.com> Dave Chen <wei.d.c...@intel.com> David Stanek <dsta...@dstanek.com> @@ -46,6 +47,7 @@ Matt Riedemann <mrie...@us.ibm.com> Matthew Thode <mth...@mthode.org> Michal Arbet <michal.ar...@ultimum.io> +Mitya_Eremeev <mitossv...@mail.ru> Mois??s Guimar??es de Medeiros <mogui...@redhat.com> Monty Taylor <mord...@inaugust.com> Morgan Fainberg <m...@metacloud.com> @@ -82,3 +84,4 @@ termie <git...@anarkystic.com> wangqi <wang...@99cloud.net> wangxiyuan <wangxiy...@huawei.com> +yangyawei <yangya...@inspur.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-2.7.0/ChangeLog new/oslo.cache-2.8.1/ChangeLog --- old/oslo.cache-2.7.0/ChangeLog 2021-02-08 14:17:46.000000000 +0100 +++ new/oslo.cache-2.8.1/ChangeLog 2021-06-15 12:12:28.000000000 +0200 @@ -1,10 +1,28 @@ CHANGES ======= +2.8.1 +----- + +* Don't import module "etcd3gw" if etcd3gw backend is not used + +2.8.0 +----- + +* setup.cfg: Replace dashes with underscores +* Move flake8 as a pre-commit local target +* Add Python3 xena unit tests +* Update master for stable/wallaby +* Adding technical details about the memcache pool backend +* Add bug comment and fix nits +* Dropping lower constraints testing + 2.7.0 ----- +* Drop use of deprecated collections classes * Add dogpile.cache.pymemcache backend +* Use py3 as the default runtime for tox * Do not hardcode flush\_on\_reconnect, move to oslo.cache config * Dropping lower constraints testing * Imported Translations from Zanata diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-2.7.0/PKG-INFO new/oslo.cache-2.8.1/PKG-INFO --- old/oslo.cache-2.7.0/PKG-INFO 2021-02-08 14:17:46.890604700 +0100 +++ new/oslo.cache-2.8.1/PKG-INFO 2021-06-15 12:12:28.266253500 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: oslo.cache -Version: 2.7.0 +Version: 2.8.1 Summary: Cache storage for OpenStack projects. Home-page: https://docs.openstack.org/oslo.cache/latest Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-2.7.0/lower-constraints.txt new/oslo.cache-2.8.1/lower-constraints.txt --- old/oslo.cache-2.7.0/lower-constraints.txt 2021-02-08 14:17:12.000000000 +0100 +++ new/oslo.cache-2.8.1/lower-constraints.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1,66 +0,0 @@ -appdirs==1.4.3 -certifi==2018.1.18 -cffi==1.13.1 -chardet==3.0.4 -cliff==3.1.0 -cmd2==0.8.9 -debtcollector==2.1.0 -decorator==4.4.2 -dogpile.cache==1.1.2 -entrypoints==0.3 -etcd3gw==0.2.0 -extras==1.0.0 -fixtures==3.0.0 -future==0.18.2 -futurist==2.2.0 -gitdb2==2.0.3 -GitPython==2.1.8 -idna==2.6 -iso8601==0.1.12 -keystoneauth1==3.4.0 -linecache2==1.0.0 -mock==4.0.2 -mox3==0.25.0 -msgpack==1.0.0 -netaddr==0.7.19 -netifaces==0.10.9 -os-client-config==1.29.0 -oslo.config==8.1.0 -oslo.context==3.1.0 -oslo.i18n==5.0.0 -oslo.log==4.2.1 -oslo.serialization==3.2.0 -oslo.utils==4.2.0 -oslotest==3.2.0 -pbr==3.1.1 -pifpaf==0.10.0 -prettytable==0.7.2 -pycparser==2.18 -pyinotify==0.9.6 -pymemcache==3.4.0 -pymongo==3.0.2 -pyparsing==2.2.0 -pyperclip==1.8.0 -python-binary-memcached==0.29.0 -python-dateutil==2.8.1 -python-memcached==1.56 -python-mimeparse==1.6.0 -python-subunit==1.2.0 -pytz==2020.1 -PyYAML==3.12 -requests==2.18.4 -requestsexceptions==1.4.0 -rfc3986==1.4.0 -six==1.11.0 -smmap2==2.0.3 -stestr==2.0.0 -stevedore==1.28.0 -testrepository==0.0.20 -testtools==2.3.0 -traceback2==1.4.0 -unittest2==1.1.0 -urllib3==1.22 -voluptuous==0.11.7 -wcwidth==0.2.4 -wrapt==1.12.1 -xattr==0.9.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-2.7.0/oslo.cache.egg-info/PKG-INFO new/oslo.cache-2.8.1/oslo.cache.egg-info/PKG-INFO --- old/oslo.cache-2.7.0/oslo.cache.egg-info/PKG-INFO 2021-02-08 14:17:46.000000000 +0100 +++ new/oslo.cache-2.8.1/oslo.cache.egg-info/PKG-INFO 2021-06-15 12:12:28.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: oslo.cache -Version: 2.7.0 +Version: 2.8.1 Summary: Cache storage for OpenStack projects. Home-page: https://docs.openstack.org/oslo.cache/latest Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-2.7.0/oslo.cache.egg-info/SOURCES.txt new/oslo.cache-2.8.1/oslo.cache.egg-info/SOURCES.txt --- old/oslo.cache-2.7.0/oslo.cache.egg-info/SOURCES.txt 2021-02-08 14:17:46.000000000 +0100 +++ new/oslo.cache-2.8.1/oslo.cache.egg-info/SOURCES.txt 2021-06-15 12:12:28.000000000 +0200 @@ -10,7 +10,6 @@ LICENSE README.rst bindep.txt -lower-constraints.txt requirements.txt setup.cfg setup.py @@ -99,6 +98,7 @@ releasenotes/source/unreleased.rst releasenotes/source/ussuri.rst releasenotes/source/victoria.rst +releasenotes/source/wallaby.rst releasenotes/source/_static/.placeholder releasenotes/source/_templates/.placeholder releasenotes/source/locale/de/LC_MESSAGES/releasenotes.po diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-2.7.0/oslo.cache.egg-info/pbr.json new/oslo.cache-2.8.1/oslo.cache.egg-info/pbr.json --- old/oslo.cache-2.7.0/oslo.cache.egg-info/pbr.json 2021-02-08 14:17:46.000000000 +0100 +++ new/oslo.cache-2.8.1/oslo.cache.egg-info/pbr.json 2021-06-15 12:12:28.000000000 +0200 @@ -1 +1 @@ -{"git_version": "062d29b", "is_release": true} \ No newline at end of file +{"git_version": "40946a9", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-2.7.0/oslo_cache/backends/etcd3gw.py new/oslo.cache-2.8.1/oslo_cache/backends/etcd3gw.py --- old/oslo.cache-2.7.0/oslo_cache/backends/etcd3gw.py 2021-02-08 14:17:12.000000000 +0100 +++ new/oslo.cache-2.8.1/oslo_cache/backends/etcd3gw.py 2021-06-15 11:58:40.000000000 +0200 @@ -14,7 +14,6 @@ """dogpile.cache backend that uses etcd 3.x for storage""" from dogpile.cache import api -import etcd3gw from oslo_cache import core from oslo_serialization import jsonutils @@ -40,6 +39,8 @@ self.host = arguments.get('host', self.DEFAULT_HOST) self.port = arguments.get('port', self.DEFAULT_PORT) self.timeout = int(arguments.get('timeout', self.DEFAULT_TIMEOUT)) + # module etcd3gw is only required when etcd3gw backend is used + import etcd3gw self._client = etcd3gw.client(host=self.host, port=self.port, timeout=self.timeout) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-2.7.0/oslo_cache/backends/memcache_pool.py new/oslo.cache-2.8.1/oslo_cache/backends/memcache_pool.py --- old/oslo.cache-2.7.0/oslo_cache/backends/memcache_pool.py 2021-02-08 14:17:12.000000000 +0100 +++ new/oslo.cache-2.8.1/oslo_cache/backends/memcache_pool.py 2021-06-15 11:58:40.000000000 +0200 @@ -36,7 +36,21 @@ class PooledMemcachedBackend(memcached_backend.MemcachedBackend): - """Memcached backend that does connection pooling.""" + """Memcached backend that does connection pooling. + + This memcached backend only allows for reuse of a client object, + prevents too many client object from being instantiated, and maintains + proper tracking of dead servers so as to limit delays when a server + (or all servers) become unavailable. + + This backend doesn't allow to load balance things between servers. + + Memcached isn't HA. Values aren't automatically replicated between servers + unless the client went out and wrote the value multiple time. + + The memcache server to use is determined by `python-memcached` itself by + picking the host to use (from the given server list) based on a key hash. + """ # Composed from GenericMemcachedBackend's and MemcacheArgs's __init__ def __init__(self, arguments): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-2.7.0/oslo_cache/core.py new/oslo.cache-2.8.1/oslo_cache/core.py --- old/oslo.cache-2.7.0/oslo_cache/core.py 2021-02-08 14:17:12.000000000 +0100 +++ new/oslo.cache-2.8.1/oslo_cache/core.py 2021-06-15 11:58:40.000000000 +0200 @@ -140,9 +140,9 @@ # backends. Use setdefault for url to support old-style setting through # backend_argument=url:127.0.0.1:11211 # - # NOTE(morgan): Explicitly set flush_on_reconnect for pooled - # connections. This should ensure that stale data is never consumed - # from a server that pops in/out due to a network partition + # NOTE(morgan): If requested by config, 'flush_on_reconnect' will be set + # for pooled connections. This can ensure that stale data is never + # consumed from a server that pops in/out due to a network partition # or disconnect. # # See the help from python-memcached: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-2.7.0/oslo_cache/tests/unit/test_cache_backend_mongo.py new/oslo.cache-2.8.1/oslo_cache/tests/unit/test_cache_backend_mongo.py --- old/oslo.cache-2.7.0/oslo_cache/tests/unit/test_cache_backend_mongo.py 2021-02-08 14:17:12.000000000 +0100 +++ new/oslo.cache-2.8.1/oslo_cache/tests/unit/test_cache_backend_mongo.py 2021-06-15 11:58:40.000000000 +0200 @@ -12,7 +12,7 @@ # License for the specific language governing permissions and limitations # under the License. -import collections +import collections.abc import copy import functools @@ -116,7 +116,7 @@ def find_one(self, spec_or_id=None, *args, **kwargs): if spec_or_id is None: spec_or_id = {} - if not isinstance(spec_or_id, collections.Mapping): + if not isinstance(spec_or_id, collections.abc.Mapping): spec_or_id = {'_id': spec_or_id} try: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-2.7.0/releasenotes/notes/bug-1888394-5a53e7a9cb25375b.yaml new/oslo.cache-2.8.1/releasenotes/notes/bug-1888394-5a53e7a9cb25375b.yaml --- old/oslo.cache-2.7.0/releasenotes/notes/bug-1888394-5a53e7a9cb25375b.yaml 2021-02-08 14:17:12.000000000 +0100 +++ new/oslo.cache-2.8.1/releasenotes/notes/bug-1888394-5a53e7a9cb25375b.yaml 2021-06-15 11:58:40.000000000 +0200 @@ -7,16 +7,15 @@ possible that the server will contain stale data. To avoid this, param flush_on_reconnect was used in code. - But unfortunatelly this option is causing another issue. + But unfortunately this option is causing another issue. If memcache server disappears, or client had broken connection to memcache server, clients start to flush server on reconnect. This means that network connections will go UP and can cause server to be overloaded until memcache will be unresponsive. - Simply said this option can cause loop of flushs and overloaded memcached servers. - This change is moving optional parameter `flush_on_reconnect` to oslo.cache config. - + Simply said this option can cause loops of flushes and overloaded memcached servers. + This change is moving optional parameter ``flush_on_reconnect`` to oslo.cache config. features: - Configuration option ``memcache_pool_flush_on_reconnect`` added to control if flush will be sent to memcached server after reconnect. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-2.7.0/releasenotes/source/index.rst new/oslo.cache-2.8.1/releasenotes/source/index.rst --- old/oslo.cache-2.7.0/releasenotes/source/index.rst 2021-02-08 14:17:12.000000000 +0100 +++ new/oslo.cache-2.8.1/releasenotes/source/index.rst 2021-06-15 11:58:40.000000000 +0200 @@ -6,6 +6,7 @@ :maxdepth: 1 unreleased + wallaby victoria ussuri train diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-2.7.0/releasenotes/source/wallaby.rst new/oslo.cache-2.8.1/releasenotes/source/wallaby.rst --- old/oslo.cache-2.7.0/releasenotes/source/wallaby.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslo.cache-2.8.1/releasenotes/source/wallaby.rst 2021-06-15 11:58:40.000000000 +0200 @@ -0,0 +1,6 @@ +============================ +Wallaby Series Release Notes +============================ + +.. release-notes:: + :branch: stable/wallaby diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-2.7.0/setup.cfg new/oslo.cache-2.8.1/setup.cfg --- old/oslo.cache-2.7.0/setup.cfg 2021-02-08 14:17:46.890604700 +0100 +++ new/oslo.cache-2.8.1/setup.cfg 2021-06-15 12:12:28.270253400 +0200 @@ -1,12 +1,12 @@ [metadata] name = oslo.cache summary = Cache storage for OpenStack projects. -description-file = +description_file = README.rst author = OpenStack -author-email = openstack-disc...@lists.openstack.org -home-page = https://docs.openstack.org/oslo.cache/latest -python-requires = >=3.6 +author_email = openstack-disc...@lists.openstack.org +home_page = https://docs.openstack.org/oslo.cache/latest +python_requires = >=3.6 classifier = Environment :: OpenStack Intended Audience :: Information Technology diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-2.7.0/tox.ini new/oslo.cache-2.8.1/tox.ini --- old/oslo.cache-2.7.0/tox.ini 2021-02-08 14:17:12.000000000 +0100 +++ new/oslo.cache-2.8.1/tox.ini 2021-06-15 11:58:40.000000000 +0200 @@ -1,6 +1,6 @@ [tox] minversion = 3.2.0 -envlist = py37,pep8 +envlist = py3,pep8 ignore_basepython_conflict = True [testenv] @@ -65,8 +65,3 @@ commands = rm -rf releasenotes/build sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html - -[testenv:lower-constraints] -deps = - -c{toxinidir}/lower-constraints.txt - -r{toxinidir}/test-requirements.txt