Skip to content

Commit 3646417

Browse files
Midnighteryt-ms
authored andcommitted
chore: install a safe pip version
1 parent 04859d7 commit 3646417

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tox.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,19 @@ python =
1010
3.9: py39
1111

1212
[testenv]
13+
# Always download the latest pip version. This has not been released yet thus the below
14+
# environment variable VIRTUALENV_PIP is needed. See
15+
# https://github.com/tox-dev/tox/issues/1768#issuecomment-787075584
16+
download = true
1317
deps =
1418
pytest
1519
pytest-cov
1620
pytest-mock
1721
pytest-raises
1822
passenv =
1923
STRUCTURIZR_*
24+
setenv =
25+
VIRTUALENV_PIP=21.1
2026
commands =
2127
pytest --cov=structurizr --cov-report=term {posargs}
2228

0 commit comments

Comments
 (0)