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: I9aa78dcb6db582a624acd9f0fca32c84a0cc4584
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.
Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.
To avoid similar gate break in future, we need to bump the hacking min
version.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: Ib49adccc332917a9336c95fb65bfeef63a55f965
Update docs building, cleanup after py27 removal a bit:
* Update requirements for Sphinx and openstackdocstheme for
python 3
* Remove unneeded sections from setup.cfg
* Remove install_command, it's unneeded, the default is fine.
* Move constraints into deps, use TOX_CONSTRAINTS instead of obsolete
UPPER_CONSTRAINTS
* Switch to hacking 3.0, fix problems found
Change-Id: I8b5634b02b399a0678c611b7be8593280b666953
Seems like some recent update of Sphinx broke oslosphinx extension. We
don't really need it now, so this commit removes it by adopting the
"modern" way of building docs (mostly based on how it's done in
openstack/kuryr-kubernetes).
Change-Id: I8a0d5e3923b6497eb7c6944fc6d9adc9007bf5ec
Closes-Bug: 1824958