summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Egesdahl <ryan.egesdahl@mongodb.com>2021-01-22 11:05:02 -0800
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-02-18 13:04:16 +0000
commit0e9c675a0f476a9334f36d98a91f23f1cf46d7d5 (patch)
tree47a13632d31a01c2cb596db42e09755d9d49a143
parent9ba0349ccab5635475e9ade549f163cfd2b7b7d9 (diff)
downloadmongo-0e9c675a0f476a9334f36d98a91f23f1cf46d7d5.tar.gz
SERVER-53579 Update mypy version
The version of mypy we were depending on was very old and was causing a version conflict on typed-ast with another module. On newer pip versions, the result was a *very* slow process of walking back compatible versions of multiple packages. This change updates mypy to the latest version available. (cherry picked from commit e4bd2ae1c3e3b9c8acd175472239134ffde891de) (cherry picked from commit 46962af825bc3165055dd75f36933555adc09ce9)
-rw-r--r--buildscripts/linter/mypy.py2
-rw-r--r--etc/pip/components/mypy.req2
2 files changed, 2 insertions, 2 deletions
diff --git a/buildscripts/linter/mypy.py b/buildscripts/linter/mypy.py
index cb6205e5e10..c11e5b3c249 100644
--- a/buildscripts/linter/mypy.py
+++ b/buildscripts/linter/mypy.py
@@ -14,7 +14,7 @@ class MypyLinter(base.LinterBase):
"""Create a mypy linter."""
# User can override the location of mypy from an environment variable.
- super(MypyLinter, self).__init__("mypy", "mypy 0.580", os.getenv("MYPY"))
+ super(MypyLinter, self).__init__("mypy", "mypy 0.800", os.getenv("MYPY"))
def get_lint_version_cmd_args(self):
# type: () -> List[str]
diff --git a/etc/pip/components/mypy.req b/etc/pip/components/mypy.req
index fcf8ad90f2a..a72ccb368b4 100644
--- a/etc/pip/components/mypy.req
+++ b/etc/pip/components/mypy.req
@@ -1,3 +1,3 @@
# Note: This version is checked by python modules in buildscripts/linter/
-mypy == 0.580; python_version > "3.4"
+mypy == 0.800; python_version > "3.5"
typing