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: I02fc471d7a6cc08c173ed45ae6f647cd54121690
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I14b6d65b5a6560456b9110de667f94f5d6c9bd20
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Change-Id: Ic78f1a2f958530fe7e480c7043c604d9f0e978c3
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: I5e57994077795bcc25861a081ef114fa97e01bef
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848
Change-Id: I8126567017aaa3fcc8bd842abe318690bdcb1110
This patch includes:
1. client base
2. v1 resource type list client
Patial blueprint: openstack-client-search-initial-plugin
Change-Id: Ife57592cdff80cf6fa440dd2daba9daceefd3a11