Skip to content

Commit bf25257

Browse files
committed
Merge branch 'feature/build-cleanup' into 'master'
Feature/build cleanup See merge request python-devs/importlib_metadata!110
2 parents 1d53329 + a68f800 commit bf25257

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

tox.ini

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
[tox]
22
envlist = {py27,py35,py36,py37,py38}{,-cov,-diffcov},qa,docs,perf
33
skip_missing_interpreters = True
4-
4+
minversion = 3.2
5+
# Ensure that a late version of pip is used even on tox-venv.
6+
requires =
7+
tox-pip-version>=0.0.6
58

69
[testenv]
7-
# Pin pip at version less than 19.1, see https://gitlab.com/python-devs/importlib_metadata/issues/54 for background
8-
# Full discussion at https://discuss.python.org/t/pip-19-1-and-installing-in-editable-mode-with-pyproject-toml/1553
9-
# One liner copied from https://github.com/ansible/molecule/pull/2009/files
10-
install_command =
11-
python -c 'import subprocess, sys; pip_inst_cmd = sys.executable, "-m", "pip", "install"; subprocess.check_call(pip_inst_cmd + ("pip<19.1", )); subprocess.check_call(pip_inst_cmd + tuple(sys.argv[1:]))' {opts} {packages}
10+
pip_version = pip
1211
commands =
1312
!cov,!diffcov: python -m unittest discover {posargs}
1413
cov,diffcov: python -m coverage run {[coverage]rc} -m unittest discover {posargs}

0 commit comments

Comments
 (0)