tox: Remove ineffective ignore_basepython_conflict and bump minimum version

Change-Id: I3ef4eb948f7ccd38a1fe319a22786ac63dc80fba
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
This commit is contained in:
Ivan Anfimov
2025-10-07 18:40:32 +00:00
parent 26a8e33215
commit d6c314c7d7

10
tox.ini
View File

@@ -1,12 +1,9 @@
[tox]
minversion = 4.0
minversion = 4.6.0
skipsdist = True
envlist = docs,molecule
ignore_basepython_conflict = True
[testenv]
basepython = python3
usedevelop = False
commands =
/usr/bin/find . -type f -name "*.pyc" -delete
@@ -31,7 +28,6 @@ setenv =
VIRTUAL_ENV={envdir}
WORKING_DIR={toxinidir}
[testenv:docs]
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
@@ -41,7 +37,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 +45,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 =