detox's own requirements.txt limits the version of tox that it pulls
in. This can often conflict with the explicit version we set.
Let's use the version of tox as required by detox.
Issue: https://jira.opendaylight.org/browse/RELENG-136
Change-Id: I0b98afc6c993279c17cdd02d67471fadde23e552
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
--- /dev/null
+---
+fixes:
+ - |
+ New detox version requires tox >= 3.5 and < 4. Instead of
+ explicitly pulling tox, we are now implicitly pulling via
+ detox. (https://jira.opendaylight.org/browse/RELENG-136)
# DO NOT set -u as virtualenv's activate script has unbound variables
set -e -o pipefail
-python -m pip install --user --quiet --upgrade argparse detox "tox<3.0.0" tox-pyenv
+# Tox version is pulled in through detox to mitigate version conflict
+python -m pip install --user --quiet --upgrade argparse detox tox-pyenv
echo "----> pip freeze"
pip freeze