Update tox.ini to work with tox 4

This change will allow this repo to pass zuul now
that this has merged:
https://review.opendev.org/c/zuul/zuul-jobs/+/866943

Tox 4 deprecated whitelist_externals.
Replace whitelist_externals with allowlist_externals

Due to unit test failures related to installing the
components, the Zuul file for this repo is pinned to
be less than tox 4.

Partial-Bug: #2000399

Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I906ebaa601170bd12183f1c983c3d5087014e696
This commit is contained in:
Al Bailey 2022-12-26 21:55:45 +00:00
parent a392d114d7
commit 056036a19b
3 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,7 @@
---
- project:
vars:
ensure_tox_version: '<4'
check:
jobs:
- openstack-tox-linters
@ -37,7 +39,7 @@
parent: tox
description: |
Run pylint test for k8sapp-oran-o2
nodeset: ubuntu-xenial
nodeset: ubuntu-bionic
required-projects:
- starlingx/config
- starlingx/fault

View File

@ -19,7 +19,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 \

View File

@ -15,7 +15,7 @@ setenv =
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
whitelist_externals =
allowlist_externals =
bash
passenv =