Honor PYTHON3_VERSION while venv prepare

Currently PYTHON3_VERSION was not honored while
preparing venv, this patch fixes it.

Change-Id: I3f9db8cfa38572cdc80d4973ed3b5908335ef6e8
Signed-off-by: Yatin Karel <ykarel@redhat.com>
This commit is contained in:
2026-03-02 14:20:18 +05:30
parent 55c045539d
commit 98f6111606

View File

@@ -133,7 +133,7 @@ export PYTHON3_VERSION=${PYTHON3_VERSION:-${_DEFAULT_PYTHON3_VERSION:-3}}
# Create a virtualenv with this
# Use the built-in venv to avoid more dependencies
export VIRTUALENV_CMD="python3 -m venv"
export VIRTUALENV_CMD="python$PYTHON3_VERSION -m venv"
# Default for log coloring is based on interactive-or-not.
# Baseline assumption is that non-interactive invocations are for CI,