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: Iad2e2f56e4cd71f371c760eef85cb121ef1438fe
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found by updated hacking version.
Update local hacking checks for new flake8, remove
test B314 since that tests difference between Python 2 and 3,
there's no need to advise using six anymore.
Use oslotest.base directly, this fixes the hacking tests.
Remove ddt usage in testsuite, it does not work with current hacking
version anymore.
Change-Id: Iee4584c6fde08728c017468d9de1db73f2c79d8d
Move constraints into deps, remove install_cmd.
The default install_cmd is just fine to use.
Increase constraints since they are now finally tested, see
http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014237.html
showed that they are broken. The lower-constraints job is optional,
remove it.
Change-Id: Ieda45ef624e0cd4e60216b740cc04aff0783e863
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: I2bb5204c1ee88d0b0cd6df830dac80d37bfddcf2
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Bandit 1.6.0 broke the -x command, block this release so that
pep8 tests pass again.
Sync with global requirements file to pass tests:
* update sphinx
* update jsonschema
Change-Id: If78421403ae188713820feb2071a8a889d9ccd7b
This patch adds a doc8 check of .rst files to the current pep8 check.
It includes fixes to the .rst files that didn't pass the check.
Change-Id: If9c6fbf51033cd420c605443dbb3049535024697
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: Iee69eae0043a401eb355a1fcb957879904882e85
PyKMIP changes:
The CredentialType is no longer imported into the credentials
module. Fixed the reference. Skipping the accept header tests
till the webob fix is available.
WebOb 1.8.1 changes:
This patch updates the Accept header logic that was broken
by the update in the WebOb dependency.
In the interest of time I had to comment out four functional tests
that will require further work in the content negotiation logic so
we can get the gate working again.
Also shame on the WebOb folks for not bumping the major version
on this breaking change.
Change-Id: Ie4d0df0cca2c79686830931e96b11bbc97a41c5b
Story: 2002122
This will provide a Castellan based secret store, which will
allow secret stores which have a castellan backend to be used
behind barbican. The initial example of this is the Vault
backend.
Unit tests have been added. In local tests,
most of the functional tests do in fact pass with a local Vault
backend, though this will need to be demonstrated with a later
review which establishes a Vault based gate.
Change-Id: Ib30fb79304014592bfc37938839d60a4c10c244d
python-subunit is not used directly anywhere
and it is dependency of both testrepository
and os-testr
Change-Id: I3e17805d35dbf961ca154e14a34248f0504f1b71
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: Ifc80e70434d99ab04d12a744e66daa2fea8ebe4b
Add hacking check to ensure we use proper rules and follow
community guideline [1].
[1] http://docs.openstack.org/developer/hacking/
Change-Id: I61e366969385aa044aea9d9678fbc91d32325497