Skip to content

Commit 010e889

Browse files
committed
Cap tox version in CI
1 parent 976db87 commit 010e889

File tree

6 files changed

+6
-5
lines changed

6 files changed

+6
-5
lines changed

.github/workflows/flake8.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
python -VV
4444
python -m site
4545
python -m pip install --upgrade pip setuptools wheel
46-
python -m pip install tox
46+
python -m pip install tox~=3.0
4747
4848
- name: "Run Flake8"
4949
if: steps.changes.outputs.code == 'true'

.github/workflows/mypy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
python -VV
4848
python -m site
4949
python -m pip install --upgrade pip setuptools wheel
50-
python -m pip install --upgrade tox virtualenv!=20.16.0
50+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
5151
5252
- name: "Run mypy"
5353
if: steps.changes.outputs.code == 'true'

.github/workflows/python_ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
python -VV
6666
python -m site
6767
python -m pip install --upgrade pip setuptools wheel
68-
python -m pip install --upgrade tox virtualenv!=20.16.0
68+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
6969
7070
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
7171
if: steps.setup-python.outcome == 'success'

.github/workflows/python_ci_linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ jobs:
148148
if: startsWith(github.ref, 'refs/tags/')
149149
run: |
150150
python -m pip install --upgrade pip setuptools wheel
151-
python -m pip install --upgrade tox
151+
python -m pip install --upgrade tox~=3.0
152152
153153
- name: Build distributions 📦
154154
if: startsWith(github.ref, 'refs/tags/')

.github/workflows/python_ci_macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
python -VV
6565
python -m site
6666
python -m pip install --upgrade pip setuptools wheel
67-
python -m pip install --upgrade tox virtualenv!=20.16.0
67+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
6868
6969
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
7070
if: steps.setup-python.outcome == 'success'

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ isolated_build = True
3333
requires =
3434
pip>=21,!=22.2
3535
tox-envlist>=0.2.1
36+
tox~=3.0
3637
virtualenv!=20.16.0
3738

3839
[envlists]

0 commit comments

Comments
 (0)