From cded141f4989a6311c034b2565996c5e27319198 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Thu, 7 Dec 2023 11:37:31 -0500 Subject: [PATCH] Add missing use_develop to tox.ini In #11119 we removed the use_develop flag in the tox config which was used to tell tox to use a single editable install for running a job (avoiding the need to build from sdist on every run) as part of a temporary refactoring to ensure we installed the metapackage along with terra. Now that we've standardized the packaging in #11271 that was undone, but the usedevelop flag was not added back. This has caused tox to rebuild the package from sdist on every run even if there are no code changes. This commit restores the missing option to fix this. --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 74436293597b..b47ec9f6097b 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,7 @@ envlist = py38, py39, py310, py311, py312, lint-incr isolated_build = true [testenv] +usedevelop = True install_command = pip install -c{toxinidir}/constraints.txt -U {opts} {packages} setenv = VIRTUAL_ENV={envdir}