Merge "tox: Remove ineffective ignore_basepython_conflict and bump minimum version"

This commit is contained in:
Zuul
2025-09-23 14:07:40 +00:00
committed by Gerrit Code Review

View File

@@ -1,11 +1,9 @@
[tox]
minversion = 3.1
minversion = 4.6.0
skipsdist = True
envlist = docs,linters,functional
ignore_basepython_conflict = True
[testenv]
basepython = python3
usedevelop = True
commands =
/usr/bin/find . -type f -name "*.pyc" -delete
@@ -41,7 +39,6 @@ commands =
doc8 doc
sphinx-build -W -b html doc/source doc/build/html
[testenv:pdf-docs]
deps = {[testenv:docs]deps}
allowlist_externals =
@@ -50,18 +47,15 @@ commands =
sphinx-build -W -b latex doc/source doc/build/pdf
make -C doc/build/pdf
[doc8]
# Settings for doc8:
extensions = .rst
[testenv:releasenotes]
deps = {[testenv:docs]deps}
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
# environment used by the -infra templated docs job
[testenv:venv]
commands =