Hello community,

here is the log from the commit of package python-tooz for openSUSE:Factory 
checked in at 2020-06-05 20:16:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tooz (Old)
 and      /work/SRC/openSUSE:Factory/.python-tooz.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tooz"

Fri Jun  5 20:16:18 2020 rev:11 rq:803611 version:2.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tooz/python-tooz.changes  2019-12-04 
14:18:42.382361127 +0100
+++ /work/SRC/openSUSE:Factory/.python-tooz.new.3606/python-tooz.changes        
2020-06-05 20:20:19.407888786 +0200
@@ -1,0 +2,12 @@
+Tue May 12 09:45:44 UTC 2020 - [email protected]
+
+- update to version 2.1.0
+  - Fix membership lease issue on the etcd3gw driver
+  - RedisLock release() should not check if the lock has been acquired
+  - Add shared arg in metaclass Lock
+  - [ussuri][goal] Drop python 2.7 support and testing
+  - Drop os-testr test-requirement and pretty_tox.sh
+  - Update master for stable/train
+  - Avoid redis lock's expire_time exceeding timeout.
+
+-------------------------------------------------------------------

Old:
----
  tooz-1.66.2.tar.gz

New:
----
  tooz-2.1.0.tar.gz

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

Other differences:
------------------
++++++ python-tooz.spec ++++++
--- /var/tmp/diff_new_pack.G1x6RL/_old  2020-06-05 20:20:23.107901368 +0200
+++ /var/tmp/diff_new_pack.G1x6RL/_new  2020-06-05 20:20:23.107901368 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-tooz
 #
-# 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
@@ -20,30 +20,15 @@
 %global rdo 1
 %endif
 Name:           python-tooz
-Version:        1.66.2
+Version:        2.1.0
 Release:        0
 Summary:        Coordination library for distributed systems
 License:        Apache-2.0
 Group:          Development/Languages/Python
 URL:            https://docs.openstack.org/developer/tooz/
-Source0:        
https://files.pythonhosted.org/packages/source/t/tooz/tooz-1.66.2.tar.gz
+Source0:        
https://files.pythonhosted.org/packages/source/t/tooz/tooz-2.1.0.tar.gz
 BuildRequires:  memcached
 BuildRequires:  openstack-macros
-BuildRequires:  python2-enum34 >= 1.0.4
-BuildRequires:  python2-fasteners >= 0.7
-BuildRequires:  python2-fixtures
-BuildRequires:  python2-futures >= 3.0
-BuildRequires:  python2-futurist >= 1.2.0
-BuildRequires:  python2-mock
-BuildRequires:  python2-oslo.serialization >= 1.10.0
-BuildRequires:  python2-oslo.utils >= 3.15.0
-BuildRequires:  python2-pbr >= 1.6
-BuildRequires:  python2-pifpaf
-BuildRequires:  python2-pymemcache
-BuildRequires:  python2-stevedore >= 1.16.0
-BuildRequires:  python2-tenacity >= 3.2.1
-BuildRequires:  python2-testtools
-BuildRequires:  python2-voluptuous >= 0.8.9
 BuildRequires:  python3-fasteners >= 0.7
 BuildRequires:  python3-fixtures
 BuildRequires:  python3-futurist >= 1.2.0
@@ -51,33 +36,41 @@
 BuildRequires:  python3-oslo.serialization >= 1.10.0
 BuildRequires:  python3-oslo.utils >= 3.15.0
 BuildRequires:  python3-pbr >= 1.6
-BuildRequires:  python3-pifpaf
 BuildRequires:  python3-pymemcache
 BuildRequires:  python3-stevedore >= 1.16.0
 BuildRequires:  python3-tenacity >= 3.2.1
 BuildRequires:  python3-testtools
 BuildRequires:  python3-voluptuous >= 0.8.9
-Requires:       python-fasteners >= 0.7
-Requires:       python-futurist >= 1.2.0
-Requires:       python-msgpack >= 0.4.0
-Requires:       python-oslo.serialization >= 1.10.0
-Requires:       python-oslo.utils >= 3.15.0
-Requires:       python-six >= 1.9.0
-Requires:       python-stevedore >= 1.16.0
-Requires:       python-tenacity >= 3.2.1
-Requires:       python-voluptuous >= 0.8.9
 BuildArch:      noarch
-%ifpython2
-Requires:       python-enum34 >= 1.0.4
-Requires:       python-futures >= 3.0
+%if ! 0%{?rdo}
+BuildRequires:  python3-pifpaf
 %endif
-%python_subpackages
 
 %description
 The Tooz project aims at centralizing the most common distributed primitives
 like group membership protocol, lock service and leader election by providing
 a coordination API helping developers to build distributed applications.
 
