Switch to using TOX_CONSTRAINTS_FILE

To make lower-constraints handling less awkward, there was
the motion to rename the UPPER_CONSTRAINTS_FILE to TOX_CONSTRAINTS_FILE,
as it can be used to specify either upper or lower constraints.

Change-Id: I47fcd93c9b2a5f47fa36c43574f51c86715ac326
This commit is contained in:
Dirk Mueller 2019-05-22 22:26:54 +02:00
parent 8f84f645c0
commit 9dc9548066
1 changed files with 4 additions and 1 deletions

View File

@ -55,8 +55,11 @@ function init_branch {
# The calling environment puts upper-constraints.txt in our
# working directory.
# UPPER_CONSTRAINTS_FILE needs to be exported so that tox can use it
# TOX_CONSTRAINTS_FILE needs to be exported so that tox can use it
# if needed.
export TOX_CONSTRAINTS_FILE=$(pwd)/upper-constraints.txt
# The deprecated name of TOX_CONSTRAINTS_FILE is UPPER_CONSTRAINTS_FILE,
# so handle that one as well for now.
export UPPER_CONSTRAINTS_FILE=$(pwd)/upper-constraints.txt
GIT_BRANCH=$branch
}