summary refs log tree commit diff
path: root/tox.ini
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-04-12 11:50:11 +0100
committerGitHub <noreply@github.com>2022-04-12 10:50:11 +0000
commit4e1374373857f2f7a911a31c50476342d9070681 (patch)
tree2598ccd20ef83997814faf50173f440bf76bed11 /tox.ini
parentSpecify tls extra for Twisted dependency. (#12444) (diff)
downloadsynapse-4e1374373857f2f7a911a31c50476342d9070681.tar.xz
Poetry: select olddeps using `poetry` (#12407)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini22
1 files changed, 0 insertions, 22 deletions
diff --git a/tox.ini b/tox.ini
index f1c1bcd822..b4ce400edf 100644
--- a/tox.ini
+++ b/tox.ini
@@ -105,29 +105,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 =