From 1425fe5413ef5330bf7dfaae445303b632bb454d Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Fri, 26 Apr 2019 09:55:02 +0100 Subject: [PATCH] [Tox] Pin pip version to fix PEP517 issues * Using pyproject.toml for black config pip version 19.1 errors out about using editable install with pyproject.toml. Workaround is to not use pip 19.1 in tox. * Pin to 18.1 to avoid pip-wheel-metadata-folder creation Ref: - https://github.com/pypa/pip/issues/6434 - https://github.com/pypa/pip/issues/6213 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index cb24c5547..9cfea223a 100644 --- a/tox.ini +++ b/tox.ini @@ -18,8 +18,8 @@ addopts = -p no:warnings --basetemp=_pytest_temp [basesetup] # Minimum pip and setuptools versions to fix system and travis issues. deps = - pip>=10 - setuptools>=40 + pip >= 10, <= 18.1 + setuptools >= 40 [basetests] deps =