+%package -n python3-tooz
+Summary:        Coordination library for distributed systems
+Group:          Development/Languages/Python
+Requires:       python3-fasteners >= 0.7
+Requires:       python3-futurist >= 1.2.0
+Requires:       python3-msgpack >= 0.4.0
+Requires:       python3-oslo.serialization >= 1.10.0
+Requires:       python3-oslo.utils >= 3.15.0
+Requires:       python3-six >= 1.9.0
+Requires:       python3-stevedore >= 1.16.0
+Requires:       python3-tenacity >= 3.2.1
+Requires:       python3-voluptuous >= 0.8.9
+
+%description -n python3-tooz
+The Tooz project aims at centralizing the most common distributed primitives
+like group membership protocol, lock service and leader election by providing
+a coordination API helping developers to build distributed applications.
+
+This package contains the Python 3.x module.
+
 %package -n python-tooz-doc
 Summary:        Documentation for %{name}
 Group:          Documentation/HTML
@@ -92,11 +85,11 @@
 This package contains documentation in HTML format.
 
 %prep
-%autosetup -p1 -n tooz-1.66.2
+%autosetup -p1 -n tooz-2.1.0
 %py_req_cleanup
 
 %build
-%{python_build}
+%{py3_build}
 
 # generate html docs
 PYTHONPATH=. \
@@ -113,12 +106,12 @@
 %endif
 
 %install
-%{python_install}
+%{py3_install}
 
-%files %{python_files}
+%files -n python3-tooz
 %license LICENSE
-%{python_sitelib}/tooz
-%{python_sitelib}/tooz-*.egg-info
+%{python3_sitelib}/tooz
+%{python3_sitelib}/tooz-*.egg-info
 
 %files -n python-tooz-doc
 %license LICENSE

++++++ _service ++++++
--- /var/tmp/diff_new_pack.G1x6RL/_old  2020-06-05 20:20:23.143901491 +0200
+++ /var/tmp/diff_new_pack.G1x6RL/_new  2020-06-05 20:20:23.143901491 +0200
@@ -1,8 +1,8 @@
 <services>
   <service mode="disabled" name="renderspec">
-    <param 
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/train/openstack/tooz/tooz.spec.j2</param>
+    <param 
name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/stable/ussuri/openstack/tooz/tooz.spec.j2</param>
     <param name="output-name">python-tooz.spec</param>
-    <param 
name="requirements">https://raw.githubusercontent.com/openstack/tooz/stable/train/requirements.txt</param>
+    <param 
name="requirements">https://opendev.org/openstack/tooz/raw/branch/stable/ussuri/requirements.txt</param>
     <param name="changelog-email">[email protected]</param>
     <param name="changelog-provider">gh,openstack,tooz</param>
   </service>

++++++ tooz-1.66.2.tar.gz -> tooz-2.1.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tooz-1.66.2/.zuul.yaml new/tooz-2.1.0/.zuul.yaml
--- old/tooz-1.66.2/.zuul.yaml  2019-09-04 16:25:34.000000000 +0200
+++ new/tooz-2.1.0/.zuul.yaml   2020-03-03 15:23:44.000000000 +0100
@@ -1,146 +1,144 @@
 - project:
     templates:
       - check-requirements
-      - lib-forward-testing
       - lib-forward-testing-python3
       - openstack-cover-jobs
-      - openstack-python-jobs
       - openstack-python3-train-jobs
       - periodic-stable-jobs
       - publish-openstack-docs-pti
       - release-notes-jobs-python3
     check:
       jobs:
-        - tooz-tox-py27-etcd
+        - tooz-tox-py37-etcd
         - tooz-tox-py36-etcd
-        - tooz-tox-py27-etcd3
+        - tooz-tox-py37-etcd3
         - tooz-tox-py36-etcd3
-        - tooz-tox-py27-etcd3gw
+        - tooz-tox-py37-etcd3gw
         - tooz-tox-py36-etcd3gw
-        - tooz-tox-py27-zookeeper
+        - tooz-tox-py37-zookeeper
         - tooz-tox-py36-zookeeper
-        - tooz-tox-py27-redis
+        - tooz-tox-py37-redis
         - tooz-tox-py36-redis
-        - tooz-tox-py27-sentinel
+        - tooz-tox-py37-sentinel
         - tooz-tox-py36-sentinel
-        - tooz-tox-py27-memcached
+        - tooz-tox-py37-memcached
         - tooz-tox-py36-memcached
-        - tooz-tox-py27-postgresql
+        - tooz-tox-py37-postgresql
         - tooz-tox-py36-postgresql
-        - tooz-tox-py27-mysql
+        - tooz-tox-py37-mysql
         - tooz-tox-py36-mysql
