summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-03-24 07:35:43 -0400
committerGitHub <noreply@github.com>2021-03-24 07:35:43 -0400
commit83de0be4b0398e94e67c7110d9455db86592ead0 (patch)
tree79742c1ddeae0346033bc352077a4be8c2940468
parentAdd type hints to misc. files. (#9676) (diff)
downloadsynapse-83de0be4b0398e94e67c7110d9455db86592ead0.tar.xz
Bump mypy-zope to 0.2.13. (#9678)
This fixes an error ("Cannot determine consistent method resolution order (MRO)")
when running mypy with a cache.
Diffstat (limited to '')
-rw-r--r--changelog.d/9678.misc1
-rwxr-xr-xsetup.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/9678.misc b/changelog.d/9678.misc
new file mode 100644
index 0000000000..77a2b2d439
--- /dev/null
+++ b/changelog.d/9678.misc
@@ -0,0 +1 @@
+Bump mypy-zope to 0.2.13 to fix "Cannot determine consistent method resolution order (MRO)" errors when running mypy a second time.
diff --git a/setup.py b/setup.py
index b834e4e55b..1939a7b86b 100755
--- a/setup.py
+++ b/setup.py
@@ -103,7 +103,7 @@ CONDITIONAL_REQUIREMENTS["lint"] = [
     "flake8",
 ]
 
-CONDITIONAL_REQUIREMENTS["mypy"] = ["mypy==0.812", "mypy-zope==0.2.11"]
+CONDITIONAL_REQUIREMENTS["mypy"] = ["mypy==0.812", "mypy-zope==0.2.13"]
 
 # Dependencies which are exclusively required by unit test code. This is
 # NOT a list of all modules that are necessary to run the unit tests.