Fix zuul for bandit target

Some zuul nodes running bionic do not consider the
older version of pyflakes to be installable. This seems to
be a cache issue.

This fix updates the version of hacking defined in the top
level test-requirements.txt file to use a more modern version.

It also only imports yamllint if it is python 3, since the yamllint
tox target is python 3 only.

Partial-Bug: 1928978
Signed-off-by: albailey <Al.Bailey@windriver.com>
Change-Id: Ia7aa6a296810adc0d9ba9eca701ec70f2c4be8cd
This commit is contained in:
albailey 2021-05-20 08:43:15 -05:00
parent 5b3e0f244e
commit 6d262e1b4c
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@
# License for the specific language governing permissions and limitations
# under the License.
#
# Copyright (c) 2013-2014 Wind River Systems, Inc.
# Copyright (c) 2013-2021 Wind River Systems, Inc.
#
try:

View File

@ -1,4 +1,4 @@
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
hacking>=1.1.0,<=2.0.0 # Apache-2.0
bashate >= 0.2
PyYAML >= 3.1.0
yamllint >= 0.5.2
yamllint<1.26.1;python_version>="3.0" # GPLv2