-        - tooz-tox-py27-consul
+        - tooz-tox-py37-consul
         - tooz-tox-py36-consul
     gate:
       jobs:
-        - tooz-tox-py27-etcd
+        - tooz-tox-py37-etcd
         - tooz-tox-py36-etcd
-        - tooz-tox-py27-etcd3
+        - tooz-tox-py37-etcd3
         - tooz-tox-py36-etcd3
-        - tooz-tox-py27-etcd3gw
+        - tooz-tox-py37-etcd3gw
         - tooz-tox-py36-etcd3gw
-        - tooz-tox-py27-zookeeper
+        - tooz-tox-py37-zookeeper
         - tooz-tox-py36-zookeeper
-        - tooz-tox-py27-redis
+        - tooz-tox-py37-redis
         - tooz-tox-py36-redis
-        - tooz-tox-py27-sentinel
+        - tooz-tox-py37-sentinel
         - tooz-tox-py36-sentinel
-        - tooz-tox-py27-memcached
+        - tooz-tox-py37-memcached
         - tooz-tox-py36-memcached
-        - tooz-tox-py27-postgresql
+        - tooz-tox-py37-postgresql
         - tooz-tox-py36-postgresql
-        - tooz-tox-py27-mysql
+        - tooz-tox-py37-mysql
         - tooz-tox-py36-mysql
-        - tooz-tox-py27-consul
+        - tooz-tox-py37-consul
         - tooz-tox-py36-consul
 
 - job:
-    name: tooz-tox-py27-consul
-    parent: openstack-tox
+    name: tooz-tox-py37-consul
+    parent: openstack-tox-py37
     description: |
-      Run tests using ``py27-consul`` environment.
+      Run tests using ``py37-consul`` environment.
     vars:
       tox_envlist: mysql-python
 
 - job:
-    name: tooz-tox-py27-etcd
-    parent: openstack-tox
+    name: tooz-tox-py37-etcd
+    parent: openstack-tox-py37
     description: |
-      Run tests using ``py27-etcd`` environment.
+      Run tests using ``py37-etcd`` environment.
     vars:
-      tox_envlist: py27-etcd
+      tox_envlist: py37-etcd
 
 - job:
-    name: tooz-tox-py27-etcd3
-    parent: openstack-tox
+    name: tooz-tox-py37-etcd3
+    parent: openstack-tox-py37
     description: |
-      Run tests using ``py27-etcd3`` environment.
+      Run tests using ``py37-etcd3`` environment.
     vars:
-      tox_envlist: py27-etcd3
+      tox_envlist: py37-etcd3
 
 - job:
-    name: tooz-tox-py27-etcd3gw
-    parent: openstack-tox
+    name: tooz-tox-py37-etcd3gw
+    parent: openstack-tox-py37
     description: |
-      Run tests using ``py27-etcd3gw`` environment.
+      Run tests using ``py37-etcd3gw`` environment.
     vars:
-      tox_envlist: py27-etcd3gw
+      tox_envlist: py37-etcd3gw
 
 - job:
-    name: tooz-tox-py27-memcached
-    parent: openstack-tox
+    name: tooz-tox-py37-memcached
+    parent: openstack-tox-py37
     description: |
-      Run tests using ``py27-memcached`` environment.
+      Run tests using ``py37-memcached`` environment.
     vars:
-      tox_envlist: py27-memcached
+      tox_envlist: py37-memcached
 
 - job:
-    name: tooz-tox-py27-mysql
-    parent: openstack-tox
+    name: tooz-tox-py37-mysql
+    parent: openstack-tox-py37
     description: |
-      Run tests using ``py27-mysql`` environment.
+      Run tests using ``py37-mysql`` environment.
     vars:
-      tox_envlist: py27-mysql
+      tox_envlist: py37-mysql
 
 - job:
-    name: tooz-tox-py27-postgresql
-    parent: openstack-tox
+    name: tooz-tox-py37-postgresql
+    parent: openstack-tox-py37
     description: |
-      Run tests using ``py27-postgresql`` environment.
+      Run tests using ``py37-postgresql`` environment.
     vars:
-      tox_envlist: py27-postgresql
+      tox_envlist: py37-postgresql
 
 - job:
-    name: tooz-tox-py27-redis
-    parent: openstack-tox
+    name: tooz-tox-py37-redis
+    parent: openstack-tox-py37
     description: |
-      Run tests using ``py27-redis`` environment.
+      Run tests using ``py37-redis`` environment.
     vars:
-      tox_envlist: py27-redis
+      tox_envlist: py37-redis
     pre-run:
       - playbooks/stop-redis.yaml
 
 - job:
