From bf1110bda1e8b47869c210b596c12369f2242e49 Mon Sep 17 00:00:00 2001 From: Florence Blanc-Renaud Date: Jan 09 2024 07:40:47 +0000 Subject: 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 Reviewed-By: Alexander Bokovoy Reviewed-By: Rob Crittenden --- diff --git a/tox.ini b/tox.ini index da0e4d3..274d352 100644 --- a/tox.ini +++ b/tox.ini @@ -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=