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
(cherry picked from commit 6d262e1b4c
)
This commit is contained in:
parent
a5abe127f8
commit
2450ba753d
|
@ -15,7 +15,7 @@
|
||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013-2014 Wind River Systems, Inc.
|
# Copyright (c) 2013-2021 Wind River Systems, Inc.
|
||||||
#
|
#
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
|
@ -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
|
bashate >= 0.2
|
||||||
PyYAML >= 3.1.0
|
PyYAML >= 3.1.0
|
||||||
yamllint >= 0.5.2
|
yamllint<1.26.1;python_version>="3.0" # GPLv2
|
||||||
|
|
Loading…
Reference in New Issue