In python 3.9 base64.encodestring() and base64.decodestring(),
aliases deprecated since Python 3.1, are removed.
base64.encodebytes() and base64.decodebytes() should be used
instead:
https://docs.python.org/3/whatsnew/3.9.html
Change-Id: I7ac7133ff4e9f118dac3dbc179dfc89c932705bb
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Change-Id: I6bdf38b8b7e63ff8183f0aaccb566d2baa37df56
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove now unused files babel.cfg and openstack-common.conf.
- Remove use of six library.
- Update to hacking 3.1.0
- Update pbr requirement
Change-Id: Ib4b9460f24cfaa216f0302b3b90ef73d808eb3e4
In preparation for python 3 support switch to newer sphinx version.
This requires openstackdocstheme.
Remove install_command, this is the default.
Update hacking version to be compatible with python 3, fix warnings
from new pep8.
Change-Id: Iab69ec59eb111571f784242c5ea5756c2a63e424
Fix "./os_performance_tools/collectors/mysql.py:54:80: E501 line too long
(87 > 79 characters)"
This is done with reworking the comment to inline the URL.
Change-Id: Ic3b965cdc8d43fdf8621036a0819d2f7df13fb9c
This will allow us to print out the subuni stream on stdout, but write
the json itself on a seperate file. This way you can save the delta
result before processing it.