summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2021-10-07 11:43:22 +0100
committerDavid Robertson <davidr@element.io>2021-10-07 11:43:54 +0100
commit3844414952bc6963028594c05a5726bc61ffd0c0 (patch)
tree969324cb702b25ec8edd55cddae5098e25ffc03a
parentpacakge->package, thanks Patrick! (diff)
downloadsynapse-3844414952bc6963028594c05a5726bc61ffd0c0.tar.xz
Bump mypy version and pull in additional stubs
I'm not sure why newer mypy requires these---perhaps it's a consequence
of pulling in a newer mypy-zope?
-rwxr-xr-xsetup.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index e0ba21a68e..cea2e5c406 100755
--- a/setup.py
+++ b/setup.py
@@ -113,11 +113,14 @@ CONDITIONAL_REQUIREMENTS["dev"] = CONDITIONAL_REQUIREMENTS["lint"] + [
 ]
 
 CONDITIONAL_REQUIREMENTS["mypy"] = [
-    "mypy==0.812",
-    "mypy-zope==0.2.13",
+    "mypy>=0.812",
+    "mypy-zope>=0.2.13",
+    "types-bleach>=4.1.0",
     "types-jsonschema>=3.2.0",
-    "types-pyOpenSSL>=20.0.7",
     "types-Pillow>=8.3.4",
+    "types-pyOpenSSL>=20.0.7",
+    "types-PyYAML>=5.4.10",
+    "types-setuptools>=57.4.0",
 ]
 
 # Dependencies which are exclusively required by unit test code. This is