From 40dde705ca866a8a8fc9d4f58b88cbada04025bf Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Fri, 19 Mar 2021 14:36:36 +0000 Subject: [PATCH] Cap mypy tests at twisted==20.3.0 --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tox.ini b/tox.ini index db751b5b4c..adb0374f32 100644 --- a/tox.ini +++ b/tox.ini @@ -157,6 +157,9 @@ commands= [testenv:mypy] deps = {[base]deps} + # Type hints are broken with Twisted > 20.3.0, see https://github.com/matrix-org/synapse/issues/9513 + # TODO: Remove after merging in the fixes from mainline + twisted==20.3.0 extras = all,mypy commands = mypy