Fix zuul pylint setup failures
The pylint zuul target will now be setup the same as the py39 target. The pip legacy resolver is still needed because not all of the other STX dependencies being installed by tox are aligned properly for python 3.9 Enforce the nodeset for pylint to be the same as py39 Tox 4 was enabled by: https://review.opendev.org/c/zuul/zuul-jobs/+/866943 Tox 4 deprecated whitelist_externals. Replace whitelist_externals with allowlist_externals Partial-Bug: #1997255 Partial-Bug: #2000399 Signed-off-by: Al Bailey <al.bailey@windriver.com> Change-Id: I7d7ca4531600bd863a045d3daeb0be82fec34377
This commit is contained in:
parent
2e5d4d9ee3
commit
f33032c1d0
|
@ -49,6 +49,7 @@
|
|||
parent: tox
|
||||
description: |
|
||||
Run pylint test for k8sapp_istio
|
||||
nodeset: debian-bullseye
|
||||
required-projects:
|
||||
- starlingx/config
|
||||
- starlingx/fault
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
pbr>=0.5
|
||||
PyYAML==3.10
|
||||
PyYAML>=3.10.0
|
||||
|
|
|
@ -17,7 +17,7 @@ distshare={toxworkdir}/.tox/distshare
|
|||
sitepackages = False
|
||||
|
||||
# tox is silly... these need to be separated by a newline....
|
||||
whitelist_externals = bash
|
||||
allowlist_externals = bash
|
||||
find
|
||||
|
||||
install_command = pip install \
|
||||
|
@ -112,6 +112,12 @@ commands = bandit --ini tox.ini -n 5 -r k8sapp_istio
|
|||
basepython = python3
|
||||
sitepackages = False
|
||||
|
||||
install_command = pip install \
|
||||
-v -v -v --use-deprecated legacy-resolver \
|
||||
-c{toxinidir}/upper-constraints.txt \
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/starlingx/root/raw/branch/master/build-tools/requirements/debian/upper-constraints.txt} \
|
||||
{opts} {packages}
|
||||
|
||||
deps = {[testenv]deps}
|
||||
pylint
|
||||
commands =
|
||||
|
|
Loading…
Reference in New Issue