From ceec372db7b82b99e476e5abdc81b9140db8a152 Mon Sep 17 00:00:00 2001 From: Jaromir Wysoglad Date: Mon, 16 Feb 2026 09:13:16 -0500 Subject: [PATCH] [Stable-Only] Enable build isolation for gnocchi Disabling the build isolation breaks installing gnocchi, which results in telemetry tests failing on stable branches as well as the grenade test failing for ceilometer on master. Conflicts: inc/python Change-Id: I00f504b80d087072a32e0e64e46b7dff4b2ff683 Signed-off-by: Jaromir Wysoglad (cherry picked from commit 58e156c2cd144283e8aea6432a9468cdaefc3972) --- inc/python | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/inc/python b/inc/python index 35f00bb21d..eb2ae53e2b 100644 --- a/inc/python +++ b/inc/python @@ -212,9 +212,13 @@ function pip_install { # Always apply constraints cmd_pip="$cmd_pip -c $REQUIREMENTS_DIR/upper-constraints.txt" if [ "${sudo_pip}" == "env" ]; then - # NOTE(stephenfin): stable-only change to disable build-isolation so that - # we can pin setuptools on these old branches - cmd_pip="$cmd_pip --no-build-isolation" + # NOTE(stephenfin): stable-only change to disable build-isolation so + # that we can pin setuptools on these old branches + # NOTE(jwysogla): Gnocchi doesn't install correctly without + # build-isolation, so disable it only if we aren't installing Gnocchi + if [[ ! "$@" =~ "gnocchi" ]]; then + cmd_pip="$cmd_pip --no-build-isolation" + fi fi $xtrace