Skip to content

Commit

Permalink
Pin tox to 3.8.0 in CI
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pganssle committed Apr 23, 2019
1 parent 9e95111 commit 2a68879
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Expand Up @@ -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
Expand Down

0 comments on commit 2a68879

Please sign in to comment.