From 2a688790d1427ce9a33e7fac5d968185f3ca644f Mon Sep 17 00:00:00 2001 From: Paul Ganssle Date: Tue, 23 Apr 2019 10:16:32 -0400 Subject: [PATCH] Pin tox to 3.8.0 in CI Currently the `tz` env breaks when run with tox >= 3.8.0 due to some problem with the weak caches not invalidating properly. As a short-term mitigation, we will pin the tox version until we can get to the root of the problem. --- .travis.yml | 2 +- azure-pipelines.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6e93be16b..b95cea00f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,7 @@ matrix: - python: "nightly" install: - - pip install -U six && pip install -U tox + - pip install -U six && pip install -U 'tox<3.8.0' - if [[ $TRAVIS_PYTHON_VERSION == "3.3" ]]; then pip install 'virtualenv<16.0'; fi - if [[ $TRAVIS_PYTHON_VERSION == "3.3" ]]; then pip install 'setuptools<40.0'; fi - if [[ $TOXENV == "py" ]]; then ./ci_tools/retry.sh python updatezinfo.py; fi diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b1c58b558..dace72cfe 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -50,7 +50,7 @@ steps: condition: in(variables.PYTHON, 'pypy', 'pypy3') - bash: | - $PYTHON -m pip install -U six && $PYTHON -m pip install -U tox + $PYTHON -m pip install -U six && $PYTHON -m pip install -U 'tox < 3.8.0' if [[ $PYTHON_VERSION == "3.3" ]]; then pip install 'virtualenv<16.0'; fi if [[ $PYTHON_VERSION == "3.3" ]]; then pip install 'setuptools<40.0'; fi displayName: Ensure prereqs