From 168a36006ea3fe61cedc4688f47e62739b351e3a Mon Sep 17 00:00:00 2001 From: Gregory Thiemonge Date: Tue, 10 Jan 2023 16:16:54 +0100 Subject: [PATCH] Fixing jobs with tox4 Adding scripts to allowlist_externals Adding explicitly requirements.txt to the deps list Removing basepython and skipsdist Change-Id: I3ef4f7f5d03c84b9091dd97a272f64da680c6e2d --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 129634d..b4b46f2 100644 --- a/tox.ini +++ b/tox.ini @@ -1,11 +1,9 @@ [tox] minversion = 3.18.0 envlist = py3,pep8 -skipsdist = True ignore_basepython_conflict = True [testenv] -basepython = python3 usedevelop = True allowlist_externals = find @@ -16,6 +14,7 @@ setenv = PYTHONWARNINGS=default::DeprecationWarning deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = find . -type f -name "*.pyc" -delete @@ -34,6 +33,7 @@ allowlist_externals = sh find bash + {toxinidir}/tools/coding-checks.sh [testenv:venv] commands = {posargs}