Remove monotonic usage

The monotonic package was needed for monotonic time operations when
running under Python runtimes older than 3.3. Since we now only support
versions higher than this, this third party package requirement can now
be removed.

Change-Id: Id250b92d11aeb6fa02e264610bfe8e8c71df7e26
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2020-05-04 17:26:30 -05:00
parent 1c1fd4e56c
commit 105eadbbac
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8
3 changed files with 1 additions and 7 deletions

View File

@ -22,7 +22,6 @@ keystoneauth1==3.4.0
linecache2==1.0.0
MarkupSafe==1.0
mccabe==0.2.1
monotonic==1.4;python_version<'3.3'
mox3==0.25.0
msgpack==0.5.6
netaddr==0.7.19

View File

@ -14,11 +14,7 @@
import logging
try:
from time import monotonic as monotonic_clock # noqa
except ImportError:
from monotonic import monotonic as monotonic_clock # noqa
from time import monotonic as monotonic_clock
class _LogRateLimit(logging.Filter):

View File

@ -11,4 +11,3 @@ oslo.serialization>=2.25.0 # Apache-2.0
debtcollector>=1.19.0 # Apache-2.0
pyinotify>=0.9.6;sys_platform!='win32' and sys_platform!='darwin' and sys_platform!='sunos5' # MIT
python-dateutil>=2.7.0 # BSD
monotonic>=1.4;python_version<'3.3' # Apache-2.0