-    name: tooz-tox-py27-sentinel
-    parent: openstack-tox
+    name: tooz-tox-py37-sentinel
+    parent: openstack-tox-py37
     description: |
-      Run tests using ``py27-sentinel`` environment.
+      Run tests using ``py37-sentinel`` environment.
     vars:
-      tox_envlist: py27-sentinel
+      tox_envlist: py37-sentinel
     pre-run:
       - playbooks/stop-redis.yaml
 
 - job:
-    name: tooz-tox-py27-zookeeper
-    parent: openstack-tox
+    name: tooz-tox-py37-zookeeper
+    parent: openstack-tox-py37
     description: |
-      Run tests using ``py27-zookeeper`` environment.
+      Run tests using ``py37-zookeeper`` environment.
     vars:
-      tox_envlist: py27-zookeeper
+      tox_envlist: py37-zookeeper
 
 - job:
     name: tooz-tox-py36-consul
-    parent: openstack-tox
+    parent: openstack-tox-py36
     description: |
       Run tests using ``py36-consul`` environment.
     vars:
@@ -148,7 +146,7 @@
 
 - job:
     name: tooz-tox-py36-etcd
-    parent: openstack-tox
+    parent: openstack-tox-py36
     description: |
       Run tests using ``py36-etcd`` environment.
     vars:
@@ -156,7 +154,7 @@
 
 - job:
     name: tooz-tox-py36-etcd3
-    parent: openstack-tox
+    parent: openstack-tox-py36
     description: |
       Run tests using ``py36-etcd3`` environment.
     vars:
@@ -164,7 +162,7 @@
 
 - job:
     name: tooz-tox-py36-etcd3gw
-    parent: openstack-tox
+    parent: openstack-tox-py36
     description: |
       Run tests using ``py36-etcd3gw`` environment.
     vars:
@@ -172,7 +170,7 @@
 
 - job:
     name: tooz-tox-py36-memcached
-    parent: openstack-tox
+    parent: openstack-tox-py36
     description: |
       Run tests using ``py36-memcached`` environment.
     vars:
@@ -180,7 +178,7 @@
 
 - job:
     name: tooz-tox-py36-mysql
-    parent: openstack-tox
+    parent: openstack-tox-py36
     description: |
       Run tests using ``py36-mysql`` environment.
     vars:
@@ -188,7 +186,7 @@
 
 - job:
     name: tooz-tox-py36-postgresql
-    parent: openstack-tox
+    parent: openstack-tox-py36
     description: |
       Run tests using ``py36-postgresql`` environment.
     vars:
@@ -196,7 +194,7 @@
 
 - job:
     name: tooz-tox-py36-redis
-    parent: openstack-tox
+    parent: openstack-tox-py36
     description: |
       Run tests using ``py36-redis`` environment.
     vars:
@@ -206,7 +204,7 @@
 
 - job:
     name: tooz-tox-py36-sentinel
-    parent: openstack-tox
+    parent: openstack-tox-py36
     description: |
       Run tests using ``py36-sentinel`` environment.
     vars:
@@ -216,7 +214,7 @@
 
 - job:
     name: tooz-tox-py36-zookeeper
-    parent: openstack-tox
+    parent: openstack-tox-py36
     description: |
       Run tests using ``py36-zookeeper`` environment.
     vars:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tooz-1.66.2/AUTHORS new/tooz-2.1.0/AUTHORS
--- old/tooz-1.66.2/AUTHORS     2019-09-04 16:27:05.000000000 +0200
+++ new/tooz-2.1.0/AUTHORS      2020-03-03 15:25:48.000000000 +0100
@@ -3,6 +3,7 @@
 Akihiro Motoki <[email protected]>
 Andreas Jaeger <[email protected]>
 Ben Nemec <[email protected]>
+Bob.Haddleton <[email protected]>
 Cao Xuan Hoang <[email protected]>
 ChangBo Guo(gcb) <[email protected]>
 Chris Dent <[email protected]>
@@ -68,6 +69,7 @@
 melissaml <[email protected]>
 mengalong <[email protected]>
 ushen <[email protected]>
+yenai <[email protected]>
 zhangguoqing <[email protected]>
 zhangsong <[email protected]>
 zhangyanxian <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tooz-1.66.2/ChangeLog new/tooz-2.1.0/ChangeLog
--- old/tooz-1.66.2/ChangeLog   2019-09-04 16:27:05.000000000 +0200
+++ new/tooz-2.1.0/ChangeLog    2020-03-03 15:25:48.000000000 +0100
@@ -1,9 +1,35 @@
 CHANGES
 =======
 
