summaryrefslogtreecommitdiff
path: root/requirements.txt
diff options
context:
space:
mode:
authorAndy Smith <ansmith@redhat.com>2018-12-03 10:21:54 -0500
committerAndy Smith <ansmith@redhat.com>2018-12-03 14:52:49 -0500
commit252844879d9e34c81b1777a92ad4407fab4a6853 (patch)
treeb56a41530d56885eb582fbcb055aa4e18c048989 /requirements.txt
parent274b7c3eb490b79370d01376a5a10a8e7782ab13 (diff)
downloadoslo-messaging-252844879d9e34c81b1777a92ad4407fab4a6853.tar.gz
Don't use monotonic with Python >=3.3
A change to the global-requirements has limited use of monotonic library to Python versions earlier than 3.3 (later versions have built-in support for a monotonic clock), so limit it in requirements.txt. Note: this patch updates kafka driver (due to deprecated exception in library) in order to pass unit tests Change-Id: Id6b0814e05a0e548a8c2a5359daf1a6878cf6859
Diffstat (limited to 'requirements.txt')
-rw-r--r--requirements.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/requirements.txt b/requirements.txt
index 0d0353b..4eb7e33 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -13,7 +13,7 @@ oslo.service!=1.28.1,>=1.24.0 # Apache-2.0
oslo.i18n>=3.15.3 # Apache-2.0
stevedore>=1.20.0 # Apache-2.0
debtcollector>=1.2.0 # Apache-2.0
-monotonic>=0.6 # Apache-2.0
+monotonic>=0.6;python_version<'3.3' # Apache-2.0
# for jsonutils
six>=1.10.0 # MIT