Tox: use sitepackages

Tox is creating a virtual environment before execution.
With python 3.12 the virtual env does not include any
more setuptools, so use setuptools from the globally
installed packages.

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
Florence Blanc-Renaud 2023-11-30 13:31:11 +01:00
parent 8d7bd6c6ab
commit bf1110bda1

View File

@ -9,6 +9,7 @@ allowlist_externals={toxinidir}/.tox-install.sh
# always re-create virtual env. A special install helper is used to configure,
# build and install packages.
recreate=True
sitepackages=True
install_command={toxinidir}/.tox-install.sh wheel_bundle {envpython} {envsitepackagesdir} {packages}
changedir={envdir}
setenv=