summary refs log tree commit diff
path: root/tox.ini
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-03-10 14:39:40 +0000
committerDavid Robertson <davidr@element.io>2022-03-29 12:56:26 +0100
commit3dfbeb3e20e09907f6212f38c8e77a2cb6b002a0 (patch)
treeb17de6ef704b14c36a9e5dc2146655c3781aa9c4 /tox.ini
parentAnd try to fix `export-data` (diff)
downloadsynapse-3dfbeb3e20e09907f6212f38c8e77a2cb6b002a0.tar.xz
Try to fix olddeps
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini26
1 files changed, 2 insertions, 24 deletions
diff --git a/tox.ini b/tox.ini
index 8f85d59f42..d3b03e2660 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,13 +2,13 @@
 envlist = py37, py38, py39, py310
 
 # we require tox>=2.3.2 for the fix to https://github.com/tox-dev/tox/issues/208
-minversion = 2.3.2
+minversion = 3.3.0
 
 # 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
-
+isolated_build = true
 [base]
 deps =
     python-subunit
@@ -92,29 +92,7 @@ commands =
 # )
 usedevelop=true
 
-# A test suite for the oldest supported versions of Python libraries, to catch
-# any uses of APIs not available in them.
-[testenv:py3-old]
-skip_install = true
-usedevelop = false
-deps =
-    Automat == 0.8.0
-    lxml
-    # markupsafe 2.1 introduced a change that breaks Jinja 2.x. Since we depend on
-    # Jinja >= 2.9, it means this test suite will fail if markupsafe >= 2.1 is installed.
-    markupsafe < 2.1
-    {[base]deps}
-
-commands =
-    # Make all greater-thans equals so we test the oldest version of our direct
-    # dependencies, but make the pyopenssl 17.0, which can work against an
-    # OpenSSL 1.1 compiled cryptography (as older ones don't compile on Travis).
-    /bin/sh -c 'python -m synapse.python_dependencies | sed -e "s/>=/==/g" -e "/psycopg2/d" -e "s/pyopenssl==16.0.0/pyopenssl==17.0.0/" | xargs -d"\n" pip install'
-
-    # Install Synapse itself. This won't update any libraries.
-    pip install -e ".[test]"
 
-    {[testenv]commands}
 
 [testenv:benchmark]
 deps =