Hello community, here is the log from the commit of package python-oslo.cache for openSUSE:Factory checked in at 2020-02-18 10:40:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-oslo.cache (Old) and /work/SRC/openSUSE:Factory/.python-oslo.cache.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.cache" Tue Feb 18 10:40:23 2020 rev:9 rq:774908 version:1.37.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-oslo.cache/python-oslo.cache.changes 2019-06-12 13:16:03.664705827 +0200 +++ /work/SRC/openSUSE:Factory/.python-oslo.cache.new.26092/python-oslo.cache.changes 2020-02-18 10:41:21.993062168 +0100 @@ -1,0 +2,20 @@ +Wed Oct 9 12:19:09 UTC 2019 - cloud-de...@suse.de + +- update to version 1.37.0 + - tox: Use the new hotness for constraints + - Lower the memcache_socket_timeout to one second + - Cap Bandit below 1.6.0 and update Sphinx requirement + - Pass `flush_on_reconnect` to memcache pooled backend + - add python 3.7 unit test job + - Dropping the py35 testing + - Avoid tox_install.sh for constraints support + - Replace git.openstack.org URLs with opendev.org URLs. + - OpenDev Migration Patch + - Pass server_max_value_length to memcached client + - Update hacking version + - Fix lower-constraints + - Add Python 3 Train unit tests + - Update master for stable/stein + - Remove stale comment in _memcache_pool + +------------------------------------------------------------------- Old: ---- oslo.cache-1.33.3.tar.gz New: ---- oslo.cache-1.37.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-oslo.cache.spec ++++++ --- /var/tmp/diff_new_pack.MuAOkp/_old 2020-02-18 10:41:22.981064184 +0100 +++ /var/tmp/diff_new_pack.MuAOkp/_new 2020-02-18 10:41:22.985064192 +0100 @@ -17,15 +17,14 @@ Name: python-oslo.cache -Version: 1.33.3 +Version: 1.37.0 Release: 0 Summary: Cache storage for Openstack projects License: Apache-2.0 Group: Development/Languages/Python URL: https://launchpad.net/%{sname} -Source0: https://files.pythonhosted.org/packages/source/o/oslo.cache/oslo.cache-1.33.3.tar.gz +Source0: https://files.pythonhosted.org/packages/source/o/oslo.cache/oslo.cache-1.37.0.tar.gz BuildRequires: openstack-macros -BuildRequires: python-devel BuildRequires: python2-dogpile.cache >= 0.6.2 BuildRequires: python2-mock BuildRequires: python2-oslo.config >= 5.2.0 @@ -38,7 +37,6 @@ BuildRequires: python2-python-memcached BuildRequires: python2-six >= 1.11.0 BuildRequires: python2-stestr -BuildRequires: python3-devel BuildRequires: python3-dogpile.cache >= 0.6.2 BuildRequires: python3-mock BuildRequires: python3-oslo.config >= 5.2.0 @@ -70,15 +68,15 @@ %package -n python-oslo.cache-doc Summary: Documentation for the OpenStack Oslo Cache library Group: Development/Languages/Python -BuildRequires: python-Sphinx -BuildRequires: python-openstackdocstheme -BuildRequires: python-sphinxcontrib-apidoc +BuildRequires: python3-Sphinx +BuildRequires: python3-openstackdocstheme +BuildRequires: python3-sphinxcontrib-apidoc %description -n python-oslo.cache-doc Documentation for the OpenStack Oslo cache library. %prep -%autosetup -p1 -n oslo.cache-1.33.3 +%autosetup -p1 -n oslo.cache-1.37.0 %py_req_cleanup %build @@ -88,7 +86,7 @@ %{python_install} # generate html docs -PBR_VERSION=1.33.3 sphinx-build -b html doc/source doc/build/html +PBR_VERSION=1.37.0 %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.MuAOkp/_old 2020-02-18 10:41:23.125064477 +0100 +++ /var/tmp/diff_new_pack.MuAOkp/_new 2020-02-18 10:41:23.137064502 +0100 @@ -1,8 +1,8 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/stein/openstack/oslo.cache/oslo.cache.spec.j2</param> + <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/train/openstack/oslo.cache/oslo.cache.spec.j2</param> <param name="output-name">python-oslo.cache.spec</param> - <param name="requirements">https://raw.githubusercontent.com/openstack/oslo.cache/stable/stein/requirements.txt</param> + <param name="requirements">https://raw.githubusercontent.com/openstack/oslo.cache/stable/train/requirements.txt</param> <param name="changelog-email">cloud-de...@suse.de</param> <param name="changelog-provider">gh,openstack,oslo.cache</param> </service> ++++++ oslo.cache-1.33.3.tar.gz -> oslo.cache-1.37.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/.zuul.yaml new/oslo.cache-1.37.0/.zuul.yaml --- old/oslo.cache-1.33.3/.zuul.yaml 2019-05-16 08:24:43.000000000 +0200 +++ new/oslo.cache-1.37.0/.zuul.yaml 2019-08-05 11:31:07.000000000 +0200 @@ -5,8 +5,7 @@ - lib-forward-testing-python3 - openstack-lower-constraints-jobs - openstack-python-jobs - - openstack-python35-jobs - - openstack-python36-jobs + - openstack-python3-train-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-1.33.3/AUTHORS new/oslo.cache-1.37.0/AUTHORS --- old/oslo.cache-1.33.3/AUTHORS 2019-05-16 08:26:54.000000000 +0200 +++ new/oslo.cache-1.37.0/AUTHORS 2019-08-05 11:31:50.000000000 +0200 @@ -3,6 +3,7 @@ Alexander Makarov <amaka...@mirantis.com> Andreas Jaeger <a...@suse.com> Andreas Jaeger <a...@suse.de> +Andrii Ostapenko <aostape...@mirantis.com> Anh Tran <an...@vn.fujitsu.com> Arun Kant <arun.k...@hp.com> Ben Nemec <bne...@redhat.com> @@ -10,6 +11,7 @@ Boris Bobrov <bbob...@mirantis.com> Brant Knudson <bknud...@us.ibm.com> ChangBo Guo(gcb) <eric....@easystack.cn> +Corey Bryant <corey.bry...@canonical.com> Davanum Srinivas <dava...@gmail.com> Dave Chen <wei.d.c...@intel.com> David Stanek <dsta...@dstanek.com> @@ -22,6 +24,7 @@ Eric Larson <eric.lar...@rackspace.com> Flavio Percoco <flape...@gmail.com> George Silvis, III <george.iii.sil...@gmail.com> +Ghanshyam Mann <gm...@ghanshyammann.com> Hervé Beraud <hber...@redhat.com> Ilya Pekelny <ipeke...@mirantis.com> James E. Blair <jebl...@hp.com> @@ -62,6 +65,7 @@ Yuriy Taraday <yorik....@gmail.com> ZhongShengping <chd...@163.com> avnish <avnish....@nectechnologies.in> +jacky06 <zhang....@99cloud.net> kairat_kushaev <kkush...@mirantis.com> lingyongxu <l...@fiberhome.com> loooosy <syluo5...@fiberhome.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/ChangeLog new/oslo.cache-1.37.0/ChangeLog --- old/oslo.cache-1.33.3/ChangeLog 2019-05-16 08:26:54.000000000 +0200 +++ new/oslo.cache-1.37.0/ChangeLog 2019-08-05 11:31:50.000000000 +0200 @@ -1,13 +1,35 @@ CHANGES ======= -1.33.3 +1.37.0 +------ + +* Lower the memcache\_socket\_timeout to one second +* Add Python 3 Train unit tests + +1.36.0 +------ + +* Pass server\_max\_value\_length to memcached client + +1.35.0 +------ + +* Cap Bandit below 1.6.0 and update Sphinx requirement +* Replace git.openstack.org URLs with opendev.org URLs +* tox: Use the new hotness for constraints +* Avoid tox\_install.sh for constraints support +* Fix lower-constraints + +1.34.0 ------ -* Pass \`flush\_on\_reconnect\` to memcache pooled backend * OpenDev Migration Patch -* Update UPPER\_CONSTRAINTS\_FILE for stable/stein -* Update .gitreview for stable/stein +* Dropping the py35 testing +* Pass \`flush\_on\_reconnect\` to memcache pooled backend +* Update master for stable/stein +* Update hacking version +* add python 3.7 unit test job 1.33.2 ------ @@ -18,6 +40,7 @@ ------ * fix dogpile.cache issue due to the new usage of decorate in the lib +* Remove stale comment in \_memcache\_pool 1.33.0 ------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/PKG-INFO new/oslo.cache-1.37.0/PKG-INFO --- old/oslo.cache-1.33.3/PKG-INFO 2019-05-16 08:26:54.000000000 +0200 +++ new/oslo.cache-1.37.0/PKG-INFO 2019-08-05 11:31:50.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: oslo.cache -Version: 1.33.3 +Version: 1.37.0 Summary: Cache storage for OpenStack projects. Home-page: https://docs.openstack.org/oslo.cache/latest Author: OpenStack @@ -37,7 +37,7 @@ * Free software: Apache license * Documentation: https://docs.openstack.org/oslo.cache/latest/ - * Source: https://git.openstack.org/cgit/openstack/oslo.cache/ + * Source: https://opendev.org/openstack/oslo.cache/ * Bugs: https://bugs.launchpad.net/oslo.cache * Release notes: https://docs.openstack.org/releasenotes/oslo.cache/ @@ -52,8 +52,9 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.5 -Provides-Extra: mongo -Provides-Extra: test +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 Provides-Extra: dogpile +Provides-Extra: test Provides-Extra: etcd3gw +Provides-Extra: mongo diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/README.rst new/oslo.cache-1.37.0/README.rst --- old/oslo.cache-1.33.3/README.rst 2019-05-16 08:24:43.000000000 +0200 +++ new/oslo.cache-1.37.0/README.rst 2019-08-05 11:31:07.000000000 +0200 @@ -29,6 +29,6 @@ * Free software: Apache license * Documentation: https://docs.openstack.org/oslo.cache/latest/ -* Source: https://git.openstack.org/cgit/openstack/oslo.cache/ +* Source: https://opendev.org/openstack/oslo.cache/ * Bugs: https://bugs.launchpad.net/oslo.cache * Release notes: https://docs.openstack.org/releasenotes/oslo.cache/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/doc/requirements.txt new/oslo.cache-1.37.0/doc/requirements.txt --- old/oslo.cache-1.33.3/doc/requirements.txt 2019-05-16 08:24:43.000000000 +0200 +++ new/oslo.cache-1.37.0/doc/requirements.txt 2019-08-05 11:31:07.000000000 +0200 @@ -4,11 +4,9 @@ # For generating sphinx documentation openstackdocstheme>=1.18.1 # Apache-2.0 -sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD reno>=2.5.0 # Apache-2.0 -python-memcached>=1.56 # PSF -pymongo!=3.1,>=3.0.2 # Apache-2.0 -etcd3gw>=0.2.0 # Apache-2.0 sphinxcontrib-apidoc>=0.2.0 # BSD # For autodoc builds diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/doc/source/configuration/index.rst new/oslo.cache-1.37.0/doc/source/configuration/index.rst --- old/oslo.cache-1.33.3/doc/source/configuration/index.rst 2019-05-16 08:24:43.000000000 +0200 +++ new/oslo.cache-1.37.0/doc/source/configuration/index.rst 2019-08-05 11:31:07.000000000 +0200 @@ -1,6 +1,6 @@ -======================= - Configuration Options -======================= +===================== +Configuration Options +===================== oslo.cache uses oslo.config to define and manage configuration options to allow the deployer to control how an application uses this library. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/doc/source/contributor/index.rst new/oslo.cache-1.37.0/doc/source/contributor/index.rst --- old/oslo.cache-1.33.3/doc/source/contributor/index.rst 2019-05-16 08:24:43.000000000 +0200 +++ new/oslo.cache-1.37.0/doc/source/contributor/index.rst 2019-08-05 11:31:07.000000000 +0200 @@ -1,5 +1,5 @@ -============== - Contributing -============== +============ +Contributing +============ .. include:: ../../../CONTRIBUTING.rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/doc/source/index.rst new/oslo.cache-1.37.0/doc/source/index.rst --- old/oslo.cache-1.33.3/doc/source/index.rst 2019-05-16 08:24:43.000000000 +0200 +++ new/oslo.cache-1.37.0/doc/source/index.rst 2019-08-05 11:31:07.000000000 +0200 @@ -1,6 +1,6 @@ -============ - oslo.cache -============ +========== +oslo.cache +========== Cache storage for OpenStack projects. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/doc/source/install/index.rst new/oslo.cache-1.37.0/doc/source/install/index.rst --- old/oslo.cache-1.33.3/doc/source/install/index.rst 2019-05-16 08:24:43.000000000 +0200 +++ new/oslo.cache-1.37.0/doc/source/install/index.rst 2019-08-05 11:31:07.000000000 +0200 @@ -1,6 +1,6 @@ -============== - Installation -============== +============ +Installation +============ At the command line:: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/doc/source/user/usage.rst new/oslo.cache-1.37.0/doc/source/user/usage.rst --- old/oslo.cache-1.33.3/doc/source/user/usage.rst 2019-05-16 08:24:43.000000000 +0200 +++ new/oslo.cache-1.37.0/doc/source/user/usage.rst 2019-08-05 11:31:07.000000000 +0200 @@ -1,6 +1,6 @@ -======= - Usage -======= +===== +Usage +===== A simple example of oslo.cache in use:: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/lower-constraints.txt new/oslo.cache-1.37.0/lower-constraints.txt --- old/oslo.cache-1.33.3/lower-constraints.txt 2019-05-16 08:24:43.000000000 +0200 +++ new/oslo.cache-1.37.0/lower-constraints.txt 2019-08-05 11:31:07.000000000 +0200 @@ -57,7 +57,7 @@ requests==2.18.4 requestsexceptions==1.4.0 rfc3986==1.1.0 -six==1.10.0 +six==1.11.0 smmap2==2.0.3 stestr==2.0.0 stevedore==1.28.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/oslo.cache.egg-info/PKG-INFO new/oslo.cache-1.37.0/oslo.cache.egg-info/PKG-INFO --- old/oslo.cache-1.33.3/oslo.cache.egg-info/PKG-INFO 2019-05-16 08:26:54.000000000 +0200 +++ new/oslo.cache-1.37.0/oslo.cache.egg-info/PKG-INFO 2019-08-05 11:31:50.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: oslo.cache -Version: 1.33.3 +Version: 1.37.0 Summary: Cache storage for OpenStack projects. Home-page: https://docs.openstack.org/oslo.cache/latest Author: OpenStack @@ -37,7 +37,7 @@ * Free software: Apache license * Documentation: https://docs.openstack.org/oslo.cache/latest/ - * Source: https://git.openstack.org/cgit/openstack/oslo.cache/ + * Source: https://opendev.org/openstack/oslo.cache/ * Bugs: https://bugs.launchpad.net/oslo.cache * Release notes: https://docs.openstack.org/releasenotes/oslo.cache/ @@ -52,8 +52,9 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.5 -Provides-Extra: mongo -Provides-Extra: test +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 Provides-Extra: dogpile +Provides-Extra: test Provides-Extra: etcd3gw +Provides-Extra: mongo diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/oslo.cache.egg-info/SOURCES.txt new/oslo.cache-1.37.0/oslo.cache.egg-info/SOURCES.txt --- old/oslo.cache-1.33.3/oslo.cache.egg-info/SOURCES.txt 2019-05-16 08:26:54.000000000 +0200 +++ new/oslo.cache-1.37.0/oslo.cache.egg-info/SOURCES.txt 2019-08-05 11:31:50.000000000 +0200 @@ -68,6 +68,7 @@ releasenotes/notes/bug-1743036-320ed918d5fb4325.yaml releasenotes/notes/bug-1819957-ccff6b0ec9d1cbf2.yaml releasenotes/notes/etcd3gw_driver-8ba4511ae9553a91.yaml +releasenotes/notes/lower_socket_timeout-ff5680a6be23bdb2.yaml releasenotes/notes/memcache_socket_timeout-a7db772f052c107e.yaml releasenotes/source/conf.py releasenotes/source/index.rst @@ -76,6 +77,7 @@ releasenotes/source/pike.rst releasenotes/source/queens.rst releasenotes/source/rocky.rst +releasenotes/source/stein.rst releasenotes/source/unreleased.rst releasenotes/source/_static/.placeholder releasenotes/source/_templates/.placeholder @@ -83,5 +85,4 @@ releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po releasenotes/source/locale/fr/LC_MESSAGES/releasenotes.po releasenotes/source/locale/ko_KR/LC_MESSAGES/releasenotes.po -tools/setup-etcd-env.sh -tools/tox_install.sh \ No newline at end of file +tools/setup-etcd-env.sh \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/oslo.cache.egg-info/pbr.json new/oslo.cache-1.37.0/oslo.cache.egg-info/pbr.json --- old/oslo.cache-1.33.3/oslo.cache.egg-info/pbr.json 2019-05-16 08:26:54.000000000 +0200 +++ new/oslo.cache-1.37.0/oslo.cache.egg-info/pbr.json 2019-08-05 11:31:50.000000000 +0200 @@ -1 +1 @@ -{"git_version": "aeb9577", "is_release": true} \ No newline at end of file +{"git_version": "f67262f", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/oslo.cache.egg-info/requires.txt new/oslo.cache-1.37.0/oslo.cache.egg-info/requires.txt --- old/oslo.cache-1.33.3/oslo.cache.egg-info/requires.txt 2019-05-16 08:26:54.000000000 +0200 +++ new/oslo.cache-1.37.0/oslo.cache.egg-info/requires.txt 2019-08-05 11:31:50.000000000 +0200 @@ -1,5 +1,5 @@ dogpile.cache>=0.6.2 -six>=1.10.0 +six>=1.11.0 oslo.config>=5.2.0 oslo.i18n>=3.15.3 oslo.log>=3.36.0 @@ -15,9 +15,12 @@ pymongo!=3.1,>=3.0.2 [test] -hacking!=0.13.0,<0.14,>=0.12.0 +hacking<1.2.0,>=1.1.0 mock>=2.0.0 oslotest>=3.2.0 pifpaf>=0.10.0 -bandit>=1.1.0 +bandit<1.6.0,>=1.1.0 stestr>=2.0.0 +python-memcached>=1.56 +pymongo!=3.1,>=3.0.2 +etcd3gw>=0.2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/oslo_cache/_memcache_pool.py new/oslo.cache-1.37.0/oslo_cache/_memcache_pool.py --- old/oslo.cache-1.33.3/oslo_cache/_memcache_pool.py 2019-05-16 08:24:43.000000000 +0200 +++ new/oslo.cache-1.37.0/oslo_cache/_memcache_pool.py 2019-08-05 11:31:07.000000000 +0200 @@ -15,9 +15,6 @@ """Thread-safe connection pool for python-memcached.""" -# NOTE(yorik-sar): this file is copied between keystone and keystonemiddleware -# and should be kept in sync until we can use external library for this. - import collections import contextlib import itertools diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/oslo_cache/_opts.py new/oslo.cache-1.37.0/oslo_cache/_opts.py --- old/oslo.cache-1.33.3/oslo_cache/_opts.py 2019-05-16 08:24:40.000000000 +0200 +++ new/oslo.cache-1.37.0/oslo_cache/_opts.py 2019-08-05 11:31:07.000000000 +0200 @@ -83,7 +83,7 @@ ' before it is tried again. (dogpile.cache.memcache and' ' oslo_cache.memcache_pool backends only).'), cfg.FloatOpt('memcache_socket_timeout', - default=3.0, + default=1.0, help='Timeout in seconds for every call to a server.' ' (dogpile.cache.memcache and oslo_cache.memcache_pool' ' backends only).'), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/oslo_cache/backends/etcd3gw.py new/oslo.cache-1.37.0/oslo_cache/backends/etcd3gw.py --- old/oslo.cache-1.33.3/oslo_cache/backends/etcd3gw.py 2019-05-16 08:24:43.000000000 +0200 +++ new/oslo.cache-1.37.0/oslo_cache/backends/etcd3gw.py 2019-08-05 11:31:07.000000000 +0200 @@ -17,9 +17,9 @@ from __future__ import absolute_import from dogpile.cache import api import etcd3gw -import json from oslo_cache import core +from oslo_serialization import jsonutils __all__ = [ 'Etcd3gwCacheBackend' @@ -50,7 +50,7 @@ values = self._client.get(key, False) if not values: return core.NO_VALUE - value, metadata = json.loads(values[0]) + value, metadata = jsonutils.loads(values[0]) return api.CachedValue(value, metadata) def get_multi(self, keys): @@ -65,7 +65,7 @@ if self.timeout: lease = self._client.lease(ttl=self.timeout) for key, value in mapping.items(): - self._client.put(key, json.dumps(value), lease) + self._client.put(key, jsonutils.dumps(value), lease) def delete(self, key): self._client.delete(key) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/oslo_cache/backends/memcache_pool.py new/oslo.cache-1.37.0/oslo_cache/backends/memcache_pool.py --- old/oslo.cache-1.33.3/oslo_cache/backends/memcache_pool.py 2019-05-16 08:24:40.000000000 +0200 +++ new/oslo.cache-1.37.0/oslo_cache/backends/memcache_pool.py 2019-08-05 11:31:07.000000000 +0200 @@ -46,6 +46,8 @@ arguments={ 'dead_retry': arguments.get('dead_retry', 5 * 60), 'socket_timeout': arguments.get('socket_timeout', 3.0), + 'server_max_value_length': + arguments.get('server_max_value_length'), }, maxsize=arguments.get('pool_maxsize', 10), unused_timeout=arguments.get('pool_unused_timeout', 60), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/oslo_cache/core.py new/oslo.cache-1.37.0/oslo_cache/core.py --- old/oslo.cache-1.33.3/oslo_cache/core.py 2019-05-16 08:24:43.000000000 +0200 +++ new/oslo.cache-1.37.0/oslo_cache/core.py 2019-08-05 11:31:07.000000000 +0200 @@ -129,8 +129,8 @@ # directly makes for odd behaviors when wrapping dogpile.cache in # a library like oslo.cache if (conf.cache.backend - in ('dogpile.cache.memcached', 'oslo_cache.memcache_pool') - and argname == 'url'): + in ('dogpile.cache.memcached', 'oslo_cache.memcache_pool') and + argname == 'url'): argvalue = argvalue.split(',') conf_dict[arg_key] = argvalue diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/releasenotes/notes/lower_socket_timeout-ff5680a6be23bdb2.yaml new/oslo.cache-1.37.0/releasenotes/notes/lower_socket_timeout-ff5680a6be23bdb2.yaml --- old/oslo.cache-1.33.3/releasenotes/notes/lower_socket_timeout-ff5680a6be23bdb2.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/oslo.cache-1.37.0/releasenotes/notes/lower_socket_timeout-ff5680a6be23bdb2.yaml 2019-08-05 11:31:07.000000000 +0200 @@ -0,0 +1,9 @@ +--- +upgrade: + - | + The default value for ``memcache_socket_timeout`` has been lowered from 3 + seconds to 1 second. The positive side-effect of this can be found in + downstream `changes + <https://github.com/crowbar/crowbar-openstack/pull/1429>`_. If you + deployment relies explicitly on a timeout of 3 seconds, please set that + override in your configuration. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/releasenotes/source/index.rst new/oslo.cache-1.37.0/releasenotes/source/index.rst --- old/oslo.cache-1.33.3/releasenotes/source/index.rst 2019-05-16 08:24:43.000000000 +0200 +++ new/oslo.cache-1.37.0/releasenotes/source/index.rst 2019-08-05 11:31:07.000000000 +0200 @@ -6,6 +6,7 @@ :maxdepth: 1 unreleased + stein rocky queens pike diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/releasenotes/source/stein.rst new/oslo.cache-1.37.0/releasenotes/source/stein.rst --- old/oslo.cache-1.33.3/releasenotes/source/stein.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslo.cache-1.37.0/releasenotes/source/stein.rst 2019-08-05 11:31:07.000000000 +0200 @@ -0,0 +1,6 @@ +=================================== + Stein Series Release Notes +=================================== + +.. release-notes:: + :branch: stable/stein diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/requirements.txt new/oslo.cache-1.37.0/requirements.txt --- old/oslo.cache-1.33.3/requirements.txt 2019-05-16 08:24:43.000000000 +0200 +++ new/oslo.cache-1.37.0/requirements.txt 2019-08-05 11:31:07.000000000 +0200 @@ -3,7 +3,7 @@ # process, which may cause wedges in the gate later. dogpile.cache>=0.6.2 # BSD -six>=1.10.0 # MIT +six>=1.11.0 # MIT oslo.config>=5.2.0 # Apache-2.0 oslo.i18n>=3.15.3 # Apache-2.0 oslo.log>=3.36.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/setup.cfg new/oslo.cache-1.37.0/setup.cfg --- old/oslo.cache-1.33.3/setup.cfg 2019-05-16 08:26:54.000000000 +0200 +++ new/oslo.cache-1.37.0/setup.cfg 2019-08-05 11:31:50.000000000 +0200 @@ -16,7 +16,8 @@ Programming Language :: Python :: 2 Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 - Programming Language :: Python :: 3.5 + Programming Language :: Python :: 3.6 + Programming Language :: Python :: 3.7 [files] packages = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/test-requirements.txt new/oslo.cache-1.37.0/test-requirements.txt --- old/oslo.cache-1.33.3/test-requirements.txt 2019-05-16 08:24:43.000000000 +0200 +++ new/oslo.cache-1.37.0/test-requirements.txt 2019-08-05 11:31:07.000000000 +0200 @@ -1,10 +1,13 @@ # The order of packages is significant, because pip processes them in the order # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 +hacking>=1.1.0,<1.2.0 # Apache-2.0 mock>=2.0.0 # BSD oslotest>=3.2.0 # Apache-2.0 pifpaf>=0.10.0 # Apache-2.0 # Bandit security code scanner -bandit>=1.1.0 # Apache-2.0 +bandit>=1.1.0,<1.6.0 # Apache-2.0 stestr>=2.0.0 # Apache-2.0 +python-memcached>=1.56 # PSF +pymongo!=3.1,>=3.0.2 # Apache-2.0 +etcd3gw>=0.2.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/tools/tox_install.sh new/oslo.cache-1.37.0/tools/tox_install.sh --- old/oslo.cache-1.33.3/tools/tox_install.sh 2019-05-16 08:24:43.000000000 +0200 +++ new/oslo.cache-1.37.0/tools/tox_install.sh 1970-01-01 01:00:00.000000000 +0100 @@ -1,35 +0,0 @@ -#!/usr/bin/env bash - -# Client constraint file contains this client version pin that is in conflict -# with installing the client from source. We should remove the version pin in -# the constraints file before applying it for from-source installation. - -CONSTRAINTS_FILE="$1" -shift 1 - -set -e - -# NOTE(tonyb): Place this in the tox enviroment's log dir so it will get -# published to logs.openstack.org for easy debugging. -localfile="$VIRTUAL_ENV/log/upper-constraints.txt" - -if [[ "$CONSTRAINTS_FILE" != http* ]]; then - CONSTRAINTS_FILE="file://$CONSTRAINTS_FILE" -fi -# NOTE(tonyb): need to add curl to bindep.txt if the project supports bindep -curl "$CONSTRAINTS_FILE" --insecure --progress-bar --output "$localfile" - -pip install -c"$localfile" openstack-requirements - -# This is the main purpose of the script: Allow local installation of -# the current repo. It is listed in constraints file and thus any -# install will be constrained and we need to unconstrain it. -edit-constraints "$localfile" -- "$CLIENT_NAME" - -if [ -z "$@" ]; then - echo "No packages to be installed." - exit 0 -fi - -pip install -c"$localfile" -U "$@" -exit $? diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.33.3/tox.ini new/oslo.cache-1.37.0/tox.ini --- old/oslo.cache-1.33.3/tox.ini 2019-05-16 08:24:43.000000000 +0200 +++ new/oslo.cache-1.37.0/tox.ini 2019-08-05 11:31:07.000000000 +0200 @@ -1,30 +1,26 @@ [tox] minversion = 2.0 -envlist = py35,py27,pypy,pep8 +envlist = py27,py37,pypy,pep8 [testenv] -setenv = - VIRTUAL_ENV={envdir} - BRANCH_NAME=master - CLIENT_NAME=oslo.cache -install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/stein} {opts} {packages} -deps = .[dogpile] - .[mongo] - .[etcd3gw] - -r{toxinidir}/test-requirements.txt +whitelist_externals = + find +deps = + -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -r{toxinidir}/test-requirements.txt commands = - find . -type f -name "*.pyc" -delete - stestr run --slowest {posargs} + find . -type f -name "*.pyc" -delete + stestr run --slowest {posargs} [testenv:py27-functional-etcd3gw] commands = - find . -type f -name "*.pyc" -delete - {toxinidir}/tools/setup-etcd-env.sh pifpaf -e OSLO_CACHE_TEST run etcd -- stestr run --slowest functional.* + find . -type f -name "*.pyc" -delete + {toxinidir}/tools/setup-etcd-env.sh pifpaf -e OSLO_CACHE_TEST run etcd -- stestr run --slowest functional.* [testenv:py35-functional-etcd3gw] commands = - find . -type f -name "*.pyc" -delete - {toxinidir}/tools/setup-etcd-env.sh pifpaf -e OSLO_CACHE_TEST run etcd -- stestr run --slowest functional.* + find . -type f -name "*.pyc" -delete + {toxinidir}/tools/setup-etcd-env.sh pifpaf -e OSLO_CACHE_TEST run etcd -- stestr run --slowest functional.* [testenv:pep8] basepython = python3 @@ -42,20 +38,22 @@ [testenv:docs] basepython = python3 whitelist_externals = rm -deps = -r{toxinidir}/doc/requirements.txt +deps = + {[testenv]deps} + -r{toxinidir}/doc/requirements.txt commands = - rm -fr doc/build - sphinx-build -b html doc/source doc/build/html + rm -fr doc/build + sphinx-build -b html doc/source doc/build/html [testenv:cover] basepython = python3 setenv = - PYTHON=coverage run --source oslo_cache --parallel-mode + PYTHON=coverage run --source oslo_cache --parallel-mode commands = - stestr run {posargs} - coverage combine - coverage html -d cover - coverage xml -o cover/coverage.xml + stestr run {posargs} + coverage combine + coverage html -d cover + coverage xml -o cover/coverage.xml [flake8] show-source = True @@ -69,11 +67,11 @@ [testenv:releasenotes] basepython = python3 deps = -r{toxinidir}/doc/requirements.txt -commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html +commands = + sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [testenv:lower-constraints] basepython = python3 deps = -c{toxinidir}/lower-constraints.txt -r{toxinidir}/test-requirements.txt - .[dogpile,mongo,etcd3gw]