Skip to content

Commit

Permalink
[Tox] Pin pip version to fix PEP517 issues
Browse files Browse the repository at this point in the history
 * 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:
 - pypa/pip#6434
 - pypa/pip#6213
  • Loading branch information
cas-- committed May 3, 2019
1 parent 84643fb commit 1425fe5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 1425fe5

Please sign in to comment.