From 1b1e578b9b2ab203ea19254d402befd533bdb09a Mon Sep 17 00:00:00 2001 From: Ivan Anfimov Date: Sun, 6 Jul 2025 19:18:15 +0000 Subject: [PATCH] tox: Remove ineffective ignore_basepython_conflict and bump minimum version Change-Id: Id2ca74a11fd1e756e313bd6e19b69d7e9ceee772 Signed-off-by: Ivan Anfimov --- tox.ini | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tox.ini b/tox.ini index 7819575..e14fca7 100644 --- a/tox.ini +++ b/tox.ini @@ -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 = False install_command = pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages} @@ -33,7 +31,9 @@ setenv = WORKING_DIR={toxinidir} [testenv:docs] -deps = -r{toxinidir}/doc/requirements.txt +deps = + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -r{toxinidir}/doc/requirements.txt commands = bash -c "rm -rf doc/build" doc8 doc @@ -52,7 +52,7 @@ commands = extensions = .rst [testenv:releasenotes] -deps = -r{toxinidir}/doc/requirements.txt +deps = {[testenv:docs]deps} commands = sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html