Locally all tox tests passed without those requirements.
Also removed keystoneclient test. We are building images not clients.
Change-Id: I89578f0d7710cb38db12bf862584f13b49af20ef
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: I4532bcef73cb4169cfeacd0e9d09e9a99928818d
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 hacking and friends from lower-constraints, they are not
needed in installations.
Change-Id: I67e5ca24c550163c218fb06692de0b7c528d8318
There's a regression[0] in bandit 1.6.0 which causes bandit to stop
respecting excluded directories, and our tests throw a bunch of
violations. Blacklist this version, but allow newer versions as there is
already a pull request[1] to fix it, and I expect it will be included in
the next release.
[0] https://github.com/PyCQA/bandit/issues/488
[1] https://github.com/PyCQA/bandit/pull/489
Change-Id: I4429614a57fb512fe2bfdf0686c3eff0adc2a2f4
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: I27308a2435a4dca572d736f56a02b0bbc8563981
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: Ib82ae202e347c17d255b3c91149474151a59eac3
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: Ibd9f0b27f389836142d825798379c70428852846
This patch add the coverage tool package to test-requirements.txt
which was missing, while kolla support coverage. In addtion to this
tox.ini coverage command is modified to reflect the coverage report
in standard output whenever "tox -e cover" command run for better
representation of coverage report.
Change-Id: I7f77c8d5320a7d180586ce1e8773a4f294846331
Partially-Implements: blueprint coverage-increment-for-kolla
Currently, we have hacking check in kolla, but no place where we
can define hacking check rules. This patch adds HACKING.rst file
for that. And also add test cases for hacking.
Change-Id: I87f8768138d91bf6a5a1db91d37392f794f3f0ba
Graphviz is only helpful and used for developer. It is useless for
deployment. So move it to test-requirements.txt file and warning users
when he wants to save dependency feature.
TrivialFix
Change-Id: Id8de76baa6f1455ad032abe4738d9779cf0cc5a6
These two modules are seemingly installed in ubuntu 16 and Fedora
systems. Ubuntu 14 needs them to be included explicitly.
Change-Id: I3e56453c36be20b160ba61a26015ec8ed0fa02a4
Closes-bug: 1623308