summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Runge <mrunge@redhat.com>2021-03-08 08:24:14 +0100
committerMatthias Runge <mrunge@redhat.com>2021-04-01 12:03:59 +0200
commitfe9c4304551cce0ac85366965009ad102fd9610a (patch)
tree50c3bcf6033c43beb20e4c26a68f90e4c63c5bf2
parent54448e9d8b968c6d537a4a3b648ed280174b4f2c (diff)
downloadtooz-fe9c4304551cce0ac85366965009ad102fd9610a.tar.gz
Cap tenacity to unblock the gate
Recent version 7 changed retry and dropped the retry_state parameter. Also fixed a conflict between pre-commit hook and tox.ini where hacking was just conflicting Also fixed .gitreview to point to stable/wallaby for wallaby branch. Change-Id: I109d3b5770c3cd8fe0bdeae78517f4d36ba3b65f (cherry picked from commit f2005df3d6565e050e4ca710df4eda518353b9c2)
-rw-r--r--.gitreview1
-rw-r--r--.pre-commit-config.yaml2
-rw-r--r--requirements.txt2
3 files changed, 3 insertions, 2 deletions
diff --git a/.gitreview b/.gitreview
index 7c7108e..3d9f02a 100644
--- a/.gitreview
+++ b/.gitreview
@@ -2,3 +2,4 @@
host=review.opendev.org
port=29418
project=openstack/tooz.git
+defaultbranch=stable/wallaby
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 9d94556..97ca048 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -28,7 +28,7 @@ repos:
- id: check-yaml
files: .*\.(yaml|yml)$
- repo: https://gitlab.com/pycqa/flake8
- rev: 181bb46098dddf7e2d45319ea654b4b4d58c2840 # 3.8.3
+ rev: aa792d2930b8f6dada3f6305e8a3704d2d191005 # 3.7.8
hooks:
- id: flake8
additional_dependencies:
diff --git a/requirements.txt b/requirements.txt
index 7e40c1f..5796358 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -6,7 +6,7 @@ stevedore>=1.16.0 # Apache-2.0
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
+tenacity>=3.2.1, <7.0.0 # Apache-2.0
futurist>=1.2.0 # Apache-2.0
oslo.utils>=4.7.0 # Apache-2.0
oslo.serialization>=1.10.0 # Apache-2.0