Description
Repro with e.g. mypy_primer --new 'v1.15' --old 'v1.15' -k vision --debug
:
diff --git a/mypy_primer/projects.py b/mypy_primer/projects.py
index 09c050c..0309cff 100644
--- a/mypy_primer/projects.py
+++ b/mypy_primer/projects.py
@@ -547,7 +547,7 @@ def get_projects() -> list[Project]:
),
Project(
location="https://github.com/pytorch/vision",
- mypy_cmd=None, # "{mypy}",
+ mypy_cmd="{mypy}",
pyright_cmd="{pyright}",
deps=["numpy", "pillow"],
Linking hauntsaninja/mypy_primer#161
Activity
pytorch/vision
diffs hauntsaninja/mypy_primer#161sterliakov commentedon May 21, 2025
One more example with random primer diffs on
xarray
, it only started appearing recently: #19102 (comment)unreachable
,redundant-expr
, andredundant-casts
warnings in loops more robustly and efficiently, and avoid multiplerevealed type
notes for the same line. #19118hauntsaninja commentedon May 23, 2025
xarray might be a newer regression, since I can't repro with a few runs of
mypy_primer --new 'v1.15' --old 'v1.15' -k pydata/xarray --debug --output concise
. I'll try to bisect it latersterliakov commentedon May 23, 2025
hauntsaninja commentedon May 24, 2025
Simple minimised version of torchvision:
Also linking #16979 and #18125
hauntsaninja commentedon May 26, 2025
The vision one will be fixed by #19147
I think something similar will fix xarray. Both of these look like nonassociative issue (not a noncommutative issue!). I will do it in a follow up PR
Fix nondeterministic type checking caused by nonassociativity of joins (
Fix nondeterministic type checking caused by nonassociative of None j…