Set basepython for docs builds

Docs builds are broken on any system with python3.12 installed on it, as
tox will happily use the newest version -- which is currently broken.

I was unable to find a way to say "any python less than 3.12". If some
other version is more likely to work on everyones' system, or there's a
better approach please let me know -- my desire is to disallow 3.12 not
require 3.11.

Change-Id: I6441f6dc8dec8f5222987bd55538c08e389ecd89
This commit is contained in:
Jay Faulkner 2024-05-02 15:17:43 -07:00
parent 3bd3fa371c
commit f20835d476
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ commands = {posargs:}
[testenv:docs]
sitepackages = False
basepython = python311
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt