From 49fa9acbb371a6fc244ec030111ba573280eabfa Mon Sep 17 00:00:00 2001 From: Gregory Thiemonge Date: Thu, 20 Jan 2022 16:55:59 +0100 Subject: [PATCH] Fix unit tests Use fasteners 0.17.3, it fixes a deadlock issue. Also fixed a new error when building the doc. Depends-On: https://review.opendev.org/c/openstack/requirements/+/826318 Change-Id: I667725886ea424cf62c5b7a07a2e58ecb3399e0c --- requirements.txt | 2 +- taskflow/types/failure.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 65979f174..f1cdc8005 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,7 @@ six>=1.10.0 # MIT futurist>=1.2.0 # Apache-2.0 # For reader/writer + interprocess locks. -fasteners>=0.7.0 # Apache-2.0 +fasteners>=0.17.3 # Apache-2.0 # Very nice graph library networkx>=2.1.0 # BSD diff --git a/taskflow/types/failure.py b/taskflow/types/failure.py index 31c30ce8f..fc35bc90d 100644 --- a/taskflow/types/failure.py +++ b/taskflow/types/failure.py @@ -120,7 +120,7 @@ class Failure(mixins.StrMixin): to have code ran when this happens, and this can cause issues and side-effects that the receiver would not have intended to have caused). - TODO(harlowja): use parts of http://bugs.python.org/issue17911 and the + TODO(harlowja): use parts of :pybug:`17911` and the backport at https://pypi.org/project/traceback2/ to (hopefully) simplify the methods and contents of this object... """