+2.1.0
+-----
+
+
+2.0.0
+-----
+
+* [ussuri][goal] Drop python 2.7 support and testing
+
+1.67.2
+------
+
+* RedisLock release() should not check if the lock has been acquired
+
+1.67.1
+------
+
+
+1.67.0
+------
+
+* Drop os-testr test-requirement and pretty\_tox.sh
+* Update master for stable/train
+* Add shared arg in metaclass Lock
+
 1.66.2
 ------
 
+* Fix membership lease issue on the etcd3gw driver
 
 1.66.1
 ------
@@ -23,6 +49,7 @@
 * Move test deps to test-requirements.txt
 * Remove unused requirements
 * Update Sphinx requirement and uncap grpcio
+* Avoid redis lock's expire\_time exceeding timeout
 * Referencing testenv deps now works
 * Update master for stable/stein
 * Replace git.openstack.org URLs with opendev.org URLs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tooz-1.66.2/PKG-INFO new/tooz-2.1.0/PKG-INFO
--- old/tooz-1.66.2/PKG-INFO    2019-09-04 16:27:05.000000000 +0200
+++ new/tooz-2.1.0/PKG-INFO     2020-03-03 15:25:48.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: tooz
-Version: 1.66.2
+Version: 2.1.0
 Summary: Coordination library for distributed systems.
 Home-page: https://docs.openstack.org/tooz/latest/
 Author: OpenStack
@@ -40,21 +40,22 @@
 Classifier: License :: OSI Approved :: Apache Software License
 Classifier: Operating System :: POSIX :: Linux
 Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3 :: Only
+Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Topic :: System :: Distributed Computing
-Provides-Extra: mysql
-Provides-Extra: postgresql
-Provides-Extra: redis
+Requires-Python: >=3.6
+Provides-Extra: consul
+Provides-Extra: etcd
+Provides-Extra: etcd3
+Provides-Extra: etcd3gw
 Provides-Extra: zake
-Provides-Extra: memcached
+Provides-Extra: redis
+Provides-Extra: postgresql
+Provides-Extra: mysql
 Provides-Extra: zookeeper
+Provides-Extra: memcached
 Provides-Extra: ipc
 Provides-Extra: test
-Provides-Extra: etcd3gw
-Provides-Extra: etcd3
-Provides-Extra: consul
-Provides-Extra: etcd
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tooz-1.66.2/doc/requirements.txt 
new/tooz-2.1.0/doc/requirements.txt
--- old/tooz-1.66.2/doc/requirements.txt        2019-09-04 16:25:34.000000000 
+0200
+++ new/tooz-2.1.0/doc/requirements.txt 2020-03-03 15:23:44.000000000 +0100
@@ -1,5 +1,4 @@
-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,!=2.1.0;python_version>='3.4' # BSD
+sphinx!=1.6.6,!=1.6.7,>=1.6.2,!=2.1.0 # BSD
 openstackdocstheme>=1.11.0 # Apache-2.0
 reno>=1.8.0 # Apache-2.0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tooz-1.66.2/releasenotes/notes/drop-python-2-7-73d3113c69d724d6.yaml 
new/tooz-2.1.0/releasenotes/notes/drop-python-2-7-73d3113c69d724d6.yaml
--- old/tooz-1.66.2/releasenotes/notes/drop-python-2-7-73d3113c69d724d6.yaml    
1970-01-01 01:00:00.000000000 +0100
+++ new/tooz-2.1.0/releasenotes/notes/drop-python-2-7-73d3113c69d724d6.yaml     
2020-03-03 15:23:44.000000000 +0100
@@ -0,0 +1,5 @@
+---
+upgrade:
+  - |
+    Python 2.7 support has been dropped. The minimum version of Python now
+    supported by tooz is Python 3.6.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tooz-1.66.2/releasenotes/source/index.rst 
new/tooz-2.1.0/releasenotes/source/index.rst
--- old/tooz-1.66.2/releasenotes/source/index.rst       2019-09-04 
16:25:34.000000000 +0200
+++ new/tooz-2.1.0/releasenotes/source/index.rst        2020-03-03 
15:23:44.000000000 +0100
@@ -6,6 +6,7 @@
     :maxdepth: 1
 
     unreleased
+    train
     stein
     rocky
     queens
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tooz-1.66.2/releasenotes/source/train.rst 
new/tooz-2.1.0/releasenotes/source/train.rst
--- old/tooz-1.66.2/releasenotes/source/train.rst       1970-01-01 
01:00:00.000000000 +0100
+++ new/tooz-2.1.0/releasenotes/source/train.rst        2020-03-03 
15:23:44.000000000 +0100
@@ -0,0 +1,6 @@
+==========================
+Train Series Release Notes
+==========================
+
+.. release-notes::
+   :branch: stable/train
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tooz-1.66.2/requirements.txt 
new/tooz-2.1.0/requirements.txt
--- old/tooz-1.66.2/requirements.txt    2019-09-04 16:25:34.000000000 +0200
+++ new/tooz-2.1.0/requirements.txt     2020-03-03 15:23:44.000000000 +0100
@@ -4,12 +4,10 @@
 pbr>=1.6 # Apache-2.0
 stevedore>=1.16.0 # Apache-2.0
 six>=1.9.0 # MIT
