[Stable Only] Use no-build-isolation only in venv
Follow up of [1], as it breaks the jobs not using venv like centos/rocky. [1] https://review.opendev.org/c/openstack/devstack/+/976106 Change-Id: I9f7affadc6abac4b18dd9ff35a4c83e582468259 Signed-off-by: Yatin Karel <ykarel@redhat.com>
This commit is contained in:
@@ -211,9 +211,11 @@ function pip_install {
|
||||
cmd_pip="$cmd_pip install"
|
||||
# Always apply constraints
|
||||
cmd_pip="$cmd_pip -c $REQUIREMENTS_DIR/upper-constraints.txt"
|
||||
# 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"
|
||||
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"
|
||||
fi
|
||||
|
||||
$xtrace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user