diff options
author | elajkat <lajos.katona@est.tech> | 2023-01-13 16:22:06 +0100 |
---|---|---|
committer | Lajos Katona <katonalala@gmail.com> | 2023-01-16 08:34:36 +0000 |
commit | 33f1c89a840262ad378bf82fde5b42a07ad271db (patch) | |
tree | 204aeefdf55187bcb80385c72bdf935ee481d654 | |
parent | 776e360e351c4b0c754fec5ad6308323adb44437 (diff) | |
download | python-neutronclient-33f1c89a840262ad378bf82fde5b42a07ad271db.tar.gz |
Tox4: add allowlist_externals where necessary
With tox4 allowlist_externals is more strictly checked, so
fix it where necessary and fix pylint version.
Depends-On: https://review.opendev.org/c/zuul/zuul-jobs/+/866943
Related-Bug: #1999558
Change-Id: Id115a436b95b3ede5a1f3102b4bb9e3ade75c970
-rw-r--r-- | doc/requirements.txt | 1 | ||||
-rw-r--r-- | tox.ini | 7 |
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt index 76ce5cd..718a239 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -4,3 +4,4 @@ openstackdocstheme>=2.2.0 # Apache-2.0 reno>=3.1.0 # Apache-2.0 sphinx>=2.0.0,!=2.1.0 # BSD +cliff>=3.4.0 # Apache-2.0 @@ -1,7 +1,7 @@ [tox] envlist = py39,pep8 minversion = 3.18.0 -skipsdist = True +skipsdist = False ignore_basepython_conflict = True [testenv] @@ -12,18 +12,17 @@ setenv = VIRTUAL_ENV={envdir} LC_ALL=C PYTHONWARNINGS=default::DeprecationWarning usedevelop = True -install_command = pip install {opts} {packages} deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt # Delete bytecodes from normal directories before running tests. # Note that bytecodes in dot directories will not be deleted # to keep bytecodes of python modules installed into virtualenvs. -commands = sh -c "find . -type d -name '.?*' -prune -o \ +commands = bash -c "find . -type d -name '.?*' -prune -o \ \( -type d -name '__pycache__' -o -type f -name '*.py[co]' \) \ -print0 | xargs -0 rm -rf" stestr run {posargs} -allowlist_externals = sh +allowlist_externals = bash [testenv:pep8] commands = |