-enum34>=1.0.4;python_version=='2.7' or python_version=='2.6' or 
python_version=='3.3' # BSD
 voluptuous>=0.8.9 # BSD License
 msgpack>=0.4.0 # Apache-2.0
 fasteners>=0.7 # Apache-2.0
 tenacity>=3.2.1  # Apache-2.0
-futures>=3.0;python_version=='2.7' or python_version=='2.6' # BSD
 futurist>=1.2.0 # Apache-2.0
 oslo.utils>=3.15.0 # Apache-2.0
 oslo.serialization>=1.10.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tooz-1.66.2/setup.cfg new/tooz-2.1.0/setup.cfg
--- old/tooz-1.66.2/setup.cfg   2019-09-04 16:27:05.000000000 +0200
+++ new/tooz-2.1.0/setup.cfg    2020-03-03 15:25:48.000000000 +0100
@@ -6,6 +6,7 @@
 description-file = README.rst
 license = Apache-2
 home-page = https://docs.openstack.org/tooz/latest/
+python-requires = >=3.6
 classifier = 
        Environment :: OpenStack
        Intended Audience :: Developers
@@ -13,11 +14,11 @@
        License :: OSI Approved :: Apache Software License
        Operating System :: POSIX :: Linux
        Programming Language :: Python
-       Programming Language :: Python :: 2
-       Programming Language :: Python :: 2.7
        Programming Language :: Python :: 3
        Programming Language :: Python :: 3.6
        Programming Language :: Python :: 3.7
+       Programming Language :: Python :: 3 :: Only
+       Programming Language :: Python :: Implementation :: CPython
        Topic :: System :: Distributed Computing
 
 [files]
@@ -53,7 +54,7 @@
 zake = 
        zake>=0.1.6 # Apache-2.0
 redis = 
-       redis>=2.10.0 # MIT
+       redis>=3.1.0 # MIT
 postgresql = 
        psycopg2>=2.5 # LGPL/ZPL
 mysql = 
@@ -65,9 +66,6 @@
 ipc = 
        sysv-ipc>=0.6.8 # BSD License
 
-[wheel]
-universal = 1
-
 [egg_info]
 tag_build = 
 tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tooz-1.66.2/test-requirements.txt 
new/tooz-2.1.0/test-requirements.txt
--- old/tooz-1.66.2/test-requirements.txt       2019-09-04 16:25:34.000000000 
+0200
+++ new/tooz-2.1.0/test-requirements.txt        2020-03-03 15:23:44.000000000 
+0100
@@ -8,5 +8,4 @@
 coverage>=3.6 # Apache-2.0
 fixtures>=3.0.0 # Apache-2.0/BSD
 pifpaf>=0.10.0 # Apache-2.0
-os-testr>=0.8.0 # Apache-2.0
 stestr>=2.0.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tooz-1.66.2/tools/pretty_tox.sh 
new/tooz-2.1.0/tools/pretty_tox.sh
--- old/tooz-1.66.2/tools/pretty_tox.sh 2019-09-04 16:25:34.000000000 +0200
+++ new/tooz-2.1.0/tools/pretty_tox.sh  1970-01-01 01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
-#!/usr/bin/env bash
-
-set -o pipefail
-
-TESTRARGS=$1
-
-# --until-failure is not compatible with --subunit see:
-#
-# https://bugs.launchpad.net/testrepository/+bug/1411804
-#
-# this work around exists until that is addressed
-if [[ "$TESTARGS" =~ "until-failure" ]]; then
-    stestr run --slowest "$TESTRARGS"
-else
-    stestr run --slowest --subunit "$TESTRARGS" | subunit-trace -f
-fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tooz-1.66.2/tooz/drivers/etcd3gw.py 
new/tooz-2.1.0/tooz/drivers/etcd3gw.py
--- old/tooz-1.66.2/tooz/drivers/etcd3gw.py     2019-09-04 16:25:34.000000000 
+0200
+++ new/tooz-2.1.0/tooz/drivers/etcd3gw.py      2020-03-03 15:23:44.000000000 
+0100
@@ -218,7 +218,9 @@
         # NOTE(jaypipes): Copying because set can mutate during iteration
         for lock in self._acquired_locks.copy():
             lock.heartbeat()
