Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

Commit b784a50

Browse files
committed
Upgrade tox to 4.0.1 and pin versions for all CI pip dependencies
1 parent a4e9dd0 commit b784a50

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
id: install
3838
run: |
3939
python -m pip install --upgrade pip
40-
pip install tox
40+
pip install tox==4.0.1
4141
4242
- name: Typecheck
4343
run: tox -e mypy
@@ -53,7 +53,7 @@ jobs:
5353
- name: Build PyPI package
5454
if: ${{ always() && steps.install.outcome == 'success' }}
5555
run: |
56-
pip install build twine
56+
pip install build==0.9.0 twine==4.0.2
5757
python -m build
5858
5959
pytest_integration_tests:
@@ -116,12 +116,12 @@ jobs:
116116
- name: Install tox
117117
run: |
118118
python -m pip install --upgrade pip
119-
pip install tox
119+
pip install tox==4.0.1
120120
121121
- name: Test
122122
run: |
123123
UNFLAKABLE_API_KEY=${{ secrets.UNFLAKABLE_API_KEY }} \
124-
TOX_TESTENV_PASSENV=UNFLAKABLE_API_KEY tox -e ${{ matrix.tox_env }} -- \
124+
tox -e ${{ matrix.tox_env }} --override testenv.pass_env=UNFLAKABLE_API_KEY -- \
125125
--enable-unflakable \
126126
--test-suite-id 2AT4xgduQdwkVKSaO0qJ2Dqm2JY \
127127
-s \
@@ -146,7 +146,7 @@ jobs:
146146
- name: Install build dependencies
147147
run: |
148148
python -m pip install --upgrade pip
149-
pip install build twine
149+
pip install build==0.9.0 twine==4.0.2
150150
151151
- name: Build package
152152
run: |

tox.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# For more information about tox, see https://tox.readthedocs.io/en/latest/
22
[tox]
33
envlist = py37-pytest{62,70,71},py38-pytest{62,70,71},py39-pytest{62,70,71},py310-pytest{62,70,71},flake8,mypy,pycodestyle
4-
isolated_build = True
54

65
[testenv]
76
extras = dev

0 commit comments

Comments
 (0)