Skip to content

Commit

Permalink
Disable pip version check in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Dec 2, 2021
1 parent db311dd commit dc1ee9c
Show file tree
Hide file tree
Showing 19 changed files with 55 additions and 19 deletions.
2 changes: 1 addition & 1 deletion repo_helper/files/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def testenv(self):
"""

if self["enable_devmode"]:
self._ini["testenv"]["setenv"] = "PYTHONDEVMODE = 1"
self._ini["testenv"]["setenv"] = indent_join(("PYTHONDEVMODE=1", "PIP_DISABLE_PIP_VERSION_CHECK=1"))

if self["enable_tests"]:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ qa = mypy, lint
cov = py36, coverage

[testenv]
setenv = PYTHONDEVMODE = 1
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
deps = -r{toxinidir}/tests/requirements.txt
commands =
python --version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ qa = mypy, lint
cov = py36, coverage

[testenv]
setenv = PYTHONDEVMODE = 1
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
deps = -r{toxinidir}/tests/requirements.txt
commands =
python --version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ qa = mypy, lint
cov = py36, coverage

[testenv]
setenv = PYTHONDEVMODE = 1
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
deps = -r{toxinidir}/tests/requirements.txt
commands =
python --version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ test = py36, py37, py38
qa = mypy, lint

[testenv]
setenv = PYTHONDEVMODE = 1
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
deps = importcheck>=0.1.0
commands =
python --version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ qa = mypy, lint
cov = py36, coverage

[testenv]
setenv = PYTHONDEVMODE = 1
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
deps = -r{toxinidir}/tests/requirements.txt
commands =
python --version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ qa = mypy, lint
cov = py36, coverage

[testenv]
setenv = PYTHONDEVMODE = 1
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
deps = -r{toxinidir}/tests/requirements.txt
commands =
python --version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ qa = mypy, lint
cov = py36, coverage

[testenv]
setenv = PYTHONDEVMODE = 1
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
deps = -r{toxinidir}/tests/requirements.txt
commands =
python --version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ qa = mypy, lint
cov = py36, coverage

[testenv]
setenv = PYTHONDEVMODE = 1
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
deps = -r{toxinidir}/tests/requirements.txt
commands =
python --version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ qa = mypy, lint
cov = py36, coverage

[testenv]
setenv = PYTHONDEVMODE = 1
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
deps = -r{toxinidir}/tests/requirements.txt
commands =
python --version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ qa = mypy, lint
cov = py36, coverage

[testenv]
setenv = PYTHONDEVMODE = 1
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
deps = -r{toxinidir}/tests/requirements.txt
commands =
python --version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ qa = mypy, lint
cov = py36, coverage

[testenv]
setenv = PYTHONDEVMODE = 1
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
deps = -r{toxinidir}/tests/requirements.txt
commands =
python --version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ qa = mypy, lint
cov = py36, coverage

[testenv]
setenv = PYTHONDEVMODE = 1
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
deps = -r{toxinidir}/tests/requirements.txt
commands =
python --version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ qa = mypy, lint
cov = py37, coverage

[testenv]
setenv = PYTHONDEVMODE = 1
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
deps = -r{toxinidir}/tests/requirements.txt
commands =
python --version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ qa = mypy, lint
cov = py38, coverage

[testenv]
setenv = PYTHONDEVMODE = 1
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
deps = -r{toxinidir}/tests/requirements.txt
commands =
python --version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ qa = mypy, lint
cov = py36, coverage

[testenv]
setenv = PYTHONDEVMODE = 1
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
deps = -r{toxinidir}/tests/requirements.txt
commands =
python --version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ qa = mypy, lint
cov = py36, coverage

[testenv]
setenv = PYTHONDEVMODE = 1
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
deps = -r{toxinidir}/tests/requirements.txt
commands =
python --version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ qa = mypy, lint
cov = py36, coverage

[testenv]
setenv = PYTHONDEVMODE = 1
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
deps = -r{toxinidir}/tests/requirements.txt
commands =
python --version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ qa = mypy, lint
cov = py36, coverage

[testenv]
setenv = PYTHONDEVMODE = 1
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
deps = -r{toxinidir}/tests/requirements.txt
extras = extra_a
commands =
Expand Down

0 comments on commit dc1ee9c

Please sign in to comment.