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: Icc5350daec8de9a037d97c036dfaa1e496c93abf
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: I4a5b1ec999110a50fc904f3ae93e3983efa64f88
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
The repo is Python 3 now, so update hacking to version 2.0 which
supports Python 3.
Fix problems found.
Change-Id: I81cf5e317bb2f791888e75d87cfd27dfdd2b5f96
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: I1c4aaa0e0909f5272ab970950e3d21662dee2227
python-subunit is not used directly anywhere
and it is dependency of both testrepository
and os-testr
(probably was used by some tox wrapper script before)
Change-Id: I5c8a58761eba25cc51754a41bbf4adc16d06beb9
As part of the docs migration work[0] for Pike we need to switch
to use the openstackdocstheme.
[0]https://review.openstack.org/#/c/472275/
Change-Id: Idb5e5f47f0e8c63d7142a1a43990bf586ff4dbee
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: #1669276
Partial-Bug: #1668848
Change-Id: I253f798d24c8d454ca7bbb141961e312e094f1be
Add OSprofiler support in Magnum Client
Co-Authored-By: Hieu LE <hieulq@vn.fujitsu.com>
Change-Id: I85f766f636f754fc6ad8e28e3df2793cd02a618e
Depends-On: I7d68995aab81d365433950aada078ef1fcd5469b
Implements: blueprint osprofiler-support-in-magnum
Enable magnumclient OSC plugin support.
This patch set does the following:
- Establishes OSC plugin structure for commands and unit tests
- Creates the OSC plugin
- Adds OSC to test-requirements.txt
This fixes are mainly copied from python-neutronclient.
Partial-Implements: blueprint openstackclient-support
Change-Id: I8f7ccde7d1417416ada5fe5e88832db7520efa6f
We remove old bandit special version txt file and include it
in test-requirements.txt to make sure it can updated by global
automatically.
Change-Id: Icd51df9baffb3e881a0f355423f56a1321b27ac3
global requirements has the newer hacking version, so
we should bump our version as well.
Closes-Bug: #1454853
Change-Id: Ief8c2f6943a7884ed15b264826bb19f2f12962a6
Implements the boilerplate project setup. After this commit, I'll
import this project into stackforge, and we can continue development
from there.
The rest API identified is that of the work Eric put together initially
including bays, pods, and container objects.