Hello community,

here is the log from the commit of package python-oslo.cache for 
openSUSE:Factory checked in at 2019-02-26 22:18:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.cache (Old)
 and      /work/SRC/openSUSE:Factory/.python-oslo.cache.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-oslo.cache"

Tue Feb 26 22:18:43 2019 rev:6 rq:672173 version:1.30.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.cache/python-oslo.cache.changes      
2018-09-07 15:38:42.558580874 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-oslo.cache.new.28833/python-oslo.cache.changes
   2019-02-26 22:18:46.994142420 +0100
@@ -1,0 +2,10 @@
+Wed Feb  6 14:54:18 UTC 2019 - [email protected]
+
+- update to version 1.30.3
+  - Config dict arguments.url must be a list
+  - Switch to stestr
+  - Update .gitreview for stable/rocky
+  - import zuul job settings from project-config
+  - Only split url arg with memcache backend
+
+-------------------------------------------------------------------

Old:
----
  oslo.cache-1.30.1.tar.gz

New:
----
  oslo.cache-1.30.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-oslo.cache.spec ++++++
--- /var/tmp/diff_new_pack.RO4AnZ/_old  2019-02-26 22:18:48.046142062 +0100
+++ /var/tmp/diff_new_pack.RO4AnZ/_new  2019-02-26 22:18:48.054142059 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-oslo.cache
 #
-# 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,18 +12,18 @@
 # 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/
 #
 
 
 Name:           python-oslo.cache
-Version:        1.30.1
+Version:        1.30.3
 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.30.1.tar.gz
+Source0:        
https://files.pythonhosted.org/packages/source/o/oslo.cache/oslo.cache-1.30.3.tar.gz
 BuildRequires:  openstack-macros
 BuildRequires:  python-devel
 BuildRequires:  python2-dogpile.cache >= 0.6.2
@@ -37,6 +37,7 @@
 BuildRequires:  python2-pymongo
 BuildRequires:  python2-python-memcached
 BuildRequires:  python2-six >= 1.10.0
+BuildRequires:  python2-stestr
 BuildRequires:  python2-testrepository
 BuildRequires:  python3-devel
 BuildRequires:  python3-dogpile.cache >= 0.6.2
@@ -50,6 +51,7 @@
 BuildRequires:  python3-pymongo
 BuildRequires:  python3-python-memcached
 BuildRequires:  python3-six >= 1.10.0
+BuildRequires:  python3-stestr
 BuildRequires:  python3-testrepository
 Requires:       python-dogpile.cache >= 0.6.2
 Requires:       python-oslo.config >= 5.2.0
@@ -78,7 +80,7 @@
 Documentation for the OpenStack Oslo cache library.
 
 %prep
-%autosetup -p1 -n oslo.cache-1.30.1
+%autosetup -p1 -n oslo.cache-1.30.3
 %py_req_cleanup
 sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
 
@@ -89,14 +91,12 @@
 %{python_install}
 
 # generate html docs
-PBR_VERSION=1.30.1 sphinx-build -b html doc/source doc/build/html
+PBR_VERSION=1.30.3 sphinx-build -b html doc/source doc/build/html
 # remove the sphinx-build leftovers
 rm -rf doc/build/html/.{doctrees,buildinfo}
 
 %check
-%{python_expand rm -rf .testrepository
-$python setup.py testr
-}
+%python_exec -m stestr.cli run
 
 %files %{python_files}
 %license LICENSE

++++++ oslo.cache-1.30.1.tar.gz -> oslo.cache-1.30.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.cache-1.30.1/.stestr.conf 
new/oslo.cache-1.30.3/.stestr.conf
--- old/oslo.cache-1.30.1/.stestr.conf  1970-01-01 01:00:00.000000000 +0100
+++ new/oslo.cache-1.30.3/.stestr.conf  2019-01-29 10:51:19.000000000 +0100
@@ -0,0 +1,3 @@
+[DEFAULT]
+test_path=./oslo_cache/tests
+top_path=./
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.cache-1.30.1/.testr.conf 
new/oslo.cache-1.30.3/.testr.conf
--- old/oslo.cache-1.30.1/.testr.conf   2018-05-08 15:14:37.000000000 +0200
+++ new/oslo.cache-1.30.3/.testr.conf   1970-01-01 01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-[DEFAULT]
-test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
-             OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
-             OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
-             ${PYTHON:-python} -m subunit.run discover -t ./ ./oslo_cache 
$LISTOPT $IDOPTION
-test_id_option=--load-list $IDFILE
-test_list_option=--list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.cache-1.30.1/.zuul.yaml 
new/oslo.cache-1.30.3/.zuul.yaml
--- old/oslo.cache-1.30.1/.zuul.yaml    2018-05-08 15:14:37.000000000 +0200
+++ new/oslo.cache-1.30.3/.zuul.yaml    2019-01-29 10:51:24.000000000 +0100
@@ -5,3 +5,11 @@
     gate:
       jobs:
         - openstack-tox-lower-constraints
