summary refs log tree commit diff
path: root/tox.ini
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-04-25 14:52:19 +0100
committerRichard van der Hoff <richard@matrix.org>2019-04-25 14:52:19 +0100
commit00714e5102523829eb20129567152667df154d5b (patch)
tree17b3a1879e2e9636f099cd734408d9a738727056 /tox.ini
parentConfig option for verifying federation certificates (MSC 1711) (#4967) (diff)
downloadsynapse-00714e5102523829eb20129567152667df154d5b.tar.xz
set PIP_USE_PEP517 = False for tests
pip 19.1 otherwise complains about "editable mode is not supported for
pyproject.toml-style projects"
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 5 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index ef543890f9..d0e519ce46 100644
--- a/tox.ini
+++ b/tox.ini
@@ -24,6 +24,11 @@ deps =
     pip>=10
 
 setenv =
+    # we have a pyproject.toml, but don't want pip to use it for building.
+    # (otherwise we get an error about 'editable mode is not supported for
+    # pyproject.toml-style projects').
+    PIP_USE_PEP517 = false
+
     PYTHONDONTWRITEBYTECODE = no_byte_code
     COVERAGE_PROCESS_START = {toxinidir}/.coveragerc