-        return self.lock_timeout
+        # TODO(kaifeng) use the same lease for locks?
+        self._membership_lease.refresh()
+        return min(self.lock_timeout, self.membership_timeout)
 
     def watch_join_group(self, group_id, callback):
         raise tooz.NotImplemented
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tooz-1.66.2/tooz/drivers/redis.py 
new/tooz-2.1.0/tooz/drivers/redis.py
--- old/tooz-1.66.2/tooz/drivers/redis.py       2019-09-04 16:25:34.000000000 
+0200
+++ new/tooz-2.1.0/tooz/drivers/redis.py        2020-03-03 15:23:44.000000000 
+0100
@@ -94,8 +94,6 @@
 
     def release(self):
         with self._exclusive_access:
-            if not self.acquired:
-                return False
             with _translate_failures():
                 try:
                     self._lock.release()
@@ -110,7 +108,7 @@
         with self._exclusive_access:
             if self.acquired:
                 with _translate_failures():
-                    self._lock.extend(self._lock.timeout)
+                    self._lock.reacquire()
                     return True
         return False
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tooz-1.66.2/tooz/locking.py 
new/tooz-2.1.0/tooz/locking.py
--- old/tooz-1.66.2/tooz/locking.py     2019-09-04 16:25:34.000000000 +0200
+++ new/tooz-2.1.0/tooz/locking.py      2020-03-03 15:23:44.000000000 +0100
@@ -97,13 +97,16 @@
         raise tooz.NotImplemented
 
     @abc.abstractmethod
-    def acquire(self, blocking=True):
+    def acquire(self, blocking=True, shared=False):
         """Attempts to acquire the lock.
 
         :param blocking: If True, blocks until the lock is acquired. If False,
                          returns right away. Otherwise, the value is used as a
                          timeout value and the call returns maximum after this
                          number of seconds.
+        :param shared: If False, the lock is exclusive. If True, the lock can
+                       be shareable or raises ``NotImplemented`` if not
+                       implemented.
         :returns: returns true if acquired (false if not)
         :rtype: bool
         """
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tooz-1.66.2/tooz.egg-info/PKG-INFO 
new/tooz-2.1.0/tooz.egg-info/PKG-INFO
--- old/tooz-1.66.2/tooz.egg-info/PKG-INFO      2019-09-04 16:27:05.000000000 
+0200
+++ new/tooz-2.1.0/tooz.egg-info/PKG-INFO       2020-03-03 15:25:48.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: tooz
-Version: 1.66.2
+Version: 2.1.0
 Summary: Coordination library for distributed systems.
 Home-page: https://docs.openstack.org/tooz/latest/
 Author: OpenStack
@@ -40,21 +40,22 @@
 Classifier: License :: OSI Approved :: Apache Software License
 Classifier: Operating System :: POSIX :: Linux
 Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3 :: Only
+Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Topic :: System :: Distributed Computing
-Provides-Extra: mysql
-Provides-Extra: postgresql
-Provides-Extra: redis
+Requires-Python: >=3.6
+Provides-Extra: consul
+Provides-Extra: etcd
+Provides-Extra: etcd3
+Provides-Extra: etcd3gw
 Provides-Extra: zake
-Provides-Extra: memcached
+Provides-Extra: redis
+Provides-Extra: postgresql
+Provides-Extra: mysql
 Provides-Extra: zookeeper
+Provides-Extra: memcached
 Provides-Extra: ipc
 Provides-Extra: test
-Provides-Extra: etcd3gw
-Provides-Extra: etcd3
-Provides-Extra: consul
-Provides-Extra: etcd
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tooz-1.66.2/tooz.egg-info/SOURCES.txt 
new/tooz-2.1.0/tooz.egg-info/SOURCES.txt
--- old/tooz-1.66.2/tooz.egg-info/SOURCES.txt   2019-09-04 16:27:05.000000000 
+0200
+++ new/tooz-2.1.0/tooz.egg-info/SOURCES.txt    2020-03-03 15:25:48.000000000 
+0100
@@ -42,6 +42,7 @@
 examples/partitioner.py
 playbooks/stop-redis.yaml
 releasenotes/notes/add-reno-996dd44974d53238.yaml
+releasenotes/notes/drop-python-2-7-73d3113c69d724d6.yaml
 releasenotes/notes/etcd3-group-support-b039cf19f4a268a3.yaml
 releasenotes/notes/etcd3gw-group-support-598832a8764a8aa6.yaml
 releasenotes/notes/hashring-0470f9119ef63d49.yaml
@@ -54,11 +55,11 @@
 releasenotes/source/queens.rst
 releasenotes/source/rocky.rst
 releasenotes/source/stein.rst
