This patch brings some pip packages up to date
and also introduces changes to tox to make sure
that constraints are always respected.
Change-Id: I7f794386b47ae9fd43db2278ee214e015d5b335b
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.
Also removing the hacking and other related dep from lower-constraints file
as theose are blacklisted requirements and does not need to be present
there.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: Idd108d9575b276f3d78a7c3c6dbc5f3ed3205411
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: Ie841dc9738ed029ef01add3681ed76112e2cdca3
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
hacking already pins flake8, so do not add it, especially in conflict
with the hacking version. hacking also pins pycodestyle, so remove that
as well.
The repo is Python 3 now, so update hacking for a python3 version.
Blacklist new failures or fix them.
Convert own hacking checks to new flake8 API, update lower-constraints
for this.
Change-Id: I2928b9d764f61a53a549a9eb850c7809bdbb6f74
According to Openstack summit session [1] stestr is
maintained project to which all Openstack projects
should migrate.
Let's switch it then.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: Ia63e48a8ffee765a2d0ae43ff0054e3c5f61c992
Signed-off-by: Charles Short <zulcss@gmail.com>
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: Ia8551b45c1d7b4d67368e493e143c3893d07df61
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: I0a9069ad1c71051df69d0c7e89da9121785ea6f6
This change is being proposed as part of the OpenStack Security Project
working session at the Austin 2016 summit. It adds support for running
the bandit[1] security linting tool against the Senlin codebase.
This change adds a targeted environment for bandit.
The bandit configuration has been tailored to exclude tests that are
currently producing warning against the codebase. These issues will be
followed up with bug reports and patches.
At the time of submission, Senlin passes all Bandit tests configured
in tox.
[1]: https://wiki.openstack.org/wiki/Security/Projects/Bandit
Change-Id: I54ef7329b9d6f6429838afdc5319f48bcc2e9f33
This patch attempts a removal of the usage of mox or mox3 package in
unit tests. We are all about using mock package now.
Change-Id: I587595a449722f2da90654276b55dccae2a02219
This migrates to the common upstream os-api-ref library. This patch
currently fails because the Senlin team isn't using the parameters
specification as expected. The 'in' field maps to swagger, and must be
one of 'header', 'path', 'query', 'body'.
Change-Id: I5998e4b4343965b24f827a43fed5bf0633200782
Tempest plugin framework provides more flexibility for projects.
With this plugin, it's not requiring the tests live in the tempest
tree.
Blueprint: tempest-plugin-interface
Change-Id: Iaa3ee3aa3bf5d1d42912a97693ab60e8c81c3085
As `paramiko` is not needed in our test code, better remove it from
requirements to reduce dependency.
Change-Id: I77d191cdc249a19fa7aaf1f55ebfdbbd06927692