summary refs log tree commit diff
path: root/tox.ini
diff options
context:
space:
mode:
authorDan Callahan <dan.callahan@gmail.com>2020-10-27 23:26:00 +0000
committerGitHub <noreply@github.com>2020-10-27 23:26:00 +0000
commite90fad5cbacebcf00f90e9432089533008ccc48b (patch)
tree326215b092d4628a01f589ab68bab69c5833069d /tox.ini
parentNote support for Python 3.9 (#8665) (diff)
downloadsynapse-e90fad5cbacebcf00f90e9432089533008ccc48b.tar.xz
Minor updates to docs on how to run tests (#8666)
The test runner isn't present in the `[all]` set of extras, so the
previous instructions did not work without also installing `[test]`.

Note that this does not include the `[lint]` extras, since those do not
install on all supported Python versions (specifically, isort 5.x
requires Python 3.6, while we still support 3.5). Instructions for that
are included in our pull request template, so we should be fine there.

I've also dropped the `--no-use-pep517` arg to `pip install` since it
seems to have been added to address a temporary regression in pip 19.1
which was fixed in pip 19.1.1 the following month.

Lastly, updated the example output of the test suite to set more
realistic expectations around run time.

Signed-off-by: Dan Callahan <danc@element.io>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 0 insertions, 5 deletions
diff --git a/tox.ini b/tox.ini
index 6a507d3012..c232676826 100644
--- a/tox.ini
+++ b/tox.ini
@@ -24,11 +24,6 @@ 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