Changed minversion in tox to 3.18.0

The patch bumps min version of tox to 3.18.0 python in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23
The patch also sets ubuntu-focal nodeset for the docs job as newer
ubuntu (with newer tox available) is required.

Change-Id: I5b32e7f65710199601a6856dba86584390eb92b7
This commit is contained in:
Anand Bhat 2021-05-08 18:01:19 +05:30 committed by Martin Kopec
parent 3c9bc333ed
commit 3b8a9126db
2 changed files with 16 additions and 5 deletions

View File

@ -1,4 +1,15 @@
- project: - project:
templates: templates:
- nodejs4-jobs - nodejs14-jobs
- nodejs10-docs check:
jobs:
- nodejs-run-docs:
vars:
node_version: 14
nodeset: ubuntu-focal
gate:
jobs:
- nodejs-run-docs:
vars:
node_version: 14
nodeset: ubuntu-focal

View File

@ -1,5 +1,5 @@
[tox] [tox]
minversion = 2.4.0 minversion = 3.18.0
skipsdist = True skipsdist = True
ignore_basepython_conflict = True ignore_basepython_conflict = True
@ -20,11 +20,11 @@ deps =
commands = commands =
rm -rf doc/build rm -rf doc/build
sphinx-build -W -b html doc/source doc/build/html sphinx-build -W -b html doc/source doc/build/html
whitelist_externals = rm allowlist_externals = rm
[testenv:pdf-docs] [testenv:pdf-docs]
deps = {[testenv:docs]deps} deps = {[testenv:docs]deps}
whitelist_externals = allowlist_externals =
make make
commands = commands =
sphinx-build -W -b latex doc/source doc/build/pdf sphinx-build -W -b latex doc/source doc/build/pdf