+    templates:
+      - openstack-python-jobs
+      - publish-openstack-docs-pti
+      - check-requirements
+      - openstack-python35-jobs
+      - lib-forward-testing
+      - release-notes-jobs-python3
+      - periodic-stable-jobs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.cache-1.30.1/AUTHORS 
new/oslo.cache-1.30.3/AUTHORS
--- old/oslo.cache-1.30.1/AUTHORS       2018-05-08 15:18:08.000000000 +0200
+++ new/oslo.cache-1.30.3/AUTHORS       2019-01-29 10:53:26.000000000 +0100
@@ -53,9 +53,9 @@
 Tony Breeds <[email protected]>
 Tovin Seven <[email protected]>
 Vincent Untz <[email protected]>
+Vu Cong Tuan <[email protected]>
 Yuriy Taraday <[email protected]>
 ZhongShengping <[email protected]>
-Zuul <[email protected]>
 avnish <[email protected]>
 kairat_kushaev <[email protected]>
 lingyongxu <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.cache-1.30.1/ChangeLog 
new/oslo.cache-1.30.3/ChangeLog
--- old/oslo.cache-1.30.1/ChangeLog     2018-05-08 15:18:08.000000000 +0200
+++ new/oslo.cache-1.30.3/ChangeLog     2019-01-29 10:53:26.000000000 +0100
@@ -1,6 +1,19 @@
 CHANGES
 =======
 
+1.30.3
+------
+
+* Only split url arg with memcache backend
+
+1.30.2
+------
+
+* Config dict arguments.url must be a list
+* import zuul job settings from project-config
+* Switch to stestr
+* Update .gitreview for stable/rocky
+
 1.30.1
 ------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.cache-1.30.1/PKG-INFO 
new/oslo.cache-1.30.3/PKG-INFO
--- old/oslo.cache-1.30.1/PKG-INFO      2018-05-08 15:18:09.000000000 +0200
+++ new/oslo.cache-1.30.3/PKG-INFO      2019-01-29 10:53:26.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: oslo.cache
-Version: 1.30.1
+Version: 1.30.3
 Summary: Cache storage for OpenStack projects.
 Home-page: https://docs.openstack.org/oslo.cache/latest
 Author: OpenStack
@@ -52,7 +52,7 @@
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.5
-Provides-Extra: etcd3gw
-Provides-Extra: dogpile
 Provides-Extra: test
 Provides-Extra: mongo
+Provides-Extra: dogpile
+Provides-Extra: etcd3gw
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.cache-1.30.1/lower-constraints.txt 
new/oslo.cache-1.30.3/lower-constraints.txt
--- old/oslo.cache-1.30.1/lower-constraints.txt 2018-05-08 15:14:37.000000000 
+0200
+++ new/oslo.cache-1.30.3/lower-constraints.txt 2019-01-29 10:51:19.000000000 
+0100
@@ -59,8 +59,8 @@
 rfc3986==1.1.0
 six==1.10.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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.cache-1.30.1/oslo.cache.egg-info/PKG-INFO 
new/oslo.cache-1.30.3/oslo.cache.egg-info/PKG-INFO
--- old/oslo.cache-1.30.1/oslo.cache.egg-info/PKG-INFO  2018-05-08 
15:18:08.000000000 +0200
+++ new/oslo.cache-1.30.3/oslo.cache.egg-info/PKG-INFO  2019-01-29 
10:53:26.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: oslo.cache
-Version: 1.30.1
+Version: 1.30.3
 Summary: Cache storage for OpenStack projects.
 Home-page: https://docs.openstack.org/oslo.cache/latest
 Author: OpenStack
@@ -52,7 +52,7 @@
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.5
-Provides-Extra: etcd3gw
-Provides-Extra: dogpile
 Provides-Extra: test
 Provides-Extra: mongo
+Provides-Extra: dogpile
+Provides-Extra: etcd3gw
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.cache-1.30.1/oslo.cache.egg-info/SOURCES.txt 
new/oslo.cache-1.30.3/oslo.cache.egg-info/SOURCES.txt
--- old/oslo.cache-1.30.1/oslo.cache.egg-info/SOURCES.txt       2018-05-08 
15:18:09.000000000 +0200
+++ new/oslo.cache-1.30.3/oslo.cache.egg-info/SOURCES.txt       2019-01-29 
10:53:26.000000000 +0100
@@ -1,6 +1,6 @@
 .coveragerc
 .mailmap
-.testr.conf
+.stestr.conf
 .zuul.yaml
 AUTHORS
 CONTRIBUTING.rst
@@ -65,6 +65,7 @@
 oslo_cache/tests/functional/__init__.py
 oslo_cache/tests/functional/test_cache_backend_etcd3gw.py
 releasenotes/notes/add_reno-3b4ae0789e9c45b4.yaml
+releasenotes/notes/bug-1743036-320ed918d5fb4325.yaml
 releasenotes/notes/etcd3gw_driver-8ba4511ae9553a91.yaml
 releasenotes/notes/memcache_socket_timeout-a7db772f052c107e.yaml
 releasenotes/source/conf.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.cache-1.30.1/oslo.cache.egg-info/pbr.json 
