diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-04-25 15:11:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-25 15:11:27 +0100 |
commit | 2ebf7d56faa4129568164b8052f71e07c7e1b6a0 (patch) | |
tree | bba2cf5f331ccd0cf15465b6b86d0e6065ff981b | |
parent | Fix handling of SYNAPSE_NO_TLS in docker image (#5005) (diff) | |
parent | Changelog (diff) | |
download | synapse-2ebf7d56faa4129568164b8052f71e07c7e1b6a0.tar.xz |
Merge pull request #5098 from matrix-org/rav/fix_pep_517
Workarounds for pep-517 errors
-rw-r--r-- | README.rst | 4 | ||||
-rw-r--r-- | changelog.d/5098.misc | 1 | ||||
-rw-r--r-- | tox.ini | 5 |
3 files changed, 8 insertions, 2 deletions
diff --git a/README.rst b/README.rst index 24afb93d7d..5409f0c563 100644 --- a/README.rst +++ b/README.rst @@ -173,7 +173,7 @@ Synapse offers two database engines: * `PostgreSQL <https://www.postgresql.org>`_ By default Synapse uses SQLite in and doing so trades performance for convenience. -SQLite is only recommended in Synapse for testing purposes or for servers with +SQLite is only recommended in Synapse for testing purposes or for servers with light workloads. Almost all installations should opt to use PostreSQL. Advantages include: @@ -272,7 +272,7 @@ to install using pip and a virtualenv:: virtualenv -p python3 env source env/bin/activate - python -m pip install -e .[all] + python -m pip install --no-pep-517 -e .[all] This will run a process of downloading and installing all the needed dependencies into a virtual env. diff --git a/changelog.d/5098.misc b/changelog.d/5098.misc new file mode 100644 index 0000000000..9cd83bf226 --- /dev/null +++ b/changelog.d/5098.misc @@ -0,0 +1 @@ +Add workarounds for pep-517 install errors. 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 |