From: Matthew Watkins Date: Tue, 27 Feb 2024 16:00:33 +0000 (+0000) Subject: Fix: Workaround missing setuptools dependency in tox.ini X-Git-Tag: v0.90.1~4 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F82%2F72682%2F3;p=releng%2Fglobal-jjb.git Fix: Workaround missing setuptools dependency in tox.ini JJB6 uses stevedore, which has an undeclared dependency on setuptools Issue: RELENG-5179 Change-Id: Ie59f28b75e86e2e80421840a5ebd6eb982f165f3 Signed-off-by: Matthew Watkins --- diff --git a/releasenotes/notes/fix-missing-tox-dep-d416344f5a0a0195.yaml b/releasenotes/notes/fix-missing-tox-dep-d416344f5a0a0195.yaml new file mode 100644 index 00000000..ab7177df --- /dev/null +++ b/releasenotes/notes/fix-missing-tox-dep-d416344f5a0a0195.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - | + Update tox.ini to workaround an undeclared setuptools dependency. diff --git a/tox.ini b/tox.ini index 91332c12..a226bcdb 100644 --- a/tox.ini +++ b/tox.ini @@ -14,7 +14,10 @@ skipsdist = True [testenv:docs] basepython = python3 deps = -rrequirements.txt +allowlist_externals = + git commands = + git fetch --unshallow sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html [testenv:ensure-documented] @@ -27,6 +30,7 @@ commands = basepython = python3 deps = jenkins-job-builder==6.0.0 + setuptools commands = jenkins-jobs -l DEBUG test --recursive -o {toxinidir}/archives/job-configs {toxinidir}/jjb:{toxinidir}/.jjb-test