new/oslo.cache-1.30.3/oslo.cache.egg-info/pbr.json
--- old/oslo.cache-1.30.1/oslo.cache.egg-info/pbr.json  2018-05-08 
15:18:08.000000000 +0200
+++ new/oslo.cache-1.30.3/oslo.cache.egg-info/pbr.json  2019-01-29 
10:53:26.000000000 +0100
@@ -1 +1 @@
-{"git_version": "eedaff4", "is_release": true}
\ No newline at end of file
+{"git_version": "5f42092", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.cache-1.30.1/oslo.cache.egg-info/requires.txt 
new/oslo.cache-1.30.3/oslo.cache.egg-info/requires.txt
--- old/oslo.cache-1.30.1/oslo.cache.egg-info/requires.txt      2018-05-08 
15:18:08.000000000 +0200
+++ new/oslo.cache-1.30.3/oslo.cache.egg-info/requires.txt      2019-01-29 
10:53:26.000000000 +0100
@@ -20,3 +20,4 @@
 oslotest>=3.2.0
 pifpaf>=0.10.0
 bandit>=1.1.0
+stestr>=2.0.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.cache-1.30.1/oslo_cache/core.py 
new/oslo.cache-1.30.3/oslo_cache/core.py
--- old/oslo.cache-1.30.1/oslo_cache/core.py    2018-05-08 15:14:37.000000000 
+0200
+++ new/oslo.cache-1.30.3/oslo_cache/core.py    2019-01-29 10:51:19.000000000 
+0100
@@ -120,6 +120,18 @@
             continue
 
         arg_key = '.'.join([prefix, 'arguments', argname])
+        # NOTE(morgan): The handling of the URL data in memcache is bad and
+        # only takes cases where the values are a list. This explicitly
+        # checks for the base dogpile.cache.memcached backend and does the
+        # split if needed. Other backends such as redis get the same
+        # previous behavior. Overall the fact that the backends opaquely
+        # take data and do not handle processing/validation as expected
+        # 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'):
+            argvalue = argvalue.split(',')
         conf_dict[arg_key] = argvalue
 
         _LOG.debug('Oslo Cache Config: %s', conf_dict)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/oslo.cache-1.30.1/releasenotes/notes/bug-1743036-320ed918d5fb4325.yaml 
new/oslo.cache-1.30.3/releasenotes/notes/bug-1743036-320ed918d5fb4325.yaml
--- old/oslo.cache-1.30.1/releasenotes/notes/bug-1743036-320ed918d5fb4325.yaml  
1970-01-01 01:00:00.000000000 +0100
+++ new/oslo.cache-1.30.3/releasenotes/notes/bug-1743036-320ed918d5fb4325.yaml  
2019-01-29 10:51:19.000000000 +0100
@@ -0,0 +1,10 @@
+---
+other:
+  - >
+    [`bug 1743036 <https://bugs.launchpad.net/oslo.cache+bug/1743036>`_]
+    The `backend_argument` value(s) for `url` when configuring memcache did not
+    properly handle multiple servers. This is because the URL was passed as
+    a string (comma delimited) instead of a list to the memcache
+    library/client. The `url` argument is now special cased and will split
+    the string on a comma so that it mirrors the behavior of the ListOpt used
+    by `memcache_servers` option.
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.cache-1.30.1/test-requirements.txt 
new/oslo.cache-1.30.3/test-requirements.txt
--- old/oslo.cache-1.30.1/test-requirements.txt 2018-05-08 15:14:37.000000000 
+0200
+++ new/oslo.cache-1.30.3/test-requirements.txt 2019-01-29 10:51:19.000000000 
+0100
@@ -7,3 +7,4 @@
 pifpaf>=0.10.0 # Apache-2.0
 # Bandit security code scanner
 bandit>=1.1.0 # Apache-2.0
+stestr>=2.0.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.cache-1.30.1/tox.ini 
new/oslo.cache-1.30.3/tox.ini
--- old/oslo.cache-1.30.1/tox.ini       2018-05-08 15:14:37.000000000 +0200
+++ new/oslo.cache-1.30.3/tox.ini       2019-01-29 10:51:24.000000000 +0100
@@ -14,17 +14,17 @@
        -r{toxinidir}/test-requirements.txt
 commands =
     find . -type f -name "*.pyc" -delete
-    python setup.py testr --slowest --testr-args='{posargs}'
+    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 --  
python setup.py testr --slowest --testr-args='functional.*'
+    {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 --  
python setup.py testr --slowest --testr-args='functional.*'
+    {toxinidir}/tools/setup-etcd-env.sh pifpaf -e OSLO_CACHE_TEST run etcd --  
stestr run --slowest functional.*
 
 [testenv:pep8]
 basepython = python3
@@ -46,7 +46,14 @@
     sphinx-build -b html doc/source doc/build/html
 
 [testenv:cover]
-commands = python setup.py testr --coverage --testr-args='{posargs}'
+basepython = python3
+setenv =
+    PYTHON=coverage run --source $project --parallel-mode
+commands =
+    stestr run '{posargs}'
+    coverage combine
+    coverage html -d cover
+    coverage xml -o cover/coverage.xml
 
 [flake8]
 show-source = True


Reply via email to