From 47951b9e3f076d93052cd62de8238e5b166a8ef5 Mon Sep 17 00:00:00 2001 From: Tomaz Muraus Date: Thu, 21 Mar 2019 20:04:16 +0100 Subject: [PATCH 1/2] Upgrade tooz to latest version which includes new etcd3 and etcd3gw driver which includes support for group membership functionality which is needed for service registry functionaly. --- fixed-requirements.txt | 2 +- requirements.txt | 2 +- st2common/requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fixed-requirements.txt b/fixed-requirements.txt index ad652c3456..30518cd9a8 100644 --- a/fixed-requirements.txt +++ b/fixed-requirements.txt @@ -38,7 +38,7 @@ virtualenv==15.1.0 sseclient==0.0.19 python-editor==1.0.3 prompt-toolkit==1.0.15 -tooz==1.63.1 +tooz==1.64.2 zake==0.2.2 routes==2.4.1 webob==1.8.4 diff --git a/requirements.txt b/requirements.txt index ada1ab8d13..9a6776c545 100644 --- a/requirements.txt +++ b/requirements.txt @@ -52,7 +52,7 @@ semver==2.8.1 six==1.12.0 sseclient==0.0.19 stevedore==1.30.0 -tooz==1.63.1 +tooz==1.64.2 ujson==1.35 unittest2 webob==1.8.4 diff --git a/st2common/requirements.txt b/st2common/requirements.txt index 0ff7c196cd..34835abf58 100644 --- a/st2common/requirements.txt +++ b/st2common/requirements.txt @@ -24,7 +24,7 @@ retrying==1.3.3 routes==2.4.1 semver==2.8.1 six==1.12.0 -tooz==1.63.1 +tooz==1.64.2 ujson==1.35 webob==1.8.4 zake==0.2.2 From cbe2199c316f70dc7f85e7dd7f62f0265831f14d Mon Sep 17 00:00:00 2001 From: Tomaz Muraus Date: Thu, 21 Mar 2019 20:42:13 +0100 Subject: [PATCH 2/2] Use our tooz fork. group membership functionality is badly broken in the upstream one. --- st2common/in-requirements.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/st2common/in-requirements.txt b/st2common/in-requirements.txt index 0e2425c5cc..88576249b7 100644 --- a/st2common/in-requirements.txt +++ b/st2common/in-requirements.txt @@ -19,6 +19,8 @@ requests retrying semver six +# Need our fork with various bug fixes in etcd drivers +git+https://github.com/StackStorm/tooz.git@etcd3_driver_fixes#egg=tooz tooz # Required by tooz - on new versions of tooz, all the backend dependencies need # to be installed manually