diff --git a/conformance/results/mypy/version.toml b/conformance/results/mypy/version.toml index e62868b9..aa90cb33 100644 --- a/conformance/results/mypy/version.toml +++ b/conformance/results/mypy/version.toml @@ -1,2 +1,2 @@ version = "mypy 1.11.2" -test_duration = 12.7 +test_duration = 1.9 diff --git a/conformance/results/pyre/version.toml b/conformance/results/pyre/version.toml index 4c6e1161..f4f08845 100644 --- a/conformance/results/pyre/version.toml +++ b/conformance/results/pyre/version.toml @@ -1,2 +1,2 @@ version = "pyre 0.9.22" -test_duration = 4.6 +test_duration = 4.5 diff --git a/conformance/results/pytype/version.toml b/conformance/results/pytype/version.toml index 9e64b77f..19259c3a 100644 --- a/conformance/results/pytype/version.toml +++ b/conformance/results/pytype/version.toml @@ -1,2 +1,2 @@ version = "pytype 2024.09.13" -test_duration = 34.1 +test_duration = 32.8 diff --git a/conformance/results/results.html b/conformance/results/results.html index 4a674700..cffa1e37 100644 --- a/conformance/results/results.html +++ b/conformance/results/results.html @@ -159,16 +159,16 @@

Python Type System Conformance Test Results

 
mypy 1.11.2
-
12.7sec
+
1.9sec
pyright 1.1.384
1.3sec
pyre 0.9.22
-
4.6sec
+
4.5sec
pytype 2024.09.13
-
34.1sec
+
32.8sec
diff --git a/conformance/src/type_checker.py b/conformance/src/type_checker.py index 90e9f397..c8955c0f 100644 --- a/conformance/src/type_checker.py +++ b/conformance/src/type_checker.py @@ -85,6 +85,11 @@ def install(self) -> bool: [sys.executable, "-m", "pip", "install", "mypy"], check=True, ) + + # Run "mypy --version" to ensure that it's installed and to work + # around timing issues caused by malware scanners on some systems. + self.get_version() + return True except CalledProcessError: print("Unable to install mypy")