+releasenotes/source/train.rst
 releasenotes/source/unreleased.rst
 releasenotes/source/_static/.placeholder
 releasenotes/source/_templates/.placeholder
 tools/compat-matrix.py
-tools/pretty_tox.sh
 tooz/__init__.py
 tooz/_retry.py
 tooz/coordination.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tooz-1.66.2/tooz.egg-info/pbr.json 
new/tooz-2.1.0/tooz.egg-info/pbr.json
--- old/tooz-1.66.2/tooz.egg-info/pbr.json      2019-09-04 16:27:05.000000000 
+0200
+++ new/tooz-2.1.0/tooz.egg-info/pbr.json       2020-03-03 15:25:48.000000000 
+0100
@@ -1 +1 @@
-{"git_version": "5b280a8", "is_release": true}
\ No newline at end of file
+{"git_version": "27c4f15", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tooz-1.66.2/tooz.egg-info/requires.txt 
new/tooz-2.1.0/tooz.egg-info/requires.txt
--- old/tooz-1.66.2/tooz.egg-info/requires.txt  2019-09-04 16:27:05.000000000 
+0200
+++ new/tooz-2.1.0/tooz.egg-info/requires.txt   2020-03-03 15:25:48.000000000 
+0100
@@ -9,12 +9,6 @@
 oslo.utils>=3.15.0
 oslo.serialization>=1.10.0
 
-[:(python_version=='2.7' or python_version=='2.6' or python_version=='3.3')]
-enum34>=1.0.4
-
-[:(python_version=='2.7' or python_version=='2.6')]
-futures>=3.0
-
 [consul]
 python-consul>=0.4.7
 
@@ -41,7 +35,7 @@
 psycopg2>=2.5
 
 [redis]
-redis>=2.10.0
+redis>=3.1.0
 
 [test]
 mock>=2.0
@@ -50,7 +44,6 @@
 coverage>=3.6
 fixtures>=3.0.0
 pifpaf>=0.10.0
-os-testr>=0.8.0
 stestr>=2.0.0
 
 [zake]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tooz-1.66.2/tox.ini new/tooz-2.1.0/tox.ini
--- old/tooz-1.66.2/tox.ini     2019-09-04 16:25:34.000000000 +0200
+++ new/tooz-2.1.0/tox.ini      2020-03-03 15:23:44.000000000 +0100
@@ -1,8 +1,10 @@
 [tox]
 minversion = 3.1.0
-envlist = 
py27,py37,py{27,36}-{zookeeper,redis,sentinel,memcached,postgresql,mysql,consul,etcd,etcd3,etcd3gw},pep8
+envlist = 
py37,py{36,37}-{zookeeper,redis,sentinel,memcached,postgresql,mysql,consul,etcd,etcd3,etcd3gw},pep8
+ignore_basepython_conflict = True
 
 [testenv]
+basepython = python3
 # We need to install a bit more than just `test-requirements' because those 
drivers have
 # custom tests that we always run
 deps = .[zake,ipc,memcached,mysql,etcd,etcd3,etcd3gw]
@@ -33,38 +35,31 @@
     consul: TOOZ_TEST_DRIVERS = consul
 # NOTE(tonyb): This project has chosen to *NOT* consume upper-constraints.txt
 commands =
-    {toxinidir}/run-tests.sh {toxinidir}/tools/pretty_tox.sh "{posargs}"
+    {toxinidir}/run-tests.sh stestr run "{posargs}"
     {toxinidir}/run-examples.sh
 
-[testenv:py27]
-basepython = python2.7
-
 [testenv:venv]
-basepython = python3
 # This target is used by the gate go run Sphinx to build the doc
 deps = {[testenv:docs]deps}
 commands = {posargs}
 
 [testenv:cover]
-basepython = python3
 deps = {[testenv]deps}
 setenv = {[testenv]setenv}
     PYTHON=coverage run --source tooz --parallel-mode
 commands =
-    {toxinidir}/run-tests.sh {toxinidir}/tools/pretty_tox.sh "{posargs}"
+    {toxinidir}/run-tests.sh stestr run "{posargs}"
     {toxinidir}/run-examples.sh
     coverage combine
     coverage html -d cover
     coverage xml -o cover/coverage.xml
 
 [testenv:docs]
-basepython = python3
 deps = -r{toxinidir}/doc/requirements.txt
 commands = sphinx-build -W -b html doc/source doc/build/html
 
 [testenv:pep8]
-basepython = python3
-deps = hacking<0.13,>=0.12
+deps = hacking<2.1,>=2.0
       doc8
 commands =
     flake8
@@ -75,6 +70,5 @@
 show-source = True
 
 [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


Reply via email to