Chore: Update pre-commit dependencies
[releng/global-jjb.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index bd16750..2cf56b6 100644 (file)
--- 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]
@@ -26,14 +29,15 @@ commands =
 [testenv:jjb]
 basepython = python3
 deps =
-    jenkins-job-builder==5.0.4
+    jenkins-job-builder==6.0.0
+    setuptools
 commands =
     jenkins-jobs -l DEBUG test --recursive -o {toxinidir}/archives/job-configs {toxinidir}/jjb:{toxinidir}/.jjb-test
 
 [testenv:jjb-compare-xml]
 basepython = python3
 deps =
-    jenkins-job-builder
+    jenkins-job-builder==6.0.0
 allowlist_externals =
     ./jjb-compare-xml.sh
 commands =
@@ -103,7 +107,7 @@ commands =
 
 [testenv:jenkins-jobs]
 deps =
-    jenkins-job-builder{env:JJB_VERSION_OP:~=}{env:JJB_VERSION:5.0.4}
+    jenkins-job-builder{env:JJB_VERSION_OP:~=}{env:JJB_VERSION:6.0.0}
 commands =
     jenkins-jobs {posargs:--help}