From 7533a0bfdbdaa7966fac056fb48d267afdb97d10 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Tue, 8 Jul 2025 15:56:54 +0100 Subject: [PATCH] [ty] Upgrade mypy_primer (#19207) --- crates/ty_python_semantic/resources/primer/bad.txt | 1 + crates/ty_python_semantic/resources/primer/good.txt | 1 + scripts/mypy_primer.sh | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/ty_python_semantic/resources/primer/bad.txt b/crates/ty_python_semantic/resources/primer/bad.txt index 213e5c4dca..8a016e761d 100644 --- a/crates/ty_python_semantic/resources/primer/bad.txt +++ b/crates/ty_python_semantic/resources/primer/bad.txt @@ -20,3 +20,4 @@ spack # slow, success, but mypy-primer hangs processing the output spark # too many iterations steam.py # hangs (single threaded) xarray # too many iterations +zope.interface # https://github.com/astral-sh/ty/issues/764 diff --git a/crates/ty_python_semantic/resources/primer/good.txt b/crates/ty_python_semantic/resources/primer/good.txt index 9a036f3c12..f9c0dbd6b5 100644 --- a/crates/ty_python_semantic/resources/primer/good.txt +++ b/crates/ty_python_semantic/resources/primer/good.txt @@ -1,4 +1,5 @@ AutoSplit +DateType Expression PyGithub PyWinCtl diff --git a/scripts/mypy_primer.sh b/scripts/mypy_primer.sh index 4c45c9d6ee..682ef4cbee 100755 --- a/scripts/mypy_primer.sh +++ b/scripts/mypy_primer.sh @@ -19,7 +19,7 @@ cd .. echo "Project selector: $PRIMER_SELECTOR" # Allow the exit code to be 0 or 1, only fail for actual mypy_primer crashes/bugs uvx \ - --from="git+https://github.com/hauntsaninja/mypy_primer@e5f55447969d33ae3c7ccdb183e2a37101867270" \ + --from="git+https://github.com/hauntsaninja/mypy_primer@59509d48de6da6aaa4e3a2f5e338769bc471f2d7" \ mypy_primer \ --repo ruff \ --type-checker ty \