Use python 3 venv for generate-constraints
With change I15d451f6a832b2e698b28e7351a36ef7aea92abe generate-constraints needs python 3, setup the venv using python 3. Change-Id: I3dba35267dc6f344ad27910c7dc18c1a33abf4ba
This commit is contained in:
parent
05caddb413
commit
b59a59da35
|
@ -34,7 +34,7 @@ elif [ "$OWN_PROJECT" == "requirements-constraints" ] ; then
|
|||
PROJECTS=openstack/requirements
|
||||
VENV=$(mktemp -d)
|
||||
trap "rm -rf $VENV" EXIT
|
||||
virtualenv $VENV
|
||||
virtualenv -p python3 $VENV
|
||||
$VENV/bin/pip install -e .
|
||||
function update {
|
||||
$VENV/bin/generate-constraints -b blacklist.txt -p /usr/bin/python3.6 \
|
||||
|
|
Loading…
Reference in New Issue