Skip to content

Commit

Permalink
Pin to tox<4
Browse files Browse the repository at this point in the history
Pin to tox<4 to avoid breakage caused by tox 4.0.0 backwards-incompatibilities.

See hypothesis/test-pyapp#6 for details.
  • Loading branch information
seanh committed Dec 8, 2022
1 parent 888c77a commit 19a9a87
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: python -m pip install --upgrade pip

- name: Install tox
run: python -m pip install tox
run: python -m pip install 'tox<4'

- name: Checkout git repo
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion bin/install-python
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ do
# Install tox in this version of Python if it's not already installed.
if ! "$(pyenv root)/versions/$python_version/bin/tox" --version > /dev/null 2>&1
then
"$(pyenv root)/versions/$python_version/bin/pip" install --quiet --disable-pip-version-check tox > /dev/null
"$(pyenv root)/versions/$python_version/bin/pip" install --quiet --disable-pip-version-check 'tox<4' > /dev/null
pyenv rehash
fi
done < .python-version
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ filterwarnings =
[tox]
envlist = tests
skipsdist = true
minversion = 3.8.0
requires =
tox>=3.8.0,<4
tox-faster
tox-pyenv
tox-run-command
Expand Down

0 comments on commit 19a9a87

Please sign in to comment.