summary refs log tree commit diff
path: root/tox.ini
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2022-02-17 15:55:14 +0000
committerGitHub <noreply@github.com>2022-02-17 15:55:14 +0000
commit6127c4b9f19702909938ddc95b7e4219d20ac349 (patch)
treedc052c84ec7230bd7122b111cd9482ac28ff5be2 /tox.ini
parentRemove support for the legacy structured logging configuration. (#12008) (diff)
downloadsynapse-6127c4b9f19702909938ddc95b7e4219d20ac349.tar.xz
Configure `tox` to use `venv` (#12015)
As the comment says, virtualenv is a pile of fail.
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 32679e9106..2b3d39e034 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,6 +4,11 @@ envlist = packaging, py37, py38, py39, py310, check_codestyle, check_isort
 # we require tox>=2.3.2 for the fix to https://github.com/tox-dev/tox/issues/208
 minversion = 2.3.2
 
+# the tox-venv plugin makes tox use python's built-in `venv` module rather than
+# the legacy `virtualenv` tool. `virtualenv` embeds its own `pip`, `setuptools`,
+# etc, and ends up being rather unreliable.
+requires = tox-venv
+
 [base]
 deps =
     python-subunit